Best AI tools / Build
Best AI Model APIs for Developers
9 picks with verified prices · checked November 2, 2026
For developers choosing an API to add language models to an app or agent. The picks split into frontier labs selling their own models (OpenAI, Anthropic, Google), lower-cost model makers (DeepSeek, Mistral), fast open-model hosts (Groq, Together AI), and routers or clouds that put many vendors behind one bill (OpenRouter, Amazon Bedrock). All are pay per token; the differences are price per million tokens, free tiers, speed and data terms.
The 9 picks at a glance
| Tool | Best for | Starting price | Free plan |
|---|---|---|---|
| 1. OpenAI API | General-purpose apps wanting the widest model range | $0.05 / $0.40 per 1M input / output tokens (gpt-5-nano) | No (no free tier listed for text models) |
| 2. Claude API (Anthropic) | Coding, agents and long documents | $0.10 / $0.50 per 1M input / output tokens (Claude Haiku 5.5, prompts up to 100,000 tokens) | No (pay as you go; no free tier stated on pricing page) |
| 3. Gemini API (Google) | Prototyping free and cheap multimodal apps | $0.10 / $0.40 per 1M input / output tokens (Gemini 2.5 Flash-Lite, text) | Yes: free tier on most Flash and Flash-Lite models |
| 4. OpenRouter | Teams switching between many models on one key | Model list price plus 5.5% platform fee on credit purchases (Standard) | Yes: 25+ free models, 50 requests a day |
| 5. DeepSeek API | Budget-heavy workloads and batch jobs | $0.15 / $0.60 per 1M input / output tokens (deepseek-flash, off-peak, cache miss) | No (no free allowance stated) |
| 6. Mistral AI | European teams and small, cheap models | $0.10 / $0.10 per 1M input / output tokens (Ministral 3 3B) | No (no free API tier stated; Pro plan includes $15/mo API credits) |
| 7. Groq | Low-latency chat and voice agents | $0.075 / $0.30 per 1M input / output tokens (gpt-oss-20b) | Yes: Free plan with rate limits |
| 8. Together AI | Running and fine-tuning open-weight models | $0.14 / $0.14 per 1M input / output tokens (Llama 3 8B Instruct Lite) | Yes: some models listed free (e.g. Ternary Bonsai 27B) |
| 9. Amazon Bedrock | Enterprises buying through an AWS account | Per 1M tokens, varies by model (e.g. Gemma 3 27B $0.23 / $0.38) | No (no Bedrock free tier described on pricing page) |
Prices read from each vendor's own pricing page on November 2, 2026. Vendors change plans often; follow the pricing link on each card to confirm.
1.OpenAI APIGeneral-purpose apps wanting the widest model range
$0.05 / $0.40 per 1M input / output tokens (gpt-5-nano)Why it is here: The broadest lineup on one account, from gpt-5-nano at $0.05 in up to gpt-6-astra at $10 in and $50 out per 1M tokens, with Batch and Flex at roughly half the standard rate for async work.
Watch out for: No free text tier, and Pro models cost $30 in and $180 out per 1M tokens; Fast mode costs more than standard.
2.Claude API (Anthropic)Coding, agents and long documents
$0.10 / $0.50 per 1M input / output tokens (Claude Haiku 5.5, prompts up to 100,000 tokens)Why it is here: Models from Haiku 5.5 to Opus 5.5 ($4 in, $20 out) and Fable 5.1 ($10 in, $50 out), with cache hits billed at a fraction of input price and a 50 percent Batch API discount.
Watch out for: Haiku 5.5 rises to $0.50 in and $2.50 out above 100,000 prompt tokens, and US-only inference adds a 1.1x multiplier on newer models.
3.Gemini API (Google)Prototyping free and cheap multimodal apps
$0.10 / $0.40 per 1M input / output tokens (Gemini 2.5 Flash-Lite, text) · Free: Yes: free tier on most Flash and Flash-Lite modelsWhy it is here: The most generous free tier here: most Flash and Flash-Lite text models are free of charge for input and output, and the Batch API cuts paid prices by 50 percent.
Watch out for: Free-tier content is used to improve Google products. Gemini 2.5 Flash-Lite is deprecated and reroutes on Dec 1, 2026, and Gemini 3.8 Flash doubles to $1.50 in on Jan 1, 2027.
4.OpenRouterTeams switching between many models on one key
Model list price plus 5.5% platform fee on credit purchases (Standard) · Free: Yes: 25+ free models, 50 requests a dayWhy it is here: One API and one balance for 600+ models from 80+ providers, at the same token prices on every plan. Bring-your-own-key use is free up to $25,000 of list-price inference a month.
Watch out for: The 5.5 percent fee (8 percent on Business) applies to every credit purchase, and free models are capped at 20 requests a minute and 50 a day until you buy $10 of credits.
5.DeepSeek APIBudget-heavy workloads and batch jobs
$0.15 / $0.60 per 1M input / output tokens (deepseek-flash, off-peak, cache miss)Why it is here: Among the lowest prices for a capable model: cache hits on deepseek-flash cost $0.003 per 1M tokens off-peak, and all off-peak rates are half the peak rate.
Watch out for: Peak hours (01:00 to 04:00 and 06:00 to 10:00 UTC on weekdays) double the price to $0.30 in and $1.20 out, which matters for US and EU daytime traffic.
6.Mistral AIEuropean teams and small, cheap models
$0.10 / $0.10 per 1M input / output tokens (Ministral 3 3B)Why it is here: A European vendor with small models priced flat for input and output, Mistral Large 4 at $0.70 in and $2.10 out, prices shown in USD or EUR, and Batch at 50 percent off.
Watch out for: The marketing pricing page quotes Mistral Large at $0.50 in and $1.50 out while the docs list Large 4 at $0.70 and $2.10; confirm in the console.
7.GroqLow-latency chat and voice agents
$0.075 / $0.30 per 1M input / output tokens (gpt-oss-20b) · Free: Yes: Free plan with rate limitsWhy it is here: Speed is the reason to pick it: the docs list gpt-oss-20b at 1,000 tokens a second and gpt-oss-120b at 500, with gpt-oss-120b at $0.15 in and $0.60 out.
Watch out for: A short model list, and the docs show Llama 3.1 8B and 3.3 70B as contact sales. Developer plan base limits for gpt-oss are 30 requests a minute and 1,000 a day.
8.Together AIRunning and fine-tuning open-weight models
$0.14 / $0.14 per 1M input / output tokens (Llama 3 8B Instruct Lite) · Free: Yes: some models listed free (e.g. Ternary Bonsai 27B)Why it is here: Serverless access to many open models such as gpt-oss-120B ($0.15 in, $0.60 out) plus fine-tuning priced per 1M tokens, for example Llama 3.1 8B at $0.34 for supervised fine-tuning.
Watch out for: No frontier closed models, and fine-tuning jobs carry minimum charges ($4.00 on Llama 3.1 8B). The page does not state free credits or the batch discount.
9.Amazon BedrockEnterprises buying through an AWS account
Per 1M tokens, varies by model (e.g. Gemma 3 27B $0.23 / $0.38)Why it is here: Many vendors' models, including Anthropic, Meta, Mistral, DeepSeek and Amazon, billed on the AWS invoice, with batch and Flex at 50 percent below on-demand and provisioned throughput for reserved capacity.
Watch out for: Prices differ by region and tier, Priority costs 75 percent more, and provisioned throughput for Anthropic models is quoted only by your account team.
How we chose
We read each provider's own pricing page or pricing docs on 2026-11-02 and quote the cheapest current text model as listed, per 1 million input and output tokens. Picks cover frontier quality, lowest cost, speed, EU vendor, open models and enterprise cloud procurement. Comparison posts on dev.to and Syncfusion were used only to see which providers developers shortlist. Image, audio and embedding-only APIs were left out; prices change often, so check the linked page before you budget.
Frequently asked questions
What is the cheapest AI API?
On list price per 1M tokens as of 2026-11-02, the lowest paid text models were OpenAI gpt-5-nano ($0.05 in, $0.40 out), Groq gpt-oss-20b ($0.075 in, $0.30 out), Gemini 2.5 Flash-Lite and Ministral 3 3B ($0.10 in). Google's free tier and DeepSeek's off-peak cache prices can be cheaper still for the right workload.
Which AI API has a free tier?
Google's Gemini API offers most Flash models free of charge, with the condition that free-tier content is used to improve Google products. OpenRouter has 25+ free models capped at 50 requests a day, Groq has a rate-limited free plan, and Together AI lists some models at $0. OpenAI and Anthropic list no free text tier.
How do I cut LLM API costs?
Use batch endpoints for anything that can wait (OpenAI, Anthropic, Google, Mistral and Bedrock all list about 50 percent off), cache repeated prompts, route easy requests to a small model, and on DeepSeek schedule bulk jobs off-peak, when prices are half.
Should I use a router like OpenRouter or call providers directly?
A router gives one key and one bill for hundreds of models and makes switching easy, at a 5.5 percent fee on credit purchases. Calling providers directly avoids the fee and gives you their own batch and caching discounts and data terms.
Which API is fastest?
Groq is built for speed; its docs list gpt-oss-20b at 1,000 tokens a second and gpt-oss-120b at 500. Frontier labs also sell faster tiers at a premium, such as OpenAI Fast mode.
Sources (13) · checked November 2, 2026
- https://developers.openai.com/api/docs/pricing
- https://platform.claude.com/docs/en/about-claude/pricing
- https://aistudio.google.com/docs/pricing
- https://openrouter.ai/pricing
- https://api-docs.deepseek.com/quick_start/pricing
- https://docs.mistral.ai/inference/pricing
- https://mistral.ai/pricing
- https://console.groq.com/docs/models
- https://console.groq.com/docs/rate-limits
- https://www.together.ai/pricing
- https://aws.amazon.com/bedrock/pricing/
- https://dev.to/agdex_ai/best-llm-apis-in-2026-pricing-performance-and-when-to-use-each-2k00
- https://www.syncfusion.com/blogs/post/top-llm-api-comparison-2026
All 40 models & apis tools by Stork score
Every listing in this category, ranked by Stork's defensibility score.
- 1Claude 3.5 Sonnet Vision35
- 2Hume AI31
- 3Azure OpenAI Service30
- 4Amazon Transcribe28
- 5Cohere Embed v327
- 6Exa27
- 7TranscriptFetch27
- 8SeedRouter26
- 9xAI Grok API25
- 10VibeVoice23
- 11Grok23
- 12Azure Speech Service22
- 13HPC-AI21
- 14GPT-5.621
- 15Deepgram Aura (assistant)20
- 16AI21 Jamba-Instruct20
- 17Jina Embeddings20
- 18AssemblyAI Speech-to-Text20
- 19Google Cloud Speech-to-Text20
- 20HiAPI20
- 21MiniMax18
- 22cloro18
- 23TokLab18
- 24Anthropic Claude API15
- 25Claude Opus 4.615
- 26Seed15
- 27GPT-4o Vision14
- 28Gemini 1.5 Flash14
- 29Azure Speech Studio14
- 30Cohere Embed v314
- 31Nomic Embed14
- 32Google Gemini Pro Vision14
- 33Google Gemini 1.5 Pro14
- 34Nomic Embed V114
- 35Gemini Pro14
- 36Qwen (Tongyi Qianwen)14
- 37Soniox14
- 38GPT 5.513
- 39Amazon Polly + Transcribe11
- 40Cohere Embed V311
Ranked by the Stork score — human-reviewed, recomputed as model capabilities ship.
One short daily email of tools worth shipping. No drip funnel.
one email a day · unsubscribe in two clicks · no third-party tracking
