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

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.