Rates
Each model carries three rates per million tokens: input, cached input and output. Cached input is a subset of input rather than an addition to it, so a request is charged the input rate forprompt_tokens - cached_tokens, the cached rate for cached_tokens, and the
output rate for completion_tokens.
Running out
At a zero balance, requests return 402 with codeinsufficient_quota and x-should-retry: false. Top up from the Billing page, between $5 and $5,000 a purchase.