# AI credits

> Canonical: https://skillalmanac.com/glossary/ai-credits | Last verified: 2026-11-24 | Index status: not offered to search engines

AI credits are a prepaid balance that an AI service draws down as you use it, for example API calls billed per token. When the balance runs out, access can stop until you add more.

Also called: AI credit, API credits, credits for AI tools, prepaid credits, usage credits, credit balance.

## In plain language

AI credits work like a prepaid card for an AI service. You add money to a balance, and each request you send takes a little off it. Anthropic's help center says API and playground usage is billed through prepaid usage credits, and that API access stops until more are added if the balance runs out. OpenAI's help center says its prepaid balance decreases as you use the API. Credits can also expire, so a large top-up is not a safe way to save money for later. Check the vendor's rules on expiry and refunds before you buy a lot.

## Technical definition

A credit is a unit of prepaid balance debited by metered usage. For model APIs the meter is tokens: each request is rated at the model's per-token rates and the cost is subtracted from the balance. Anthropic's help center describes prepaid usage credits for API and playground use, with optional auto-reload below a threshold and an expiry period for purchased credits. OpenAI's help center describes a prepaid balance that decreases with API use and returns a billing error when it is exhausted, and warns that access may not stop instantly. Cursor's documentation describes prepaid credit for usage beyond a plan's included pool. Credits in a subscription product are separate from API credits.

## How it shows up when you use agents

Credits appear when an agent talks to a model through an API key rather than a chat plan. Each tool call and file read adds [tokens](/glossary/token) to the next request, so a long agent session can use a balance faster than a short chat. Anthropic's help center says prepaid credits cover API and playground use, and that monthly API credits cannot be used in Claude Code. It also says that when the balance runs out, access stops until more credits are added.

Plans can use credits too. Cursor's documentation describes prepaid credit as a way to pay for usage beyond a plan's included pool. See [Usage limits](/glossary/usage-limits) for the plan side.

What breaks when this is misunderstood: a stalled overnight run, or credits that lapse unused. Two next actions help. Set up the vendor's low-balance alert or auto-reload if it offers one, and read the expiry rule before topping up. In Claude Code, `/usage` shows plan usage and session token use.

## Common confusions

- **Credits versus a subscription.** A subscription is a recurring plan with an allowance. Credits are a balance you spend. See [AI subscription](/glossary/ai-subscription).
- **API credits versus plan credits.** Anthropic's help center says monthly API credits included with some plans cannot be used in Claude Code or the Claude apps, so the two pools stay separate.
- **Credits versus tokens.** A token is a unit of text the model processes. A credit is money in your balance. Tokens used are priced, and the price is subtracted from the credits.
- **Myth.** Credits do not necessarily last forever. OpenAI's and Anthropic's help centers both state an expiry period for purchased credits.

## Worked examples in this catalogue

### [Claude Code Pricing: What Drives Cost and Plan Options](https://skillalmanac.com/learn/claude-code-pricing-explained)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: The guide describes three billing paths for Claude Code: plans with an allowance, seat allowances with optional usage credits beyond them, and per-token API billing.

Why it exercises the concept: It shows where credits fit next to plan allowances, which is the usual place readers meet the word.

### [agent-session-cost-review](https://skillalmanac.com/skills/skill-almanac/agent-session-cost-review)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A report of where a coding-agent session spent its tokens, built by parsing the saved session transcript with a script.

Why it exercises the concept: Credits are spent by tokens, so a report of where tokens went tells you what drained the balance.

### [Claude Code](https://skillalmanac.com/tools/claude-code)

```
/usage
```

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Claude Code shows plan usage and the token use of the current session. /cost is an alias of /usage.

Why it exercises the concept: It is the in-session place to watch usage that credits or a plan allowance will pay for.

## Related terms

- [AI subscription](https://skillalmanac.com/glossary/ai-subscription.md)
- [Usage limits](https://skillalmanac.com/glossary/usage-limits.md)
- [Token](https://skillalmanac.com/glossary/token.md)
- [Rate limit](https://skillalmanac.com/glossary/rate-limit.md)
- [Inference](https://skillalmanac.com/glossary/inference.md)
- [Free tier](https://skillalmanac.com/glossary/free-tier.md)

## Sources

- [How do I pay for my Claude API usage?](https://support.claude.com/en/articles/8977456-how-do-i-pay-for-my-claude-api-usage), Anthropic (Claude Help Center) (accessed 2026-11-24)
- [How can I set up prepaid billing?](https://help.openai.com/en/articles/8264644-how-can-i-set-up-prepaid-billing), OpenAI Help Center (accessed 2026-11-24)
- [Pricing](https://cursor.com/docs/account/pricing), Cursor Docs (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-24. [Glossary index](https://skillalmanac.com/glossary.md).
