> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-docs-1917.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# API error code 402 - You exceeded your current quota

A 402 error with the message "You exceeded your current quota, please check your plan and billing details" means you've run out of credits or reached your monthly spending cap.

## Why this happens

Serverless Inference uses a credit-based system. This error occurs when:

* Your account has no remaining credits
* You've reached the monthly spending cap set for your organization

## What you can do

1. **Check your plan and billing details**
   * Review your current usage and remaining credits in your W\&B account settings

2. **Get more credits**
   * Purchase additional credits or upgrade your plan

3. **Increase your limits**
   * Adjust your monthly spending cap if one is configured

For more information, see [Usage information and limits](/inference/usage-limits/).

***

<Badge stroke shape="pill" color="orange" size="md">[Quotas & Rate Limits](/support/inference/tags/quotas-rate-limits)</Badge><Badge stroke shape="pill" color="orange" size="md">[Billing](/support/inference/tags/billing)</Badge>
