<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FoundationModels",
  "identifier" : "/documentation/FoundationModels/PrivateCloudComputeLanguageModel",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Foundation Models"
    ],
    "preciseIdentifier" : "s:16FoundationModels32PrivateCloudComputeLanguageModelC"
  },
  "title" : "PrivateCloudComputeLanguageModel"
}
-->

# PrivateCloudComputeLanguageModel

A variant of Apple Foundation Models that runs on Private Cloud Compute to provide enhanced
capabilities while maintaining privacy guarantees.

```
final class PrivateCloudComputeLanguageModel
```

## Overview

To use the server-based model that powers Apple Intelligence, you change a single line of code
that you apply when creating your [`LanguageModelSession`](/documentation/FoundationModels/LanguageModelSession).

```swift
// Create a session with the server-side model.
let session = LanguageModelSession(model: PrivateCloudComputeLanguageModel())
let response = try await session.respond(to: "Analyze this document...")
```

Before using the model, verify its availability. Model availability depends on whether the device and
region supports Apple Intelligence. For a list of supported devices,
see [Apple Intelligence](https://www.apple.com/apple-intelligence/).

> Important: To develop with PCC you must meet certain eligibility requirements. To learn more and
> request access to the managed entitlement, see
> [Accessing Private Cloud Compute](https://developer.apple.com/private-cloud-compute/).

## Topics

### Creating an instance

[`init()`](/documentation/FoundationModels/PrivateCloudComputeLanguageModel/init())

Creates a Private Cloud Compute language model instance.

### Inspecting the availability

[`isAvailable`](/documentation/FoundationModels/PrivateCloudComputeLanguageModel/isAvailable)

A Boolean value that indicates whether the system is entirely ready.

[`availability`](/documentation/FoundationModels/PrivateCloudComputeLanguageModel/availability-swift.property)

The availability of the language model.

[`PrivateCloudComputeLanguageModel.Availability`](/documentation/FoundationModels/PrivateCloudComputeLanguageModel/Availability-swift.enum)

The availability status for a specific PCC language model.

### Getting the quota

[`quotaUsage`](/documentation/FoundationModels/PrivateCloudComputeLanguageModel/quotaUsage-swift.property)

The usage quota for this model.

[`PrivateCloudComputeLanguageModel.QuotaUsage`](/documentation/FoundationModels/PrivateCloudComputeLanguageModel/QuotaUsage-swift.struct)

The usage quota state for a Private Cloud Compute language model.

### Accessing the context size

[`contextSize`](/documentation/FoundationModels/PrivateCloudComputeLanguageModel/contextSize)

The maximum context size in tokens supported by the model.

### Handling language and locales

[`supportedLanguages`](/documentation/FoundationModels/PrivateCloudComputeLanguageModel/supportedLanguages)

Languages that the model supports.

[`supportsLocale(_:)`](/documentation/FoundationModels/PrivateCloudComputeLanguageModel/supportsLocale(_:))

Returns a Boolean value that indicates whether the given locale is supported by the model.

### Accessing the error

[`PrivateCloudComputeLanguageModel.Error`](/documentation/FoundationModels/PrivateCloudComputeLanguageModel/Error)

Errors that may occur when using Private Cloud Compute.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)