Mistral API error
Mistral 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
A billing condition on your Organization blocks the request.
Causes
- The prepaid credit balance has reached zero
- The Organization or Workspace monthly spending limit is reached
- Included monthly usage is exhausted and pay-as-you-go is not enabled
- A recent invoice payment failed
How to fix it
- Fix 1.
Follow the link in the error message. To add credits, update your payment method, or change the Organization spending limit, open Admin Panel > Subscriptions > Billing.
More Mistral API errors
All 11 Mistral API errorsHTTP 402 at other providers
402 billing_errorRetry? Not statedAnthropic API402 Payment RequiredRetry? Not statedCohere API402 - Insufficient BalanceRetry? Not statedDeepSeek API402 payment_requiredRetry? NoGemini API402 RESOURCE_EXHAUSTEDRetry? NoGemini API402 payment_requiredRetry? NoOpenRouter402 in_flight_budget_exhaustedRetry? YesOpenRouter402 weight_exceeds_budgetRetry? NoOpenRouter
FAQ
What does the Mistral API error "402 Payment required" mean?
A billing condition on your Organization blocks the request.
How do I fix Mistral API "402 Payment required"?
Follow the link in the error message. To add credits, update your payment method, or change the Organization spending limit, open Admin Panel > Subscriptions > Billing.
Should I retry Mistral 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), Cohere API (402 Payment Required), DeepSeek API (402 - Insufficient Balance), Gemini API (402 payment_required; 402 RESOURCE_EXHAUSTED), OpenRouter (402 payment_required; 402 in_flight_budget_exhausted; 402 weight_exceeds_budget).
Sources
Last verified against 1 source: Mistral API's official docs and official SDK repositories.
- docs.mistral.aihttps://docs.mistral.ai/resources/error-glossary
Newsletter
Know when the APIs change
One email per week. New model releases, API changes, what broke, and how developers are working around it.