When Does a $20/mo AI Subscription Lose to Raw API Billing? Exact Token Math
Every few weeks the same advice makes the rounds: cancel the $20 AI subscription, wire up the API, and pay pennies instead. Sometimes that is right. Often it is wrong, and the reason is not the sticker price of either option. It is how many tokens your usage pattern actually bills. This is the arit

Every few weeks the same advice makes the rounds: cancel the $20 AI subscription, wire up the API, and pay pennies instead. Sometimes that is right. Often it is wrong, and the reason is not the sticker price of either option. It is how many tokens your usage pattern actually bills.
This is the arithmetic, with no vendor cheerleading. Three numbers decide it:
Almost every "the API is 40x cheaper" post gets the first two right and ignores the third. That third number is where estimates go wrong by 3x to 6x.
A rough but workable conversion is 1 word to about 1.3 to 1.4 tokens for English, code and JSON run higher. Use 1.35 as a default.
Monthly tokens = prompts per day x 30 x (words per prompt + words per response) x 1.35
Light user: 10 prompts a day, about 750 words of prompt plus response each.
10 x 30 x 750 x 1.35 = 303,750 tokens, roughly 0.30M per month.
Heavy chat user: 200 prompts a day, about 1,200 words each.
200 x 30 x 1,200 x 1.35 = 9,720,000 tokens, roughly 9.7M per month.
Already a factor of 32 apart. Any single "the API costs X" claim is meaningless without this number.
Most APIs charge different rates for input and output tokens, and output is usually 3 to 5 times the input price. A useful shortcut is a blended rate: what you actually pay per million tokens when you mix both in normal proportions.
Worked examples of blended rates, the kind of numbers you would put in a spreadsheet today:
These move constantly, and providers change them without much notice. Treat them as inputs, not facts, and recheck the pricing page before you commit a production workload.
With the two monthly volumes from Step 1:
Against a $20 plan, the light user should have cancelled months ago. The heavy user is already $23.74 a month ahead on the subscription. Same recommendation, opposite answers, because the volume differs.
At a $20 per month plan, the API only wins below this many tokens:
$20 / blended rate per million = monthly breakeven
Convert that into prompts. At 1,000 tokens per prompt on the flagship tier, 148k tokens a day is 148 prompts a day, single turn. Most people who describe themselves as heavy users are nowhere near that in naive counting.
Which is exactly why the naive count is the wrong count.
A chat API is stateless. Every turn re-sends the conversation so far. In a 20-turn session where each turn adds T tokens, the input you are billed for is not 20T. It is:
Add the outputs and a 20-turn session costs roughly 5 to 6 times what the flat multiplication suggests. Even an 8-turn exchange lands around 2.5 to 3 times.
Two consequences follow, and they are the whole argument:
A multi-turn chat habit is expensive in a way single-turn estimates never show. A 40 prompts per day habit, at 1,200 tokens a turn, looks like 1.44M tokens a month and a $6.50 API bill. Corrected for 8-turn conversations at a 2.75x multiplier, it is 3.96M tokens and about $17.80. The subscription is no longer obviously worse, and it also includes the app.
A fat system prompt is a subscription-sized cost by itself. Send 1,500 tokens of instructions on every call, 100 calls a day, and that is 4.5M tokens a month before any real work happens. At $4.50 per million, the instructions alone cost $20.25. You are paying a full subscription price for text the user never sees.
Most people who ask me this question end up somewhere in the middle, and it is stable:
That split is also easy to audit. If the API side grows past the plan's value, you will see it in the same dashboard where you see every other cost.
If that arithmetic feels like a spreadsheet you will not maintain, I put it in a free browser tool. It runs entirely in your browser, no signup, no tracking, and it was built for exactly this decision:
AI subscription vs API breakeven: https://dolit-kr.netlify.app/en/ai-api-vs-sub.html
Same hub, two related tools: a 3-block prompt builder that forces a deterministic output format, and a true net hourly rate calculator for side projects:
Numbers are illustrative and depend on current provider pricing. Rerun the math whenever a rate card changes, and keep the assumption line visible in whatever you build.