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.
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 · Prompt caching · Model routing

Sources

Definition updated 2026-10-29.

The Ultimate AI Glossary (2027): every term