You pay for every token the model reads and every token it writes, and in a chat it rereads the whole conversation on every turn. So the savings come from four places: send less, ask for less back, use the smallest model that does the job, and, if you're on the API, let caching and batch discounts cover the parts that repeat.

Here's how each of those works, with habits you can start using today. One note before the numbers: the price ratios in this guide are from November 2026. Prices change, so check your provider's pricing page before you plan around them.

What a token actually is

A token is a chunk of text the model works in. It can be a single character, part of a word, a whole word or a punctuation mark.

For English, a rough rule of thumb: one token is about four characters, and 100 tokens is somewhere around 60 to 80 words. That rule is only for English. Other languages can split differently, and the same text can come out as a different number of tokens on different models, even models from the same company.

So if a number matters, count it instead of guessing. The big providers have tokenizer tools or token-counting endpoints for exactly this, and some of them let you count tokens for free before you send anything.

How you're billed: input, output and cached input

On a pay-per-token API, a request has a few price lines:

  • Input: everything you send. Your message, the instructions, any files or pasted text, and the earlier conversation.
  • Output: everything the model writes back.
  • Cached input: input the provider has already processed recently and can reuse. It's billed at a much lower rate than normal input.

Output is the expensive part. On the big API providers' price lists, an output token costs several times as much as an input token.

One catch with reasoning or "thinking" models: the thinking they do before answering is billed as output too, even though you don't see it as answer text. A short visible reply can still use a lot of output tokens.

An API pricing table with separate columns for input, cached input and output prices per million tokens.Screenshot: Sidequest Journal

Why long chats get expensive

Every time you send a new message, the earlier turns of the chat go along with it and get processed again. On the API, all of those earlier tokens are billed as input every time.

Illustrative example (round numbers, not a measurement): say each back-and-forth adds about 500 tokens to a chat. Your 20th question then carries 19 × 500 = 9,500 tokens of earlier conversation with it. Add up the history resent across all 20 turns and you get 500 × (0 + 1 + … + 19) = 500 × 190 = 95,000 tokens. Do the same work as two separate 10-turn chats and the resent history drops to 2 × 500 × 45 = 45,000 tokens.

On some models, a very long prompt can also push the request into a higher per-token price tier. And on chat subscriptions, how fast you hit your usage limit depends partly on how long your chats are.

What to do about it:

  • Start a new chat when you change topics.
  • When a long chat has done its job, ask for a short summary, then start fresh with just that summary.
  • Don't keep huge pasted documents in a chat that has moved on to something else.

Use the smallest model that does the job

Model lineups have a big price spread. In some major lineups, the cheapest model costs around a hundred times less per token than the flagship.

Plenty of everyday tasks don't need the flagship: sorting, tagging, reformatting, short summaries, pulling fields out of text, simple rewrites. Try those on a small model first and only step up when the results aren't good enough.

One thing to keep in mind: a lower price per token doesn't always mean a lower total bill. Models can split the same text into different numbers of tokens, and some write much longer answers or think longer than others. Compare what a whole task costs, not just the price per million tokens.

Trim what you send

Every token you send is a token you pay for, on every turn it stays in the chat.

  • Paste the part that matters, not the whole document. If you only need feedback on one section, send that section.
  • Cut repeated context. If something is already in the chat, point back to it instead of pasting it again.
  • Summarize or clean up long input before sending it: strip boilerplate, signatures, logs you don't need, duplicate quotes.
  • Put related questions in one message instead of sending them one by one. Each separate message resends the context again.
  • Read your prompt once before sending. A clear first message saves the follow-up turns a vague one causes.

Ask for less output

Since output costs the most per token, it's worth steering:

  • Ask for the format you actually want: "three bullet points", "just the code", "one paragraph".
  • Ask for the changed lines only, not the whole file or the whole essay rewritten.
  • On the API, set a maximum output length for the request so a reply can't run away.

Write your instructions once

If you keep pasting the same "you are…, write in this style, use this format" block into every chat, stop retyping it.

In chat apps, use projects or saved custom assistants. You set it up once, and you're not pasting it fresh every time. In some chat apps, documents you add to a project are cached and count less against your usage limits when you reuse them. That cache expires after a period of inactivity, so the first message after a long break counts the content in full again.

On the API, keep your instructions in a fixed system or developer message at the very start of every request, word for word the same each time. That keeps the start of your prompt identical across requests, which is exactly what caching needs.

Prompt caching: pay less for the part that repeats

Prompt caching lets the provider reuse work on the start of a prompt it has seen recently. When a new request begins with the exact same prefix, that part is billed at the cached input rate instead of the normal one.

The numbers:

  • Cache reads cost a tenth of the normal input rate or less on the big providers' main models.
  • Cache writes can cost more than normal input the first time. Where that applies, the default short-lived cache is 1.25× normal input, so with that default, caching pays off as soon as the same prefix gets reused once.
  • Longer cache lifetimes cost more to write, so they need more reuse to pay off. A 2× write with a 0.1× read only starts saving after two reads: 2 + 0.1 + 0.1 = 2.2× against 3× uncached. A 2.5× write loses money if the prefix is read just once: 2.5 + 0.1 = 2.6× against 2× uncached. Pick a long cache for content you'll reuse more than once or twice over a longer gap.

How to get cache hits:

  • Static first, changing last. Instructions, tool definitions, reference documents and examples go at the start. The user's new question goes at the end. If anything early in the prompt changes, everything after it misses the cache.
  • Keep it identical. Not "about the same". One changed word, a new date stamp or a reordered list near the top breaks the match.
  • Reuse it quickly. Caches are short-lived by default, minutes rather than hours, so they pay off most for frequent requests.
  • Know the minimum. Very short prompts don't get cached at all. Depending on the model, the minimum is somewhere between about 500 and 4,000 tokens.

Some providers cache automatically, others need you to switch it on or mark what to cache. Check your provider's docs and your usage stats to see whether you're actually getting hits.

Illustrative example (made-up price): say your instructions are 10,000 tokens, you send 10 requests that each start with them, and normal input costs an illustrative $1.30 per million tokens. Without caching, that's 10 × 10,000 = 100,000 tokens, or $0.13. With the short default cache (1.25× write, 0.1× read), the first request costs 10,000 × 1.25 = 12,500 tokens' worth ($0.01625) and the other nine cost 9 × 10,000 × 0.1 = 9,000 tokens' worth ($0.0117). That's $0.02795 in total, about a fifth of the uncached cost, assuming every request lands while the cache is still alive.

Batch: half price if you can wait

If you don't need the answer right away, batch processing is the easiest big discount on the API. You bundle many requests into one job, submit it, and collect the results later.

  • On the big providers' batch options, you pay 50% of standard prices.
  • Batches usually finish within about a day, and many much sooner, but timing isn't guaranteed.
  • A batch that doesn't finish in time can expire. Depending on the provider, you may get the results that did finish, or none at all.
  • Batch and caching discounts can stack.

Good fits: classifying or tagging a big pile of items, summarizing an archive, running evaluations, translating a backlog, anything overnight. Bad fits: anything a person is waiting on.

The same pricing table with the Flex/Batch tab selected; batch rates are half the standard rates.Screenshot: Sidequest Journal

Chat subscription or pay-per-token API?

They're two different ways to pay:

  • Chat subscription: a monthly fee for the chat app, with usage limits. How fast you reach the limit depends on things like which model you use, how long your chats are and how large your files are. Higher tiers raise the limits.
  • API: no flat fee. You're billed for the tokens you actually use, at per-model rates, and that's where batch discounts and cache pricing apply.

A rough way to choose:

  • If you mostly chat by hand every day, a subscription gives you a predictable bill. The habits in this guide help you stretch its limits.
  • If you're automating something, running a script over lots of items or building an app, the API is the tool for it. The discounts in this guide are how you keep that bill down.

Some top-tier chat plans also include a monthly allowance of API credits. If you're paying for one of those, check whether you have credits sitting unused before you put a card on the API.

The habits, in one list

The habits from this guide, in one list:

  1. New topic, new chat. Carry over a short summary, not the whole history.
  2. Paste only what the task needs.
  3. Group related questions into one message.
  4. Ask for short, specific output formats.
  5. Use the smallest model that does the job well, and compare total task cost, not just per-token price.
  6. Save repeated instructions in a project or saved assistant, or in a fixed system prompt on the API.
  7. On the API, put static content first so caching can work, and check your usage stats for cache hits.
  8. Batch anything that can wait.
  9. Check your usage page regularly, and set a spending limit if your provider offers one.
  10. Count tokens when the number matters, instead of guessing.

Sources

Related guides

How to turn messy notes into a research brief with AI (without it making things up)