Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Cohere API error

Cohere API 402 Payment Required: what it means and how to fix it

Error message
402 Payment Required

Retry? 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

  1. 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

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.

Newsletter

Know when the APIs change

One email per week. New model releases, API changes, what broke, and how developers are working around it.