A low-cost API shortlist should survive the workload you intend to send. Start with documented token rates, then remove candidates that fail the required output contract, deployment terms, input limits or acceptance tests. The remaining model with the lowest complete task cost is the useful choice. An input-only price sort cannot make that decision.
A budget shortlist with explicit scope
This shortlist covers selected hosted models tracked by benchr, not a market-wide guarantee. Rates are USD per million tokens, Standard processing, ordinary input band, without free quotas or negotiated discounts. DeepSeek has separate peak and off-peak rows. Qwen uses Singapore International list rates; it is not a worldwide price.
| Model and deployment | Input | Output | Cache read |
|---|---|---|---|
gpt-6-luna | $0.10 | $0.50 | $0.01 |
claude-haiku-5-5 | $0.10 | $0.50 | $0.01 |
qwen3.8-flash · Singapore International | $0.15 | $0.47 | $0.016 |
glm-5.3-flash · Z.ai | $0.15 | $0.50 | $0.03 |
mistral-small-2603 · Mistral | $0.15 | $0.60 | $0.015 |
deepseek-flash · peak | $0.30 | $1.20 | $0.006 |
deepseek-flash · off-peak | $0.15 | $0.60 | $0.003 |
The rate rows were reviewed against their first-party sources for this revision. The historical July shortlist is superseded; the article's publication date and correction history remain intact. The retired DeepSeek V4-Flash is no longer presented as a competing hosted model. Its accepted legacy identifiers route to V4.1 Flash under the provider's current mapping.
Price a narrow task before a general assistant
For routing or extraction, define the schema and check it without another unbounded model call. Include a held-back set with missing fields, contradictory input and cases that should be rejected. Measure accepted results, not the proportion of responses that merely parse. Save the exact prompt, model identifier and service tier with the run.
For a hypothetical request with 10,000 input and 100 output tokens, GPT-6 Luna costs $0.00105, Qwen3.8-Flash at Singapore International list rates costs $0.001547, and Mistral Small 4 costs $0.00156, without cache reuse or other charges. Equal usage is a calculation assumption, not evidence of equal answers.
For a writing task, output length and revision attempts can change that order. For an agent, include every model turn, tool fee, repair and abandoned run. The cost-per-task examples make those workload shapes explicit; Labs can compare outputs and human ratings you actually supply.
The conditions that can erase a low headline rate
- Input bands: Haiku 5.5's ordinary rates apply through its 100,000 tokens threshold. Above it, the whole request uses another band. Long-context comparisons must use the relevant row.
- Deployment: Alibaba's card distinguishes Singapore International from its other regions and scopes. It lists Batch as unsupported for Singapore International; a China deployment's Batch discount cannot be transferred to this row.
- Execution mode: Qwen's documented input ceiling differs between thinking and non-thinking modes. Its maximum output is 131,072 tokens; the million-token combined window does not authorize a million-token prompt.
- Caching: read rates require actual eligible reuse. Qwen separately lists explicit cache creation, Claude distinguishes write retention, and Z.ai marks storage as limited-time free. Budget a cold start and inspect usage rather than assuming every repeated request hits cache.
- Clock: DeepSeek's off-peak row applies outside 01:00-04:00 and 06:00-10:00, Monday to Friday, excluding Chinese public holidays. Retries can run in a different band. The calculator's off-peak choice is an assumption, not a scheduling guarantee.
Choose the fallback by failure type
A stronger model can help with a difficult reasoning case. It does not repair missing permissions, a malformed tool schema, a truncated source document or an outage in the same upstream dependency. Classify the failure before escalating, cap the total attempts and preserve the first result for diagnosis.
Test the complete routing policy on unseen tasks. Include the cost of the routing decision and every fallback, and check whether the policy disproportionately fails on rare but important cases. Maintain a direct route for work whose error cost exceeds the possible token saving. No model is recommended here on price alone.
Keep self-hosting in its own comparison
Open weights do not establish unrestricted commercial rights or free operation. Read the exact artifact license, measure the intended quantization and concurrency, and budget active and idle hardware, memory, energy, storage, maintenance and review. A hosted API's token rate and a GPU's hourly price cannot be ranked without throughput and utilization evidence.
Use the calculator for supported token contracts, the pricing reference for the wider catalog, and the identifier tracker before committing a dependency. Record the date and deployment with the decision so a later repricing or alias change can trigger a controlled re-evaluation.