# Cost per token

Canonical page: https://www.theglitch.ai/ai-glossary/cost-per-token

How AI APIs charge: a price per million tokens in and a usually higher price per million tokens out.

[Cost per token, common card \#066 in The Glitch AI glossary: How AI APIs charge: a price per million tokens in and a usually higher price per million tokens out.](https://www.theglitch.ai/images/cards/glossary/cost-per-token.png?v=5827868c9846a590)

GLS 066 · common

Also called: Token pricing.

For: Builders · Leaders

## Why it matters

It turns prompt length and answer length into money; long contexts and chatty answers add up.

## In practice

Trimming a 4,000-token instruction block to 800 tokens cuts the input bill by four fifths.

## Watch for

Reasoning models also bill their thinking tokens; check before switching.

## Related terms

[Token](https://www.theglitch.ai/ai-glossary/token) · [Prompt caching](https://www.theglitch.ai/ai-glossary/prompt-caching) · [Model routing](https://www.theglitch.ai/ai-glossary/model-routing)

## Sources

- [Anthropic: Pricing](https://www.anthropic.com/pricing)

Definition updated 2026-10-29.

[The Ultimate AI Glossary (2027): every term](https://www.theglitch.ai/ai-glossary)

---

Site: [The Glitch](https://www.theglitch.ai) · [About Rabin](https://www.theglitch.ai/about) · [Agent guide](https://www.theglitch.ai/agent.md)
