If you’ve ever opened an API bill and thought “wait, why is this so much higher than I expected,” you’re in good company. AI pricing looks simple on the surface, but it hides a few quirks that catch almost everyone off guard the first time.
Tokens, not words
Here’s the first thing that trips people up. AI providers don’t charge per word. They charge per token, and a token is roughly four characters, or about three quarters of a word in English. A word like “hamburger” might get split into two or three separate tokens depending on the model, while short common words like “the” usually stay whole.
Why does this matter? Because it means your bill isn’t tied to something intuitive like word count. It’s tied to how a specific model happens to slice up your text, and that slicing works differently from provider to provider. We go deeper into exactly how that splitting works in How AI Models Actually Read Your Text, if you want the full picture.
Input costs less than output, usually by a lot
Nearly every provider charges more for what the model generates than for what you send it. Sometimes it’s double, sometimes five times as much. This is part of why a chatbot that writes long, detailed responses racks up costs faster than one you’re mostly using to summarize or extract short answers from documents you provide.
If you’re building something where the model talks a lot, keep an eye on this ratio. It usually matters more than people expect going in.
Not all models are priced the same, even from one company
Most providers give you a lineup to choose from. OpenAI has its flagship GPT models alongside smaller, faster mini versions. Anthropic has Claude Opus at the top end and Haiku for speed and volume. Google does something similar with Gemini Pro and Flash.
The tempting move is to reach for the biggest, smartest model by default. But a lot of everyday tasks, classification, tagging, short rewrites, don’t actually need that much horsepower. Picking the right tier for the job is honestly one of the easiest ways to cut your bill without losing quality where it counts. We cover more cost-cutting habits like this in 10 Ways to Actually Cut Your AI API Costs.
Why the same prompt costs different amounts on different platforms
Two things stack together here. First, each provider just sets its own price per token. Second, and this part surprises people, each provider’s tokenizer counts your text differently in the first place. So even before you get to pricing, the raw token count for the exact same sentence can vary between GPT and Claude and Gemini. For a full side-by-side breakdown, check out GPT vs Claude vs Gemini: What Actually Costs More.
This is exactly the problem we built How Many Tokens to solve. Paste your text into our calculator, and you’ll see the token count and estimated cost across 45+ models side by side, so you’re comparing real numbers instead of guessing.
The takeaway
Once you understand tokens, input versus output pricing, and how tokenizers differ, AI costs stop feeling random. Check your numbers before you scale a feature, and you’ll avoid most of the surprises that catch people off guard. If you’ve still got questions after all this, our FAQ page covers a lot of the common ones.