dbotmakerthe decision bot

Decision no. 83225 · Software & AI

10 Best LLM APIs of 2026

DBotMaker research desk · Updated November 16, 2026 · Next review December 31, 2026 · 10 compared

The decision

THE DECISION

NO. 83225 · NOVEMBER 16, 2026


QUESTION

Best LLM APIs?


WINNER

Google Gemini API

SCORE9.2 / 10

PRICE$0.10 PER 1M INPUT TOKENS

FREE PLANYES


WHY

If you need one default API for a cost-sensitive product, pick Gemini: prototype free, then move to Flash-Lite at $0.10 per 1M input tokens. Pick something else if you want a single model and fewer pricing modes to manage.


  1. 2OPENAI API........................................9.1
  2. 3ANTHROPIC API........................................8.9
  3. 4DEEPSEEK API........................................8.9
  4. 5GROQ........................................8.7

Short answer

If you need one default API with a free tier and long context, pick Google Gemini. If your app needs search, file retrieval, computer use and voice from one vendor, pick OpenAI. If you are building a coding agent or reading long documents, pick Anthropic, where batch and cache discounts stack. If cost per token decides it, pick DeepSeek and run jobs off-peak at half price. If latency decides it, pick Groq for a free plan or Cerebras for about 3,000 tokens per second on GPT OSS 120B. If you want one strong model and simple choices, pick xAI. If you serve open models at scale, pick Fireworks AI or Together AI, and if you want open weights from a European vendor, pick Mistral.

The Google Gemini API is our No. 1 LLM API because it pairs a real free tier with paid text input from $0.10 per 1M tokens on Gemini 2.5 Flash-Lite and 1M-token context on Gemini 4 Argon. The cheapest paid rate we found is Fireworks AI at $0.05 per 1M input tokens on NVIDIA Nemotron 3.5 Lightning 30B A3B. Pick OpenAI instead if your app needs built-in web search, file search and computer use, or Anthropic for coding agents; all prices were rechecked on vendor pages in November 2026.

At a glance

10 Best LLM APIs of 2026: rank, best use, price and score out of 10. Updated November 16, 2026.
RankProductBest forVerified priceScore
1Google Gemini APITeams that want a free tier and long context from one vendor$0.10 per 1M input tokens9.2
2OpenAI APIProduct teams that want built-in tools, voice and agents from one vendor$0.10 per 1M input tokens9.1
3Anthropic APITeams building coding agents and long-document apps$0.10 per 1M input tokens8.9
4DeepSeek APICost-first teams that can schedule work off-peak$0.30 per 1M input tokens8.9
5GroqDevelopers who need fast open-model replies and a free plan$0.15 per 1M input tokens8.7
6xAI APITeams that want one flagship model and simple choices$2 per 1M input tokens8.6
7Fireworks AITeams serving open models that expect to outgrow serverless$0.05 per 1M input tokens8.5
8Mistral AITeams that want open weights from a European vendor$0.50 per 1M input tokens8.5
9Together AIML teams that fine-tune and serve open models in one account$0.15 per 1M input tokens8.5
10CerebrasApps where output speed decides the user experience$0.35 per 1M input tokens8.0

Decision facts

The call
Google Gemini API, 9.2 out of 10
0.1 points ahead of OpenAI API (9.1)
Products compared
10
Scores run from 8.0 to 9.2
Lowest verified starting price
$0.05 per 1M input tokens
Fireworks AI, quoted from its pricing page
Free plans
2 of 10
Google Gemini API, Groq
Prices quoted word for word
10 of 10
Last checked November 16, 2026
Top capabilities score
OpenAI API, 9.4
Capabilities carries 40% of the total
Top ease of setup score
OpenAI API, 9.1
Ease of setup carries 30% of the total
Top value score
DeepSeek API, 9.6
Value carries 30% of the total

Every fact above is computed from the ranking and the vendor prices on this page.

Decision tree

If this, then that

The winner fits most people. If one of these is true for you, take the branch instead.

Use this page to go from the job your app has to do to the API that fits it. On November 16, 2026 we reopened the pricing page or pricing docs of all 10 providers, plus rate limit and model pages where prices depend on them, and compared documented features and published prices. Scores weight capabilities at 40%, ease of setup at 30% and value at 30%; capabilities here means tool calling, built-in tools, context length, batch and caching options, which decide what an automated workflow or agent can do. The starting price is the USD input price per 1M tokens for the model named in each entry. Output tokens usually cost three to six times more, and that is where most budgets go wrong.

  1. IfYou want the best all-round pick

    PickGoogle Gemini APIHighest weighted score, 9.2 out of 10
  2. IfYou need the most capabilities

    PickOpenAI APICapabilities 9.4, top score here
  3. IfYou want the fastest setup

    PickOpenAI APIEase of setup 9.1, top score here
  4. IfYou want the most for your money

    PickDeepSeek APIValue 9.6, top score here
  5. IfYou want to start for free

    PickGoogle Gemini APITop ranked free plan, No. 1
  6. IfYou want the lowest paid price

    PickFireworks AIFrom $0.05 per 1M input tokens

By situation

  1. IfTeams building coding agents and long-document apps

    PickAnthropic APINo. 3, 8.9 out of 10
  2. IfDevelopers who need fast open-model replies and a free plan

    PickGroqNo. 5, 8.7 out of 10
  3. IfTeams that want one flagship model and simple choices

    PickxAI APINo. 6, 8.6 out of 10
  4. IfTeams that want open weights from a European vendor

    PickMistral AINo. 8, 8.5 out of 10
  5. IfML teams that fine-tune and serve open models in one account

    PickTogether AINo. 9, 8.5 out of 10
  6. IfApps where output speed decides the user experience

    PickCerebrasNo. 10, 8.0 out of 10

Spec sheet

Vendor-documented specs. Click a column to sort.

ProductFree plan or trialSetupMax context
1Google Gemini API9.2$0.10Free planGemini API, Batch API, Live API, Google AI StudioGoogle Search and Google Maps grounding, code execution, file searchSelf-serve1M tokens
2OpenAI API9.1$0.10NoResponses API, Batch API, Realtime API, Agents SDKWeb search, file search, computer use, MCP connectionsSelf-serve1.05M tokens
3Anthropic API8.9$0.10NoClaude API, Batch API, AWS, Google Cloud, Microsoft FoundryWeb search, web fetch, code execution, MCPSelf-serve1M tokens
4DeepSeek API8.9$0.30NoOpenAI format, Anthropic format, Responses APIClaude Code, Codex, OpenCode and other agent integrationsSelf-serve1M tokens
5Groq8.7$0.15Free planOpenAI compatibility, Responses API, Batch, FlexCode execution, browser search, remote MCP connectorsSelf-serve131,072 tokens
6xAI API8.6$2NoREST API, Batch API, Voice API, Imagine APIWeb search, X search, code execution, remote MCPSelf-serve500K tokens
7Fireworks AI8.5$0.05NoServerless, On-demand GPUs, Reserved capacity, Serverless trainingNot publishedBothVaries by model
8Mistral AI8.5$0.50NoAPI, Batch, Mistral Studio100+ connectors in VibeBothNot published
9Together AI8.5$0.15NoServerless, Batch, Dedicated inference, GPU clustersNot publishedBothVaries by model
10Cerebras8.0$0.35NoShared Inference, Dedicated Inference, OpenAI compatibilityAWS Marketplace, OpenRouter, Hugging Face, VercelSelf-serve~3,000 tokens/s (GPT OSS 120B)
  1. No. 1 · The call9.2 / 10

    Google Gemini API

    Google's developer API for the Gemini model family, with a free tier, paid tiers and 1M-token context models.

    Best forTeams that want a free tier and long context from one vendor

    Capabilities
    9.2
    Ease of setup
    9.0
    Value
    9.3

    Price$0.10 per 1M input tokens

    Free tier on many models; paid from $0.10 per 1M input tokens on Gemini 2.5 Flash-Lite

    Quoted from the Google Gemini API pricing page on November 16, 2026: Input price (text, image, video) * Free of charge * $0.10 (text / image / video) $0.30 (audio)

    Max context1M tokens

    Plus

    • +The only major first-party API here with a real free tier
    • +1M-token context on Gemini 4 Argon and other current models
    • +Spend-based tiers upgrade automatically once billing is linked

    Minus

    • −Gemini 4 Argon is not available on the free tier
    • −Thinking tokens and tool system instructions are billed as tokens
    • −Many model versions and processing modes make cost estimates harder
    Cheapest paid text input
    $0.10 per 1M tokens (Gemini 2.5 Flash-Lite)
    Gemini 3.5 Flash-Lite
    $0.30 in, $2.50 out per 1M tokens
    Context
    1M tokens on Gemini 4 Argon
    Tier 2
    Paid $100 plus 3 days from first payment
    Full notes on Google Gemini API

    The Gemini API is the strongest all-round pick for teams that care about price per token and context length at the same time. Google publishes a free tier where input and output are free of charge on many models, so a prototype can run without a card. Paid prices are low: Gemini 2.5 Flash-Lite costs $0.10 per 1M text input tokens and Gemini 3.5 Flash-Lite $0.30 in and $2.50 out, while the flagship Gemini 4 Argon offers a 1M-token context and long decodes. Each model has Standard, Batch, Flex and Priority modes, and tools such as Google Search grounding include 5,000 free requests a month on Gemini 3 and newer models before per-request fees. Rate limits follow tiers: Tier 1 needs a linked billing account, Tier 2 needs $100 paid plus 3 days, and Tier 3 needs $1,000 plus 30 days. The trade-off is complexity: there are many models and modes, thinking tokens are billed, and the top model is paid only.

    Visit ai.google.dev|Full Google Gemini API profile

  2. No. 29.1 / 10

    OpenAI API

    OpenAI's platform for GPT models, with the Responses API, built-in tools, realtime voice and batch processing.

    Best forProduct teams that want built-in tools, voice and agents from one vendor

    Capabilities
    9.4
    Ease of setup
    9.1
    Value
    8.7

    Price$0.10 per 1M input tokens

    Pay as you go; GPT-6 Luna costs $0.10 per 1M input tokens and $0.50 per 1M output tokens

    Quoted from the OpenAI API pricing page on November 16, 2026: GPT-6 Luna Our most efficient model for focused, high-volume tasks. Price Input: $0.10 / 1M tokens

    Max context1.05M tokens

    Plus

    • +The broadest tool and agent surface of any vendor on this list
    • +1.05M-token context window across the GPT-6 models
    • +Monthly budget and per-project billing limits in the dashboard

    Minus

    • −Top model GPT-6 Astra costs $10 in and $50 out per 1M tokens
    • −Listed prices apply to context lengths under 272K
    • −No free tier for API calls; ChatGPT plans are billed separately
    GPT-6 Luna
    $0.10 in, $0.50 out per 1M tokens
    GPT-6.1 Sol
    $2 in, $10 out per 1M tokens
    Context window
    1.05M tokens
    Usage tiers
    Free, Build ($5), Launch ($100), Grow ($500 in credit purchases)
    Full notes on OpenAI API

    The OpenAI API remains the most complete platform for building production features, and its price ladder now runs from very cheap to premium. GPT-6 Luna costs $0.10 per 1M input tokens and $0.50 per 1M output tokens, GPT-6.1 Terra $1 and $5, GPT-6.1 Sol $2 and $10, and GPT-6 Astra $10 and $50. The models page lists a 1.05M-token context window and 128K maximum output across the GPT-6 family. Built-in tools include web search, file search and computer use, and the platform adds realtime voice, transcription and image models. Cost controls are good: the Batch API cuts input and output prices by 50%, flex processing trades speed for price, and you can set a monthly budget per project. Rate limits rise through Free, Build, Launch and Grow tiers as credit purchases pass $5, $100 and $500. Note that standard rates apply under 272K context, and there is no free API tier.

    Visit openai.com|Full OpenAI API profile

  3. No. 38.9 / 10

    Anthropic API

    Anthropic's Claude Platform API for the Claude model family, also offered through AWS, Google Cloud and Microsoft Foundry.

    Best forTeams building coding agents and long-document apps

    Capabilities
    9.3
    Ease of setup
    8.9
    Value
    8.4

    Price$0.10 per 1M input tokens

    Pay as you go; Claude Haiku 5.5 costs $0.10 per 1M input tokens for prompts up to 100,000 tokens

    Quoted from the Anthropic API pricing page on November 16, 2026: Claude Haiku 5.5 For high-volume, latency-sensitive tasks such as classification, extraction, and routing $0.10 / MTok for prompts up to 100,000 tokens

    Max context1M tokens

    Plus

    • +Full 1M context at standard pricing on Claude 4.6 and later, except Haiku 5.5
    • +Discounts for batch and caching stack
    • +Same models on three major clouds

    Minus

    • −Haiku 5.5 input costs five times more for prompts over 100,000 tokens
    • −Monthly spend caps per tier, starting at $500 on the Start tier
    • −Only a small amount of free credits for new users
    Claude Haiku 5.5
    $0.10 in, $0.50 out per 1M tokens up to 100K prompts
    Claude Sonnet 5.5
    $2 in, $10 out per 1M tokens
    Context window
    1M tokens, 128K max output
    Spend caps
    Start $500, Build $1,000, Scale $200,000 a month
    Claude Fable 5.2
    $8 in, $40 out per 1M tokens
    Full notes on Anthropic API

    Anthropic's API is the strongest choice for long-context and agentic work where per-token price is not the only factor. Claude Haiku 5.5 costs $0.10 per 1M input tokens and $0.50 per 1M output tokens for prompts up to 100,000 tokens, Claude Sonnet 5.5 costs $2 and $10, and Claude Opus 5.5 $4 and $20. The models overview lists a 1M-token context window and 128K max output on current models, and Claude 4.6 and later models other than Haiku 5.5 bill the full 1M window at standard rates. Prompt caching charges cache hits at 5% of the input price, the Batch API halves prices, and the two discounts stack. Code execution is free when paired with web search or web fetch. Rate limits are set by usage tier, with monthly spend caps of $500 on Start, $1,000 on Build and $200,000 on Scale, which new apps can outgrow quickly. Haiku 5.5 input also rises from $0.10 to $0.50 per 1M tokens above 100,000-token prompts.

    Visit anthropic.com|Full Anthropic API profile

  4. No. 48.9 / 10

    DeepSeek API

    DeepSeek's API for its Flash and V4 Pro models, with OpenAI-format and Anthropic-format endpoints.

    Best forCost-first teams that can schedule work off-peak

    Capabilities
    8.4
    Ease of setup
    8.8
    Value
    9.6

    Price$0.30 per 1M input tokens

    Pay as you go; deepseek-flash costs $0.30 per 1M input tokens (cache miss) at peak and $0.15 off-peak

    Quoted from the DeepSeek API pricing page on November 16, 2026: 1M INPUT TOKENS (CACHE MISS) OFF-PEAK $0.15 $0.66 PEAK $0.3 $1.32

    Max context1M tokens

    Plus

    • +Very low prices, especially on cache hits and off-peak hours
    • +Drop-in endpoints for OpenAI and Anthropic SDKs
    • +Concurrency limits of 2,500 for Flash and 500 for V4 Pro

    Minus

    • −Peak and off-peak pricing makes bills harder to predict
    • −Vision is not supported on deepseek-v4-pro
    • −A small model lineup compared with larger vendors
    deepseek-flash input (cache miss)
    $0.30 peak, $0.15 off-peak per 1M tokens
    deepseek-flash output
    $1.20 peak, $0.60 off-peak per 1M tokens
    Context length
    1M tokens, max output 384K
    Concurrency limit
    2,500 (Flash), 500 (V4 Pro)
    Full notes on DeepSeek API

    DeepSeek's API is the value pick for teams that want long context without paying frontier prices. The deepseek-flash model costs $0.30 per 1M input tokens on a cache miss and $1.20 per 1M output tokens at peak, and off-peak rates are half that. Cache hits drop input to $0.006 per 1M tokens at peak and $0.003 off-peak. Both deepseek-flash and deepseek-v4-pro support a 1M-token context and up to 384K output, with JSON output, tool calls and a thinking mode. Base URLs in OpenAI and Anthropic formats let existing SDKs and agent tools point at DeepSeek with a config change. Instead of token-per-minute tiers, DeepSeek publishes concurrency limits of 2,500 for Flash and 500 for V4 Pro. The catches: peak hours fall on weekday mornings UTC, so bills depend on timing; V4 Pro has no vision support; and the lineup is small next to OpenAI or Google.

    Visit deepseek.com|Full DeepSeek API profile

  5. No. 58.7 / 10

    Groq

    GroqCloud inference API running open models on Groq's LPU hardware, with an OpenAI-compatible endpoint.

    Best forDevelopers who need fast open-model replies and a free plan

    Capabilities
    8.0
    Ease of setup
    9.0
    Value
    9.2

    Price$0.15 per 1M input tokens

    Free plan; developer plan from $0.15 per 1M input tokens on GPT OSS 120B

    Quoted from the Groq pricing page on November 16, 2026: openai/gpt-oss-120b 500 $0.15 input $0.60 output 250K TPM 1K RPM 131,072

    Max context131,072 tokens

    Plus

    • +Speed figures are published for every production model
    • +A free plan with clear RPM, RPD and TPM limits
    • +Developer plan limits of 250K TPM and 1K RPM on GPT OSS models

    Minus

    • −Context windows top out around 131K to 197K tokens
    • −No first-party frontier closed models
    • −Some Llama and MiniMax models are contact-sales only
    GPT OSS 120B
    $0.15 in, $0.60 out per 1M tokens
    GPT OSS 20B
    $0.075 in, $0.30 out per 1M tokens
    Developer plan limits
    250K TPM, 1K RPM on GPT OSS models
    Context window
    131,072 tokens on GPT OSS models
    Full notes on Groq

    Groq is the speed specialist on this list. GroqCloud runs open models on Groq's own LPU hardware and publishes a speed figure for each one: about 500 tokens per second for GPT OSS 120B and 1,000 for GPT OSS 20B. Prices are low, at $0.15 in and $0.60 out per 1M tokens for GPT OSS 120B and $0.075 and $0.30 for GPT OSS 20B. Groq is also clear on rate limits. The models page lists developer plan limits of 250K tokens per minute and 1K requests per minute for the GPT OSS models, and the rate limits page lists a free plan with its own caps, such as 30 RPM and 200K tokens per day on GPT OSS 20B. The API is OpenAI compatible and supports batch and flex service tiers. The limits are context, around 131K tokens on GPT OSS, and model choice: there are no closed frontier models, and some catalog models are sales-only.

    Visit groq.com|Full Groq profile

  6. No. 68.6 / 10

    xAI API

    xAI's API for Grok 4.7 plus voice, image and video models, with tiered rate limits based on spend.

    Best forTeams that want one flagship model and simple choices

    Capabilities
    8.5
    Ease of setup
    8.7
    Value
    8.6

    Price$2 per 1M input tokens

    Pay as you go; Grok 4.7 costs $2.00 per 1M input tokens and $6.00 per 1M output tokens

    Quoted from the xAI API pricing page on November 16, 2026: grok-4.7 Our flagship model for code and everything else: agentic tool calling, minimal hallucinations, configurable reasoning. Context 500k tokens Input $2.00 / 1M tokens

    Max context500K tokens

    Plus

    • +One recommended model for code, chat and tools keeps choice simple
    • +Output at $6 per 1M tokens is low for a flagship model
    • +Tiers rise automatically at $50, $250, $1,000 and $5,000 in spend

    Minus

    • −No small, cheap text model in the current lineup
    • −500K context is half that of OpenAI, Google and Anthropic
    • −No access to current events unless search tools are enabled
    Grok 4.7
    $2.00 in, $6.00 out per 1M tokens
    Context
    500K tokens
    Knowledge cutoff
    May 2026
    Rate limit tiers
    Tier 0 at $0 to Tier 4 at $5,000 cumulative spend
    Full notes on xAI API

    xAI keeps its API simple: Grok 4.7 is the recommended model for code, chat and everything else outside media. It costs $2.00 per 1M input tokens and $6.00 per 1M output tokens with a 500K-token context and configurable reasoning, which makes output cheaper than most flagship rivals. Server-side tools cover web search, X search, code execution and remote MCP, and the platform adds a batch API, deferred completions, prompt caching and regional endpoints. A Voice API and Imagine API handle speech, images and video. Rate limits scale through tiers based on cumulative spend since January 1, 2026: Tier 0 at $0, then $50, $250, $1,000 and $5,000, and xAI says tiers never downgrade. The gaps are a missing budget model for high-volume tasks and a context window half the size of the leaders. Grok also has no knowledge of current events unless search tools are on.

    Visit x.ai|Full xAI API profile

  7. No. 78.5 / 10

    Fireworks AI

    An inference platform for open models with serverless, on-demand GPU and reserved capacity options.

    Best forTeams serving open models that expect to outgrow serverless

    Capabilities
    8.4
    Ease of setup
    8.2
    Value
    9.0

    Price$0.05 per 1M input tokens

    Pay as you go; serverless from $0.05 per 1M input tokens on NVIDIA Nemotron 3.5 Lightning 30B A3B

    Quoted from the Fireworks AI pricing page on November 16, 2026: NVIDIA Nemotron 3.5 Lightning 30B A3B $0.05 $0.01 $0.20

    Max contextVaries by model

    Plus

    • +The lowest verified input price on this list at $0.05 per 1M tokens
    • +Clear path from serverless to on-demand and reserved GPUs
    • +Monthly spend limits and auto reload on serverless

    Minus

    • −Spot capacity can drop to zero and needs retries
    • −Model catalog and prices change often
    • −Context limits are set per model rather than one headline figure
    Nemotron 3.5 Lightning 30B A3B
    $0.05 in, $0.20 out per 1M tokens
    GPT OSS 120B
    $0.15 in, $0.60 out per 1M tokens
    Spot rates
    30% off standard on select models
    Batch
    50% off input and output
    Full notes on Fireworks AI

    Fireworks AI is a production inference platform for open models, and it lists the lowest verified serverless price on this list: NVIDIA Nemotron 3.5 Lightning 30B A3B at $0.05 per 1M input tokens and $0.20 per 1M output tokens. Larger models are priced in the same table, such as GPT OSS 120B at $0.15 and $0.60 or Kimi K3 at $3.00 and $15.00, each with a cached input rate and a priority rate. Spot capacity runs 30% below standard on select models, and US-only serverless costs a 50% premium where offered. When traffic is steady, Fireworks offers on-demand GPUs and reserved capacity with a throughput SLA and 99.9% uptime terms. Batch jobs run at 50% off input and output, and serverless accounts can set monthly spend limits with auto reload. The caveats are spot capacity that can fall to zero, frequent catalog changes and context limits that vary by model.

    Visit fireworks.ai|Full Fireworks AI profile

  8. No. 88.5 / 10

    Mistral AI

    Mistral's API and Studio for its own models, including open-weight Mistral Large 4 and Apache 2.0 Mistral Small 4.

    Best forTeams that want open weights from a European vendor

    Capabilities
    8.2
    Ease of setup
    8.5
    Value
    8.8

    Price$0.50 per 1M input tokens

    Pay as you go; Mistral Large costs $0.50 per 1M input tokens and $1.50 per 1M output tokens

    Quoted from the Mistral AI pricing page on November 16, 2026: For example, Mistral Large costs $0.5 /M tokens in and $1.5 /M tokens out.

    Max contextNot published

    Plus

    • +A flagship model at $0.50 in and $1.50 out per 1M tokens
    • +Open-weight licenses allow self-hosting
    • +Usage tracking in the Mistral Studio dashboard

    Minus

    • −Context windows are not stated on the models overview we checked
    • −Published rate limit tiers were not available when we checked
    • −Several model versions retire within months
    Mistral Large
    $0.50 in, $1.50 out per 1M tokens
    Batch discount
    50%
    Cached input
    Up to 90% cheaper
    Licenses
    Apache 2.0 (Small 4), Mistral open weight (Large 4)
    Full notes on Mistral AI

    Mistral AI is the European option on this list and the one most focused on open weights. Its pricing FAQ gives Mistral Large at $0.50 per 1M input tokens and $1.50 per 1M output tokens, a low price for a flagship model, and says batch processing cuts prices by 50% and cached input by up to 90%. The models overview lists Mistral Large 4 as an open-weight general-purpose multimodal model and Mistral Small 4 under Apache 2.0, so teams can move a workload to their own hardware later. The same platform carries OCR, Voxtral speech and moderation models, and Mistral Studio tracks API calls and spend. Mistral also sells consumer and coding plans under the Vibe brand. The weak spots for a developer comparing APIs are documentation gaps: the pages we checked did not state context windows for the main models or publish rate limit tiers, and several model versions have retirement dates within months.

    Visit mistral.ai|Full Mistral AI profile

  9. No. 98.5 / 10

    Together AI

    An AI cloud for open models with serverless and batch inference, dedicated endpoints, fine-tuning and GPU clusters.

    Best forML teams that fine-tune and serve open models in one account

    Capabilities
    8.4
    Ease of setup
    8.3
    Value
    8.8

    Price$0.15 per 1M input tokens

    Pay as you go; GLM-5.3-Flash costs $0.15 per 1M input tokens and $0.50 per 1M output tokens

    Quoted from the Together AI pricing page on November 16, 2026: GLM-5.3-Flash $0.15 $0.03 (cached) $0.50

    Max contextVaries by model

    Plus

    • +A broad catalog including GLM, Kimi, MiniMax, Qwen and DeepSeek models
    • +Fine-tuning and GPU clusters next to inference
    • +Cached input prices listed on most models

    Minus

    • −Limits can tighten on models in high demand
    • −Pricing table is long and changes with the catalog
    • −Context window depends on each hosted model
    GLM-5.3-Flash
    $0.15 in, $0.50 out per 1M tokens
    DeepSeek V4.1 Flash
    $0.30 in, $1.20 out per 1M tokens
    Kimi K3
    $3.00 in, $15.00 out per 1M tokens
    Products
    Serverless, batch, provisioned throughput, fine-tuning, GPU clusters
    Full notes on Together AI

    Together AI fits teams that want open models and the infrastructure around them in one account. Its pricing table covers models from Z.ai, Moonshot, MiniMax, Qwen, NVIDIA and DeepSeek, with GLM-5.3-Flash at $0.15 per 1M input tokens and $0.50 per 1M output tokens, DeepSeek V4.1 Flash at $0.30 and $1.20, and Kimi K3 at $3.00 and $15.00. Most rows also list a cached input price. Beyond serverless, Together sells batch inference, provisioned throughput with SLAs, dedicated inference, fine-tuning and GPU clusters, so a team can train and serve on the same platform. The downsides are a long, shifting price list and context limits that vary by model.

    Visit together.ai|Full Together AI profile

  10. No. 108.0 / 10

    Cerebras

    An inference API that serves open models on Cerebras wafer-scale hardware, with published speeds of about 3,000 tokens per second on GPT OSS 120B.

    Best forApps where output speed decides the user experience

    Capabilities
    7.6
    Ease of setup
    8.6
    Value
    8.0

    Price$0.35 per 1M input tokens

    Pay as you go; GPT OSS 120B costs $0.35 per 1M input tokens and $0.75 per 1M output tokens

    Quoted from the Cerebras pricing page on November 16, 2026: GPT OSS 120B ~3000 tokens/s $0.35/M tokens $0.75/M tokens

    Speed~3,000 tokens/s (GPT OSS 120B)

    Plus

    • +The highest published output speed on this list
    • +A one-time $5 credit when you add a payment method
    • +Also reachable through OpenRouter, Hugging Face and Vercel

    Minus

    • −Only two models on shared inference
    • −Cerebras says the Developer tier is not intended for production use
    • −Context of 131K tokens on GPT OSS 120B, 65K on the free trial
    GPT OSS 120B
    $0.35 in, $0.75 out per 1M tokens
    Qwen 3.8 27B
    $0.99 in, $1.49 out per 1M tokens
    Context (free / paid)
    65K / 131K on GPT OSS 120B
    Promotional credit
    $5, expires after 30 days
    Full notes on Cerebras

    Cerebras is the pick when tokens per second matter more than catalog size. Its pricing page lists GPT OSS 120B at about 3,000 tokens per second for $0.35 per 1M input tokens and $0.75 per 1M output tokens, and Qwen 3.8 27B at about 1,850 tokens per second for $0.99 and $1.49. That makes it roughly three times faster than the speed Groq publishes for the same GPT OSS 120B model, though Groq is cheaper at $0.15 in. The API is OpenAI compatible and supports tool calling, structured outputs and prompt caching, so an agent loop that makes many short calls can finish sooner. New accounts get a one-time $5 credit that expires after 30 days. The limits are real: shared inference carries just two models, context is 131K tokens on paid and 65K on the free trial, and Cerebras describes the Developer tier as meant for development and evaluation, with production capacity and SLAs sold through Dedicated Inference.

    Visit cerebras.ai|Full Cerebras profile

Before you decide

Checklist

  1. 1

    If your agent calls tools, check which tools are built in

    OpenAI includes web search at $10 per 1,000 calls, file search and computer use. Gemini includes 5,000 free Google Search grounding requests a month on Gemini 3 and newer models, then $14 per 1,000. Anthropic offers web search, web fetch and code execution, and xAI adds X search. Open-model hosts such as Fireworks, Together and Cerebras give you tool calling, but you bring your own search and retrieval.

  2. 2

    Price output tokens, not only input

    The most common budgeting mistake is pricing only the headline input rate. GPT-6 Luna is $0.10 in and $0.50 out per 1M tokens, Grok 4.7 is $2.00 in and $6.00 out, and deepseek-flash is $0.30 in and $1.20 out at peak. Agents that write long plans or code spend most of their budget on output.

  3. 3

    If you send long prompts, read how context is billed

    OpenAI's listed rates apply to context under 272K tokens. Anthropic's Claude Haiku 5.5 goes from $0.10 to $0.50 per 1M input tokens once a prompt passes 100,000 tokens. DeepSeek offers 1M tokens with up to 384K output, xAI 500K, and Groq and Cerebras about 131K on GPT OSS 120B.

  4. 4

    If jobs can wait, use batch, caching and off-peak rates

    OpenAI, Anthropic, Mistral and Fireworks cut batch prices by 50%. Anthropic bills cache hits on Opus 5.5 and Sonnet 5.5 at 5% of the input price, Mistral says cached input is up to 90% cheaper, and DeepSeek charges half price outside peak hours of 01:00 to 04:00 and 06:00 to 10:00 UTC on weekdays.

  5. 5

    Know where rate limits come from before launch

    xAI moves you from Tier 0 to Tier 4 as cumulative spend passes $50, $250, $1,000 and $5,000. Anthropic caps monthly spend at $500 on its Start tier. DeepSeek limits concurrency instead, at 2,500 requests for deepseek-flash, and Groq's free plan allows 30 requests per minute on GPT OSS models.

Asked and answered

Questions readers ask

QWhat is the best LLM API in 2026?
AThe Google Gemini API ranks first on our list. It combines a free tier, paid text input from $0.10 per 1M tokens on Gemini 2.5 Flash-Lite and 1M-token context on Gemini 4 Argon.
QWhich LLM API is the cheapest?
AFireworks AI has the lowest verified price, $0.05 per 1M input tokens on NVIDIA Nemotron 3.5 Lightning 30B A3B. Among first-party vendors, Gemini 2.5 Flash-Lite, GPT-6 Luna and Claude Haiku 5.5 each start at $0.10, and deepseek-flash costs $0.15 off-peak.
QWhich LLM API is best for building AI agents?
AOpenAI is the strongest pick if you want tools built in, with web search, file search and computer use on the platform. Anthropic is the better fit for coding agents, and Cerebras suits agents that make many short calls, at about 3,000 tokens per second on GPT OSS 120B.
QIs there a free LLM API?
AYes, the Gemini API and Groq both have free plans. Gemini lists free-of-charge input and output on many models, and Groq's free plan allows 30 requests per minute on its GPT OSS models.
QWhich LLM API is the fastest?
ACerebras publishes the highest speed on this list, about 3,000 tokens per second on GPT OSS 120B. Groq lists about 1,000 tokens per second on GPT OSS 20B and about 500 on GPT OSS 120B.
QCan I switch LLM APIs without rewriting my code?
AOften yes. DeepSeek offers OpenAI and Anthropic compatible base URLs, and Groq and Cerebras accept OpenAI-format requests, so many apps only change the base URL, key and model name.
QHow do LLM API rate limits work?
AMost vendors raise limits as you spend. xAI moves from Tier 0 to Tier 4 as cumulative spend passes $50, $250, $1,000 and $5,000, Anthropic caps monthly spend at $500 on its Start tier, and DeepSeek limits concurrency to 2,500 on deepseek-flash.

How the call is made

Three dials, same weights for every product

Every entry gets a 0 to 10 rating on each criterion, and the order follows the weighted total. Ratings rest on documented features and published prices on each maker's own pages, never hands-on testing.

Read the full method

Sourced numbers behind this topic

  • 40%Capabilities
  • 30%Ease of setup
  • 30%Value

Spotted an error or a price change? Write to editorial@dbotmaker.io. How we work is in our editorial policy. Makers change prices and terms often, so check the price on their site before you buy.

Sources and price checks

  1. Google Gemini API, price quoted, checked November 16, 2026ai.google.dev/gemini-api/docs/pricing.md.txt
  2. OpenAI API, price quoted, checked November 16, 2026openai.com/api/pricing
  3. Anthropic API, price quoted, checked November 16, 2026platform.claude.com/docs/en/about-claude/pricing
  4. DeepSeek API, price quoted, checked November 16, 2026api-docs.deepseek.com/quick_start/pricing
  5. Groq, price quoted, checked November 16, 2026console.groq.com/docs/models
  6. xAI API, price quoted, checked November 16, 2026docs.x.ai/docs/models
  7. Fireworks AI, price quoted, checked November 16, 2026fireworks.ai/pricing
  8. Mistral AI, price quoted, checked November 16, 2026mistral.ai/pricing
  9. Together AI, price quoted, checked November 16, 2026together.ai/pricing
  10. Cerebras, price quoted, checked November 16, 2026cerebras.ai/pricing

Cite this page

DBotMaker. 10 Best LLM APIs of 2026. Updated November 16, 2026. https://dbotmaker.io/best/best-llm-apis

Related decisions