MADETOSCALE

How does your AI bill actually work?

ChatGPT, Claude and every other AI don't count your words. They count tokens. Five short steps show where the money goes, then how to cut it. No technical background needed.

Step 1

What is a token?

A small piece of text. Short words are one token, long words break into several. Type anything below and watch how the AI chops it up. Hindi usually takes more tokens than English for the same meaning.

How the AI sees it
0tokens (estimate)
0words
–

Step 2

The meter: two prices, one bill

Every message is billed twice. Input: what you send. Output: what the AI writes back. Output costs about 5 times more, because the AI reads everything at once but writes one token at a time. Drag the sliders and watch the receipt.

Pick a model
Your question plus any documents or instructions attached to it
Thinking mode onSome models think before answering. That hidden thinking is billed at the output rate too.
Receipt for one message
Input (what you sent)
Output (what the AI wrote)
Thinking (hidden)
One message
1,000 messages
InputOutputThinking
Step 3

Why long chats get expensive

The AI has no memory. With every new message, the whole earlier chat is sent again, and billed again. By message 50 the AI is re-reading 49 old messages. Drag the slider.

–cost of message 1
–
–whole chat total

Assumes 2,000 tokens of fixed instructions, 100-token questions, 300-token answers, on Claude Sonnet 5.5.

What travels with each message
Instructions + new questionOld chat, sent againNew answer
Step 4

Three hacks that cut the bill

Take a real example: a support bot that sends a 50,000-token product manual with every question. Tap the cards on and off and watch the bill change.

Scenario:
Now · per month
–
With hacks · per month
–
You save
–

Want to plug in your own numbers? Open the full calculator further down.

Step 5

How to stop running out of credits

Per-token billing means more use, bigger bill, and one day the credits run dry. There are four ways around it: pool many free quotas, pay a flat monthly fee, use one key across many providers, or run the model on your own machine. Each has a catch.

OmniRoute

Free · self-hosted

An open-source gateway (MIT licence) that gives you one endpoint and pools many providers' free tiers behind it in a "combo". When one provider's quota runs out, the request moves to the next one automatically, with no error. The project's docs estimate up to 1.6 billion free tokens a month across 35 pools, though rate limits vary by provider.

Best for
Coding tools (Claude Code, Cursor, Cline), experiments, side projects
Catch
You run it yourself (laptop or small server). Free tiers can be slow and limited.
How to start
npm install -g omniroute && omniroute
# or
docker run -p 20128:20128 diegosouzapw/omniroute

The dashboard opens on port 20128. Set INITIAL_PASSWORD first. In Claude Code, point ANTHROPIC_BASE_URL at the gateway. Source: github.com/diegosouzapw/OmniRoute

CheapestInference

Flat monthly · from $22

A subscription instead of per-token. You reserve one 8-hour daily window (Asia-Pacific, Europe or Americas) and get unlimited tokens on every model in your pool during it. Core is $22 a month (DeepSeek V4.1 Flash, MiMo V2.6 Flash), Frontier $71 (GLM 5.3, MiniMax M3), Flagship $199 (Kimi K3, Qwen3.8 Max). OpenAI and Anthropic SDK compatible, works with Claude Code.

Best for
Heavy daily users who burn through credits every month and are happy with open models
Catch
No Claude or GPT, only open-source models. One request at a time per key. For 24/7 you need all three windows (about $228 on Frontier).
How to start

Pick a plan at cheapestinference.com, choose your time window, create an API key, and change the base URL in your tool. Prices as of October 2026.

OpenRouter

One key · many providers

One API key, hundreds of models from many companies behind it. Pay as you go, but some models carry a ":free" tag and cost nothing within a rate limit. If one provider is down, it can fall back to another.

Best for
Comparing models without creating five accounts
Catch
Free models have tight rate limits. Paid use adds a small fee when you buy credits.
How to start

Create a key at openrouter.ai and filter the model list by "free". Check the current limits there.

Run it on your own machine (Ollama)

₹0 per token

Download open-source models and run them on your laptop or server. No credits, no per-token bill, and your data never leaves the machine. Pair it with Open WebUI for a ChatGPT-style interface.

Best for
Private data, learning, internal tools, offline use
Catch
Needs decent RAM or a GPU. Big models run slowly, and quality is below Claude or GPT.
How to start
ollama run llama3

Install from ollama.com. Providers like Google AI Studio and Groq also offer free tiers; check their current limits on their sites.

Which one fits me?

1. What do you mainly use AI for?
2. Do you need Claude or GPT level quality?
3. Monthly budget?
Test yourself

Guess the bill

Three questions. Tap an answer. Prices are Claude Sonnet 5.5 at ₹96 per dollar.

Glossary

10 words you'll see on every AI bill

For power users

The full calculator

Plug in your real numbers, test every lever on its own, and compare the same workload on every model.

Open
Start from an example

Your workload

Tokens are counted per message. 1,000 tokens ≈ 750 English words.
System prompt, product manual, policies. Sent with every message.

Savings levers

Turn these on to see the optimized bill.
Prompt cachingReuse the fixed instructions at the cache-read price.
Also cache chat historyOlder messages are read from cache too.
Trim chat historySend only the last few messages instead of the whole chat.
Batch API50% off for work that can wait up to 24 hours.
Shorter repliesAsk for concise answers or set a max length.
Lower thinking budgetCap reasoning tokens on easy tasks.
Now · per month
–
Optimized · per month
–
You save
–
Now
Optimized
Instructions + messageRe-sent chat historyCache reads + writesRepliesThinking

Your biggest savings

Each lever on its own, ranked by money saved per month.

Same workload on every model

Monthly cost with your current savings levers. Prices per 1M tokens.
ModelInputOutputCache readPer month

Pick by job, not by brand: small models for FAQs, tagging and summaries; mid models for writing and coding; frontier models for hard reasoning.

Want us to cut your AI bill?

MadeToScale × CodeBiosis set up caching, routing and batching for production AI apps.

contact@codebiosis.com