# ai_project_cap_reached

HTTP 429 · AI gateway (SPEC §14.2)

This project reached its AI spend cap. Raise the cap in settings or wait for the next period.

## Does retrying help?

Yes, after waiting. Send the same request again once the wait in the message has passed (the `Retry-After` header says how long, when there is one).

## The response

Every Flatstack error has this shape. `details`, when present, says more about this case.

```json
{
  "error": {
    "code": "ai_project_cap_reached",
    "message": "This project reached its AI spend cap. Raise the cap in settings or wait for the next period.",
    "docsUrl": "https://flatstack.dev/docs/errors/ai_project_cap_reached"
  }
}
```

[All error codes](/docs/errors)