How to Organise Model Setup and Cut API Costs

November 25, 2026

TypingMind bills through your provider’s API rather than a flat subscription, which means every long conversation has a visible price. Most people find out what that price is by looking at a bill larger than the subscription they left.

The driver is almost never the model price per token. It is conversation length — each turn resends the entire history, so a 40-turn chat costs roughly forty times a short one in context tokens alone.

Why do long conversations cost so much more than they look?

Because context is resent. Turn one sends 500 tokens. Turn twenty sends the original system prompt plus nineteen prior exchanges plus your new message. By turn forty you are paying for the whole transcript on every message.

The growth is not linear in feel but it is quadratic in fact. A conversation that begins cheap finishes expensive, and the expensive part is invisible in an interface that just shows a chat.

Practical implication: start a new conversation when the topic shifts. Continuing a thread for continuity costs money that a short summary would have saved.

How should the default model be set?

Make the cheap fast model the default and switch up deliberately. In settings, pick the small tier as default and keep the strong model available in the switcher for the minority of tasks that need it.

A rough split that holds across most work: about 80% of turns are reformatting, summarising and short answers that a small model handles at a fraction of the cost. The remaining 20% — reasoning, code architecture, tricky rewrites — justify the larger model.

Switching per conversation rather than per message is easier to maintain. Decide the tier when you open the thread.

What does context trimming actually save?

A lot, on long threads. TypingMind lets you delete individual messages from a conversation. Deleting the exploratory middle of a long thread often removes 60–80% of the context while keeping the setup and the current state.

Habits worth adopting:

  • Delete error paths and dead ends once resolved
  • Delete your own long pasted documents after the extraction turn
  • Keep the original instruction and the latest two exchanges

That last pattern effectively re-bases a conversation. The thread stays intact for reading, and the next turn is cheap again.

Where else do costs leak?

File attachments. A pasted 50-page PDF enters the context and stays there for every subsequent turn. Extract what you need, then delete the attachment message.

Plugins that fetch. Any plugin that pulls a web page or document adds that content to context on every turn after it runs.

Long system prompts. A 1,500-word persona prompt is paid for on every single message. If you have one, shorten it to the rules that change behaviour.

Idle defaults. If the default model is a top-tier one because you set it once during testing, every casual question is expensive.

How do you track what a project actually costs?

Provider dashboards show daily totals, not per-project. Use folders: one folder per project, and check the dashboard after a heavy day in that folder.

If you want precision, keep a simple log — project, model tier, approximate turns. After two weeks you will know which folders are expensive and why. In most cases one project with large attachments accounts for half the spend.

Set a mental budget per project. Something in the range of a few dollars for a week of occasional use is normal; ten times that usually means attachments or runaway threads.

Who needs this discipline, and who does not?

Anyone using metered API access daily. The savings from context trimming and model tiering are typically 40–60% versus defaults, with no quality loss on routine work.

If you use AI a few times a week, this is wasted attention — a flat subscription is cheaper and simpler. And if you already track provider spend monthly and it is under a few dollars, the optimisation effort costs more than it saves.

Quick Summary

  • Long chats dominate cost because every turn resends the full history.
  • Set the small model as default; roughly 80% of turns do not need a top-tier model.
  • Delete resolved dead ends and consumed attachments — this often removes 60–80% of context.
  • System prompts and plugin output are paid for on every turn; keep both short.
  • Context trimming and tiering typically save 40–60% with no quality loss on routine work.