Skip to content

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

ToolBest forStarting priceFree plan
1. OpenAI APIGeneral-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. OpenRouterTeams switching between many models on one keyModel list price plus 5.5% platform fee on credit purchases (Standard)Yes: 25+ free models, 50 requests a day
5. DeepSeek APIBudget-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 AIEuropean 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. GroqLow-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 AIRunning 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 BedrockEnterprises buying through an AWS accountPer 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. 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. 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. 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 models

    Why 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. 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 day

    Why 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. 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. 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. 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 limits

    Why 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. 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. 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

All 40 models & apis tools by Stork score

Every listing in this category, ranked by Stork's defensibility score.

  1. 1Claude 3.5 Sonnet Vision35
  2. 2Hume AI31
  3. 3Azure OpenAI Service30
  4. 4Amazon Transcribe28
  5. 5Cohere Embed v327
  6. 6Exa27
  7. 7TranscriptFetch27
  8. 8SeedRouter26
  9. 9xAI Grok API25
  10. 10VibeVoice23
  11. 11Grok23
  12. 12Azure Speech Service22
  13. 13HPC-AI21
  14. 14GPT-5.621
  15. 15Deepgram Aura (assistant)20
  16. 16AI21 Jamba-Instruct20
  17. 17Jina Embeddings20
  18. 18AssemblyAI Speech-to-Text20
  19. 19Google Cloud Speech-to-Text20
  20. 20HiAPI20
  21. 21MiniMax18
  22. 22cloro18
  23. 23TokLab18
  24. 24Anthropic Claude API15
  25. 25Claude Opus 4.615
  26. 26Seed15
  27. 27GPT-4o Vision14
  28. 28Gemini 1.5 Flash14
  29. 29Azure Speech Studio14
  30. 30Cohere Embed v314
  31. 31Nomic Embed14
  32. 32Google Gemini Pro Vision14
  33. 33Google Gemini 1.5 Pro14
  34. 34Nomic Embed V114
  35. 35Gemini Pro14
  36. 36Qwen (Tongyi Qianwen)14
  37. 37Soniox14
  38. 38GPT 5.513
  39. 39Amazon Polly + Transcribe11
  40. 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