Cohere API error
Cohere API 402 Payment Required: what it means and how to fix it
402 Payment RequiredRetry? Not statedLast verified 1 documented fix1 source
What it means
402 responses are sent when the account has reached its billing limit.
Causes
- Missing or outdated payment method
- Maximum billing amount set in the dashboard for the API key has been reached; billing capacity resets at the beginning of next month
How to fix it
- Fix 1.
Add or update a payment method at https://dashboard.cohere.com/billing?tab=payment, or increase the maximum billing amount for the API key there.
More Cohere API errors
HTTP 402 at other providers
402 billing_errorRetry? Not statedAnthropic API402 - Insufficient BalanceRetry? Not statedDeepSeek API402 payment_requiredRetry? NoGemini API402 RESOURCE_EXHAUSTEDRetry? NoGemini API402 Payment requiredRetry? Not statedMistral API402 payment_requiredRetry? NoOpenRouter402 in_flight_budget_exhaustedRetry? YesOpenRouter402 weight_exceeds_budgetRetry? NoOpenRouter
FAQ
What does the Cohere API error "402 Payment Required" mean?
402 responses are sent when the account has reached its billing limit.
How do I fix Cohere API "402 Payment Required"?
Add or update a payment method at https://dashboard.cohere.com/billing?tab=payment, or increase the maximum billing amount for the API key there.
Should I retry Cohere API "402 Payment Required"?
Not stated. The official docs do not say whether this error is retryable.
Which other AI APIs return HTTP 402?
Per their official error docs: Anthropic API (402 billing_error), DeepSeek API (402 - Insufficient Balance), Gemini API (402 payment_required; 402 RESOURCE_EXHAUSTED), Mistral API (402 Payment required), OpenRouter (402 payment_required; 402 in_flight_budget_exhausted; 402 weight_exceeds_budget).
Sources
Last verified against 1 source: Cohere API's official docs and official SDK repositories.
- docs.cohere.comhttps://docs.cohere.com/reference/errors
Newsletter
Know when the APIs change
One email per week. New model releases, API changes, what broke, and how developers are working around it.