Error codes

cost_ceiling_exceeded

HTTP 429 · Cost Ceiling Exceeded

A spend limit that covers this request has been reached.

What it means

The tenant, or the API key, has a daily or monthly spend limit, and its recorded spend has reached it. Requests are refused until the period resets at midnight UTC (daily) or on the first of the month (monthly), or an operator raises the limit. When a spend limit refused the request, the response names the limit's scope and period and when it resets, but not the amounts. A tenant policy can also refuse with this code; that response carries no reset time.

What to do

Wait for the reset time in the response, or ask your operator whether the limit should be raised. This is not a transient error: retrying before the reset will not succeed.

In the response

type
https://ordrik.ai/errors/cost_ceiling_exceeded
code
cost_ceiling_exceeded
status
HTTP 429
title
Cost Ceiling Exceeded
request_id
Identifies the request, when the response has one. Quote it when you ask your operator about an error.

Headers

Retry-After
When a spend limit refused the request, the number of seconds until it resets.