$0.600 in / $3.00 out
- Context: 262K
- Providers: 45
- Tool calling
- Structured output
- Reasoning
- Vision
- Open weights
Best AI models · 2026-05-12
Top general-purpose AI models available via API today.
$0.600 in / $3.00 out
$0.300 in / $1.20 out
$1.00 in / $3.20 out
$0.600 in / $2.20 out
$1.40 in / $4.40 out
$0.040 in / $0.160 out
$0.600 in / $2.50 out
$0.260 in / $0.380 out
$0.950 in / $4.00 out
$0.600 in / $2.20 out
$0.300 in / $1.20 out
$0.020 in / $0.030 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.05).
Lowest-cost option that still meets the use case. Pick this when you have high volume or strict unit-economics.
Median price ($2.80) — 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 ($5.80) — usually the flagship.
Highest-capability model in this list. Pick when accuracy or reasoning matters more than cost.
No fit in this list
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.5 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.
Meta-Llama-3.1-8B-Instruct (Meta) is the lowest-priced pick at $0.020 per 1M input tokens and $0.030 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. The full data source is the models.dev API, refreshed daily.
The underlying model data is refreshed once per day from models.dev, 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.
Data is sourced from models.dev and normalized for comparison. Prices and capabilities may change. Always verify critical production decisions with the provider's official documentation.