# Token pricing

> Token pricing is the usage-based billing model most AI model providers use, charging per number of tokens sent to and generated by the model, usually with separate rates for input and output and different rates for each model.

Also called: per-token pricing, pay per token, API pricing, LLM pricing, token costs. Category: Pricing and contracts. Source: https://aibuildindex.com/glossary/token-pricing

## In the index

- AI API integration: median $2,500, middle half $500 to $6,400, 1,993 priced briefs (https://aibuildindex.com/cost/ai-api-integration)
- OpenAI: median $2,000, middle half $400 to $6,800, 3,445 priced briefs (https://aibuildindex.com/tools/openai)
- Claude: median $3,700, middle half $780 to $9,600, 3,745 priced briefs (https://aibuildindex.com/tools/claude)

When a business build calls a hosted language model, it pays for usage, and the unit of usage is the [token](https://aibuildindex.com/glossary/token). Every request is metered: the tokens in the prompt and the tokens in the response. Rates differ widely between models, so the same task can cost very different amounts depending on which model handles it and how much text is sent. Token pricing is why AI running costs behave differently from ordinary software subscriptions, and why they are hard to estimate without testing on real traffic.

## In practice

Most providers publish rates per million tokens, with a few common features:

- **Input and output are priced separately**, and output is generally more expensive.
- **Larger, more capable models cost more** than smaller, faster ones from the same provider.
- **Discounts exist** for cached input through [prompt caching](https://aibuildindex.com/glossary/prompt-caching) and for [batch processing](https://aibuildindex.com/glossary/batch-processing).
- **Some inputs count differently**, such as images, audio and the hidden working of [reasoning models](https://aibuildindex.com/glossary/reasoning-model).

Prices change over time and vary by provider and region, so any estimate should name its source and date.

To estimate running costs, a builder works out the tokens per task, multiplies by expected volume and applies the rates. A support assistant that sends a long system prompt, several retrieved articles and the conversation history with every reply uses far more input tokens than the customer's short question suggests, and that context is often the largest share of the bill.

## What it means for cost

Token pricing affects running costs, not the build price, though design decisions made during the build determine it. The main levers are:

- **Model choice per step**, using cheaper models where quality allows, often through [model routing](https://aibuildindex.com/glossary/model-routing).
- **Prompt length**, trimming instructions, history and retrieved context.
- **Caching and batching** where traffic patterns allow.
- **Output length**, asking for concise answers or [structured output](https://aibuildindex.com/glossary/structured-output) instead of prose.

Note that the figures on this index exclude a tool's own usage fees, so model costs come on top of build budgets. Ask a builder for a per-task token estimate, the assumptions behind it, and how usage will be monitored after launch so surprises are caught early.

## Common questions

### How can I estimate the monthly token cost of an AI tool?

Run the tool on a realistic sample of tasks, record the tokens used per task, multiply by expected monthly volume and apply the provider's current rates. Add headroom for growth and retries, and recheck after the first month of real use.

### Why is output more expensive than input?

Generating output happens one token at a time and takes more computation than reading input, which providers reflect in pricing. Tasks that produce long answers therefore cost more than tasks that return short labels.

### Will token prices keep falling?

Prices for a given level of capability have tended to fall as models become more efficient, but newer, more capable models often launch at higher rates. Builds that can switch models easily are best placed to benefit.

## Related terms

- [Token](https://aibuildindex.com/glossary/token): A token is the small unit of text, often a word or part of a word, that a language model reads and writes, and the unit that most AI providers use to measure and bill usage.
- [Usage-based pricing](https://aibuildindex.com/glossary/usage-based-pricing): Usage-based pricing is a way of charging where the bill rises and falls with how much a service is used, such as tokens processed, minutes of voice, tasks run or documents handled, instead of a flat fee.
- [Running costs](https://aibuildindex.com/glossary/running-costs): Running costs are the ongoing charges of keeping an AI or automation system working after launch, such as model usage, platform subscriptions, hosting, telephony or messaging fees, monitoring and routine support.
- [Prompt caching](https://aibuildindex.com/glossary/prompt-caching): Prompt caching is a provider feature that stores the processed form of a repeated opening section of a prompt, such as long instructions or a reference document, so later requests that reuse it are cheaper and faster.
- [Batch processing](https://aibuildindex.com/glossary/batch-processing): Batch processing is running a large set of AI requests together as a background job rather than one at a time in real time, which suits work that can wait and is often cheaper through providers' batch services.
- [Model routing](https://aibuildindex.com/glossary/model-routing): Model routing is the practice of sending each AI request to the most suitable model, for example a cheap, fast model for simple tasks and a more capable one for hard cases, based on rules or a classifier.
