<!--
{
  "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/LanguageModelError/rateLimited(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Foundation Models"
    ],
    "preciseIdentifier" : "s:16FoundationModels18LanguageModelErrorO11rateLimitedyA2C04RateG0VcACmF"
  },
  "title" : "LanguageModelError.rateLimited(_:)"
}
-->

# LanguageModelError.rateLimited(_:)

The session has been rate limited.

```
case rateLimited(LanguageModelError.RateLimited)
```

## Discussion

This failure can happen if you make too many requests in a short window.
You can recover from this error by spacing your requests or reducing system load. The
exact solution may be model dependent.

---

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)