$0.950 in / $4.00 out
- Context: 262K
- Providers: 49
- Tool calling
- Structured output
- Reasoning
- Vision
- Open weights
Best AI models · 2026-06-29
Top general-purpose AI models available via API today.
$0.950 in / $4.00 out
$0.600 in / $3.00 out
$1.40 in / $4.40 out
$0.300 in / $1.20 out
$1.00 in / $3.20 out
$0.435 in / $0.870 out
$0.030 in / $0.150 out
$0.600 in / $2.20 out
$1.40 in / $4.40 out
$0.180 in / $0.350 out
$5.00 in / $25.00 out
$3.00 in / $15.00 out
Same shortlist sliced four ways — pick the tier that matches your budget and constraints.
Lowest total per-1M-token cost in this list ($0.18).
Lowest-cost option that still meets the use case. Pick this when you have high volume or strict unit-economics.
Median price ($4.20) — typically the safest default.
Good-enough quality at a mid-tier price. The default choice for most production apps.
Highest-priced pick in the list ($30.00) — usually the flagship.
Highest-capability model in this list. Pick when accuracy or reasoning matters more than cost.
Open weights and the cheapest in that subset ($0.53).
Open weights — self-host on your own GPUs, fine-tune on private data, run offline. Pricing here reflects the cheapest API host.
Right now we put Kimi K2.6 from Moonshot AI at the top, primarily because it is offered on the most providers and consistently exposes a clean text-in / text-out API at predictable pricing. Rankings are recomputed from live model metadata — see "How we picked these" above for the exact rule.
gpt-oss-120b (OpenAI) is the lowest-priced pick at $0.030 per 1M input tokens and $0.150 per 1M output tokens. Costs from other entries scale up from there.
Each pick comes from a programmatic rule defined in our use-case-rules config: a hard filter (e.g. tool calling required, context ≥ 100K) plus a numeric score combining capability, context window and price. We never hand-curate the order, but we do hand-curate the rule. Underlying model metadata is refreshed daily from a normalised canonical catalogue.
The underlying model data is refreshed once per day, and the static page is rebuilt when the data changes. The 'Last updated' date below shows the most recent rebuild.
Yes. We only rank models with a published per-million-token price. 'Unknown' here means the provider does not publish a public rate card — it is not the same as 'free', so showing them at $0 would mislead.
Last updated:
Prices in USD per 1M tokens. Unknown means the provider does not publish per-token pricing.
Pricing and capabilities are refreshed daily and reconciled against each provider's official documentation. Always verify critical production decisions with the provider directly.