Find the best llm apis for your workload
Start with the priced options, then check capabilities, limits and commitments. We do not score qualities we have not measured.
What this comparison covers · LLM APIs
Commercial API inference for generative language and reasoning models. Shared multi-tenant API endpoints, standard rate limits, and pay-as-you-go billing without committed use discounts or provisioned throughput. Fine-tuning, batch API discounts, embeddings, and audio generation are excluded.
Evaluating 8 products from 75 published in this category. USD monthly equivalents, before tax. Features and service compatibility need separate evaluation.
- Standard input tokens
- 10,000,000 tokens / month
- Output tokens
- 2,000,000 tokens / month
- Cached prompt tokens
- 5,000,000 tokens / month
Choose the fit, then compare the bill
- Confirm the product supports your requirements. “Not modeled” does not mean a vendor cannot support them.
- Compare included usage, hard limits and paid extras at your expected volume.
- Account for annual commitments, migration effort and the exclusions shown below.
Priced options to evaluate
3 eligible products. Quote-only, expired and unsupported configurations are excluded from cost rankings.
Baseten
Explore Baseten with source-reviewed pricing for the named plans below.
$2.65 / month
GLM-5.3-Flash — Model API
Official pricing · Model observation 2026-11-21
Cost breakdown and exclusions
- Monthly subscription: $0
- Uncached input tokens: $1.50
- Output tokens: $1.00
- Cached input tokens: $0.15
- Enter uncached input and cache reads separately. Model capabilities can differ at the same token count.
- Model API usage at public rates after starting credits are exhausted. New accounts are invoiced at month end or when usage exceeds $50. Established accounts can move to monthly invoicing.
- Taxes, negotiated discounts, credits, and optional add-ons are excluded.
- Batch, priority or region-restricted service, fine-tuning, tools, media generation and reserved GPU deployments are not modeled.
GLM-5.3-Flash — Model API: $2.65/month at reference usage.
Fireworks AI
Explore Fireworks AI with source-reviewed pricing for the named plans below.
$2.65 / month
GLM 5.3 Flash — Standard, unrestricted region
Official pricing · Model observation 2026-11-21
Cost breakdown and exclusions
- Monthly subscription: $0
- Uncached input tokens: $1.50
- Output tokens: $1.00
- Cached input tokens: $0.15
- Enter uncached input and cache reads separately. Model capabilities can differ at the same token count.
- Assumes the $1 starter credit is exhausted and the self-service account has sufficient prepaid credits. The estimate measures the credits consumed this month. Cash payments depend on top-ups and the opening balance.
- Taxes, negotiated discounts, credits, and optional add-ons are excluded.
- Batch, priority or region-restricted service, fine-tuning, tools, media generation and reserved GPU deployments are not modeled.
GLM 5.3 Flash — Standard, unrestricted region: $2.65/month at reference usage.
OpenAI API
Industry-standard foundation models with automatic prompt caching and vision.
$3.08 / month
GPT-4o mini
Official pricing · Model observation 2026-11-09
Cost breakdown and exclusions
- Monthly subscription: $0
- Standard input tokens: $1.50
- Output completion tokens: $1.20
- Cached prompt tokens: $0.38
- Deprecated. API shutdown is scheduled for January 14, 2027; this is a current estimate only until that shutdown.
- Standard shared API, public USD token rates. Input, output and cachedTokens are separate billed token counts; cachedTokens means actual cache hits, not all repeated text. No additional cache-write fee applies to these earlier models.
- 128,000-token context window and 16,384-token maximum output per request. Account usage tiers and request/token rate limits are not inferred from monthly token totals.
- No annual commitment or monthly subscription is included. API usage is separate from ChatGPT subscriptions; account credit funding is not an extra token charge.
- New API accounts use prepaid credits with a USD 5 minimum initial purchase. Purchased credits fund usage, expire after one year and are generally non-refundable. Auto-reload is enabled by default during setup and can be disabled; its minimum purchase is USD 5. This estimate measures consumed tokens, not cash top-ups or expired unused credits.
- Fine-tuning, Batch or priority pricing, audio/realtime APIs, image generation, built-in tool call/storage fees and optional paid services.
- Per-request context/output limits and account access/rate-limit eligibility are outside this monthly token estimate. Image inputs must already be converted to vendor-billed input tokens; image counts alone are not modeled.
- Taxes, local-currency invoices, contract discounts and FedRAMP pricing are outside the standard public USD API scope.
GPT-4o mini: $3.08/month at reference usage.
Questions before you decide
Which LLM APIs product is cheapest?
Baseten has a lowest modeled cost among the eligible products shown at reference usage. Ties share a rank. This is not a claim about every vendor or workload.