<!--
{
  "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/Error/QuotaLimitReached",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation Models",
      "FoundationModels"
    ],
    "preciseIdentifier" : "s:16FoundationModels32PrivateCloudComputeLanguageModelC5ErrorO17QuotaLimitReachedV"
  },
  "title" : "PrivateCloudComputeLanguageModel.Error.QuotaLimitReached"
}
-->

# PrivateCloudComputeLanguageModel.Error.QuotaLimitReached

Information about reaching a usage limit.

```
struct QuotaLimitReached
```

## Overview

A [`PrivateCloudComputeLanguageModel`](/documentation/FoundationModels/PrivateCloudComputeLanguageModel)  provides a [`LanguageModelError`](/documentation/FoundationModels/LanguageModelError) that
you use to proactively respond to usage quota scenarios, like when a person is approaching their
per-day request limit. When a person approaches or exceeds the daily quota, the framework
provides a direct path for you to add system UI so the person can subscribe to iCloud+ to get
more access.

For more information about quota limits, see “Handle usage limits from using PCC”
in [Adding server-side intelligence with Private Cloud Compute](/documentation/FoundationModels/adding-server-side-intelligence-with-private-cloud-compute).

## Topics

### Creating a quota reached error

[`init(limitIncreaseSuggestion: PrivateCloudComputeLanguageModel.QuotaUsage.LimitIncreaseSuggestion?, resetDate: Date?, debugDescription: String)`](/documentation/FoundationModels/PrivateCloudComputeLanguageModel/Error/QuotaLimitReached/init(limitIncreaseSuggestion:resetDate:debugDescription:))

Creates a quota limit reached instance.

### Inspecting a quota reached error

[`var limitIncreaseSuggestion: PrivateCloudComputeLanguageModel.QuotaUsage.LimitIncreaseSuggestion?`](/documentation/FoundationModels/PrivateCloudComputeLanguageModel/Error/QuotaLimitReached/limitIncreaseSuggestion)

A suggestion to increase the usage limit, if one exists.

[`var resetDate: Date?`](/documentation/FoundationModels/PrivateCloudComputeLanguageModel/Error/QuotaLimitReached/resetDate)

The date that the usage limit resets.

### Getting the error description

[`var debugDescription: String`](/documentation/FoundationModels/PrivateCloudComputeLanguageModel/Error/QuotaLimitReached/debugDescription)

A debug description of the usage limit.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

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)