"Cheap per million tokens" is meaningless without knowing which tokens. Every API prices input and output differently, and long conversations make the input side grow quadratically if you resend history naively.
A chat that sends the whole transcript every turn costs roughly O(n²) in turns. Twenty turns of 200 tokens each is 40k tokens cumulative, not 4k. This is the single most common reason a "cheap" API feels expensive.
turn 1 : 200 tokens turn 2 : 400 turn 3 : 600 ... turn 20: 4,000 -> total ~42,000
Measure one real request: prompt tokens, output tokens, then multiply by your expected daily volume. If the result is under one package, buy one package — not five. Balance does not expire, so there is no reason to over-buy.
Flash-class open models are inexpensive because inference is efficient, not because quality is low. They are weaker than frontier models on long-horizon reasoning and stronger on cost predictability — which is usually the right trade for products.
A 4xx error costs nothing; a request that generates tokens then fails mid-stream may still bill the generated part.
Prefix caching is automatic on most providers when the prompt prefix is identical.
Generation is sequential and memory-bound; each token requires a full forward pass.
Endpoint https://arxpay.my.id/v1 · Model deepseek-v4.1-flash-abliterated-2