TopToolAdvisor
AI tools · Shortlist

10 Best LLM APIs of 2026

By the TopToolAdvisor research desk · Updated November 7, 2026 · Next review December 22, 2026 · 10 products scored

Our pickOpenAI APIDevelopers who want one provider covering text, image, realtime voice and transcription, from a $0.10 small model up to a frontier model.9.2

Our pick in brief

The OpenAI API is the best default: four GPT-6 tiers from $0.10 to $10 per 1M input tokens, plus voice, image and built-in tools on one account. The Google Gemini API is the best place to start for free and stays cheap at scale. The Anthropic API has the clearest caching prices and models built for coding agents. Groq is the fastest documented option, Fireworks AI and Together AI are the strongest open model clouds, DeepSeek is the cheapest long-context model, Mistral offers open-weight flagships, and Azure OpenAI and Amazon Bedrock suit companies that need models inside an existing cloud contract.

Quick answer

The OpenAI API is the best LLM API for developers who want text, voice and image models from one provider in 2026; the Google Gemini API suits developers who want a free tier and low Flash-Lite rates; Fireworks AI has the lowest starting price at $0.05 per 1M input tokens.

This list is for developers choosing a model API for an app, agent or data pipeline, on quality, speed and token price. We compared documented features and published prices for 10 APIs: frontier labs that sell their own models, fast inference clouds for open-weight models, and the two big cloud platforms. Prices are the input price per 1M tokens for the cheapest text model on each pricing page, in US dollars, on the date we checked. Output tokens cost more, often four to five times the input rate, so read the facts for each entry. Amazon Bedrock loads prices dynamically, so its price is marked pending. Several vendors publish promotional rates with set end dates, which we note where they apply.

By the numbers

Shortlist scores

  1. 1OpenAI APIDevelopers who want one provider covering text, image, realtime voice and transcription, from a $0.10 small model up to a frontier model.9.2
  2. 2Anthropic APITeams building coding tools, agents and long-document work who want Claude models with detailed caching controls.9.0
  3. 3Google Gemini APIDevelopers who want to prototype for free and then pay low per-token rates for long-context and multimodal work.9.0
  4. 4Fireworks AITeams serving open-weight models in production who want to trade speed against cost per request.8.5
  5. 5GroqDevelopers who need very fast responses from open-weight models such as GPT OSS 20B and 120B.8.5
  6. 6Together AITeams that want many open models behind one API and may later fine-tune or move to dedicated hardware.8.5
  7. 7DeepSeek APICost-focused developers who want a 1M-token context model and can schedule work into off-peak hours.8.4
  8. 8Mistral APITeams that want European-built models with open weights, plus OCR and speech from the same provider.8.3
  9. 9Azure OpenAICompanies already on Azure that need OpenAI models with Microsoft contracts, data boundaries and reserved capacity.8.1
  10. 10Amazon BedrockAWS customers who want many model families with AWS billing, IAM and data controls.8.0

How the scores work

Each product is rated out of 10 on the same three criteria, then ranked by the weighted total. Scores compare documented features and published prices, not hands-on testing.

  • 35%Features
  • 35%Ease of use
  • 30%Value

Read the scoring method

  1. No. 1, our pick

    OpenAI API

    OpenAI's developer platform for the GPT-6 family, image, voice and transcription models, with built-in tools such as web search.

    9.2of 10

    Best for Developers who want one provider covering text, image, realtime voice and transcription, from a $0.10 small model up to a frontier model.

    Features
    9.4
    Ease of use
    9.2
    Value
    8.8

    Price

    Pay per token; GPT-6 Luna from $0.10 per 1M input tokens

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

    The OpenAI API ranks first because it covers the most ground from one account. The pricing page lists four GPT-6 tiers: Astra at $10 input and $50 output per 1M tokens for the hardest work, GPT-6.1 Sol at $2 and $10 for coding and agents, GPT-6.1 Terra at $1 and $5 for visual reasoning and computer use, and GPT-6 Luna at $0.10 and $0.50 for high-volume tasks. The same platform sells image generation, realtime voice, live transcription and translation, plus tools such as web search and hosted containers, so a team can build a whole product without a second vendor. Batch processing cuts input and output prices by 50% for jobs that can wait up to 24 hours, and cached input is billed at a tenth of the input rate or less. The trade-offs are cost at the top end and the lack of a listed free tier. Teams with strict data location needs also pay a 10% uplift for regional processing.

    Strengths

    • +The widest single-vendor model range here, covering text, image, voice and transcription
    • +GPT-6 Luna matches the lowest frontier-lab input price on this list at $0.10 per 1M tokens
    • +Batch at 50% off makes offline jobs cheaper without changing models

    Drawbacks

    • −No permanent free API tier is listed on the pricing page
    • −GPT-6 Astra output costs $50 per 1M tokens
    • −Regional data residency adds a 10% surcharge
    Cheapest text model
    GPT-6 Luna, $0.10 input and $0.50 output per 1M tokens
    Flagship
    GPT-6 Astra, $10 input and $50 output per 1M tokens
    Batch discount
    50% on inputs and outputs

    Visit openai.com|See the OpenAI API profile

  2. No. 2

    Anthropic API

    Anthropic's Claude Platform API for the Claude Fable, Opus, Sonnet and Haiku models, with prompt caching and batch pricing.

    9.0of 10

    Best for Teams building coding tools, agents and long-document work who want Claude models with detailed caching controls.

    Features
    9.3
    Ease of use
    9.0
    Value
    8.6

    Price

    Pay per token; Claude Haiku 5.5 from $0.10 per 1M input tokens

    Quoted from the Anthropic API pricing page on November 7, 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

    The Anthropic API ranks third, close behind Gemini, with the clearest pricing page on the list: every Claude model, cache write and cache hit price sits in one USD table. Claude Fable 5.1 targets demanding reasoning and long-horizon agent work at $10 input and $50 output per 1M tokens. Opus 5.5 is $4 and $20 and is described for long-running agentic coding, Sonnet 5.5 is $2 and $10, and Haiku 5.5 is $0.10 input for prompts up to 100,000 tokens, rising to $0.50 above that. Prompt caching has 5-minute and 1-hour write options, and cache hits are a small fraction of input cost, which matters for agents that resend long context. The models are also sold through Amazon Bedrock and Google Cloud, so teams can buy through an existing cloud contract. Watch the tokenizer note: newer models produce about 30% more tokens for the same text, which raises the effective price.

    Strengths

    • +Opus 5.5 at $4 input and $20 output per 1M tokens is aimed at long-running agentic coding
    • +Haiku 5.5 costs $0.10 per 1M input tokens for prompts up to 100,000 tokens
    • +Cache hits on Sonnet 5.5 cost $0.10 per 1M tokens

    Drawbacks

    • −No permanent free API tier is listed
    • −Haiku 5.5 input rises to $0.50 per 1M tokens for prompts over 100,000 tokens
    • −The newer tokenizer produces about 30% more tokens for the same text, per the docs
    Cheapest model
    Claude Haiku 5.5, $0.10 input per 1M tokens up to 100,000-token prompts
    Mid tier
    Claude Sonnet 5.5, $2 input and $10 output per 1M tokens
    Top model
    Claude Fable 5.1, $10 input and $50 output per 1M tokens

    Visit claude.com|See the Anthropic API profile

  3. No. 3

    Google Gemini API

    Google's Gemini Developer API, with a free tier in Google AI Studio and paid per-token pricing for Gemini 4, Flash and Flash-Lite models.

    9.0of 10

    Best for Developers who want to prototype for free and then pay low per-token rates for long-context and multimodal work.

    Features
    9.1
    Ease of use
    8.8
    Value
    9.2

    Price

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

    Quoted from the Google Gemini API pricing page on November 7, 2026: $0.10 (text / image / video)

    The Gemini API ranks second because it pairs strong models with the most useful free tier among the large labs. Google AI Studio gives developers free input and output tokens on many models, which is enough to build and test a prototype, though free tier content is used to improve Google products. The paid tier adds higher rate limits, context caching and the Batch API at half price. Gemini 4 Argon is the flagship for complex engineering and long-decode output up to 1M tokens, at $2 input and $10 output per 1M tokens through November 30, 2026, doubling on December 1. Gemini 3.8 Flash is $0.75 input through the end of 2026, and Gemini 2.5 Flash-Lite is $0.10. Grounding with Google Search and Maps is built in, with 5,000 free requests a month before per-request charges. Several prices are promotional and scheduled to rise, so budget against the later rates.

    Strengths

    • +The only frontier-lab API here with a free tier for testing several current models
    • +Flash-Lite models are priced for high-volume work, from $0.10 per 1M input tokens
    • +Long context and native image, video and audio input across the lineup

    Drawbacks

    • −Free tier content is used to improve Google products, so production data belongs on the paid tier
    • −Gemini 4 Argon input rises from $2 to $4 per 1M tokens on December 1, 2026
    • −Search grounding costs $14 per 1,000 requests after the free allowance
    Free tier
    Yes, limited access to certain models
    Flagship
    Gemini 4 Argon, $2 input per 1M tokens through November 30, 2026, then $4
    Batch discount
    50% on the paid tier

    Visit ai.google.dev|See the Google Gemini API profile

  4. No. 4

    Fireworks AI

    An inference platform for open models with Standard, Priority, Fast, Batch and Spot modes on the same serverless endpoint.

    8.5of 10

    Best for Teams serving open-weight models in production who want to trade speed against cost per request.

    Features
    8.4
    Ease of use
    8.2
    Value
    8.9

    Price

    Pay per token; serverless from $0.05 per 1M input tokens

    Quoted from the Fireworks AI pricing page on November 7, 2026: Serverless Pay per token · From $0.05 / 1M input tokens

    Fireworks AI ranks fifth and has the lowest starting price we found, $0.05 per 1M input tokens on its smallest highlighted model. Its pricing page explains a useful idea: every serverless request can pick a mode. Standard is the default, Priority holds up at peak load, Fast targets 100 or more tokens per second, Batch is 50% off, and Spot is 30% off on best-effort capacity that can drop to zero. Cached input is billed at half price or less with no write fee. The highlighted catalog includes Kimi K3 at $3 input, GLM 5.3 at $1.40, DeepSeek V4.1 Flash at $0.30 and GPT OSS 120B at $0.15. For steady traffic, Reserved Throughput adds an SLA and 99.9% uptime terms. The catches are that serverless runs on prepaid credits and US-only processing adds a 50% premium on select models.

    Strengths

    • +The lowest published starting price on this list at $0.05 per 1M input tokens
    • +Switch speed and price mode per request on the same endpoint
    • +No cache write fee

    Drawbacks

    • −Spot capacity can drop to zero, so it needs retries or fallback
    • −US-only serverless costs a 50% premium on select models
    • −Usage draws down prepaid credits
    Starting price
    $0.05 per 1M input tokens (NVIDIA Nemotron 3.5 Lightning 30B A3B)
    Fast mode
    100+ tokens per second for interactive apps
    Batch discount
    50% off input and output

    Visit fireworks.ai|See the Fireworks AI profile

  5. No. 5

    Groq

    GroqCloud, an inference API built on Groq's LPU hardware that publishes tokens-per-second speeds next to each model's price.

    8.5of 10

    Best for Developers who need very fast responses from open-weight models such as GPT OSS 20B and 120B.

    Features
    7.8
    Ease of use
    8.8
    Value
    9.0

    Price

    Free plan; GPT OSS 20B from $0.075 per 1M input tokens

    Quoted from the Groq pricing page on November 7, 2026: GPT OSS 20B openai/gpt-oss-20b 1000 $0.075 input $0.30 output

    Groq ranks fourth on speed and price. Its models page lists tokens per second next to each price, which few vendors do: GPT OSS 20B runs at 1,000 tokens per second for $0.075 input and $0.30 output per 1M tokens, and GPT OSS 120B at 500 tokens per second for $0.15 and $0.60. Both have 131,072-token context windows. The API is OpenAI compatible, so moving an existing app is mostly a base URL change, and there are Free Plan and Developer Plan rate limits plus Batch and Flex tiers. The weakness is choice. The production list is short, and several models such as Llama 3.3 70B and Muse Spark Open are marked Enterprise with Contact Sales pricing. Groq does not sell frontier proprietary models, so it works best alongside a larger provider for tasks where response time matters most.

    Strengths

    • +Speed is documented per model rather than claimed in general terms
    • +GPT OSS 20B at $0.075 input is among the lowest prices here
    • +OpenAI-compatible API makes switching a small code change

    Drawbacks

    • −A short list of production models compared with Together AI or Fireworks AI
    • −Several models, including Llama 3.3 70B, are marked Enterprise with Contact Sales pricing
    • −No first-party frontier proprietary models
    Cheapest LLM
    GPT OSS 20B, $0.075 input and $0.30 output per 1M tokens
    Speed
    1,000 tokens per second on GPT OSS 20B, 500 on GPT OSS 120B
    Context window
    131,072 tokens on GPT OSS models

    Visit groq.com|See the Groq profile

  6. No. 6

    Together AI

    An open-source AI cloud with serverless inference on a large open model catalog, plus fine-tuning, dedicated endpoints and GPU clusters.

    8.5of 10

    Best for Teams that want many open models behind one API and may later fine-tune or move to dedicated hardware.

    Features
    8.5
    Ease of use
    8.1
    Value
    8.8

    Price

    Pay per token; GLM-5.3-Flash at $0.15 per 1M input tokens

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

    Together AI ranks sixth, just behind Fireworks AI on value, and is the broadest open model platform here. The pricing page lists serverless models for chat, vision, image, audio, video, embeddings and rerank, with input, cached input and output prices per 1M tokens: GLM-5.3-Flash at $0.15 input and $0.50 output, MiniMax M3.1 Flash at $0.15 and $0.60, DeepSeek V4.1 Flash 1017 at $0.30 and $1.20, and Kimi K3 at $3 and $15. Beyond serverless, Together sells batch inference, provisioned throughput units, dedicated endpoints for custom models, fine-tuning priced per training token and GPU clusters. That makes it a good home for a team that starts on a hosted model and later wants to fine-tune or run its own. The downside is the size of the menu, and like Groq and Fireworks it does not offer frontier proprietary models.

    Strengths

    • +One of the largest open model catalogs here, including Kimi K3, GLM-5.3, DeepSeek V4 Pro and Qwen models
    • +Fine-tuning and dedicated endpoints sit on the same platform as inference
    • +Cached input prices are listed per model

    Drawbacks

    • −The model table is long, so comparing options takes time
    • −No first-party frontier proprietary models
    • −Dedicated and GPU options are priced per hour, which is harder to estimate
    Example price
    GLM-5.3-Flash, $0.15 input and $0.50 output per 1M tokens
    Large model
    Kimi K3, $3 input and $15 output per 1M tokens
    Fine-tuning
    LoRA and full fine-tuning, priced per 1M tokens

    Visit together.ai|See the Together AI profile

  7. No. 7

    DeepSeek API

    DeepSeek's own API for its Flash and V4 Pro models, compatible with both the OpenAI and Anthropic API formats.

    8.4of 10

    Best for Cost-focused developers who want a 1M-token context model and can schedule work into off-peak hours.

    Features
    7.6
    Ease of use
    8.4
    Value
    9.4

    Price

    Pay per token; deepseek-flash $0.30 per 1M input tokens at peak, half off-peak

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

    The DeepSeek API ranks seventh with the highest value score on the list. Its pricing doc lists two models with a 1M-token context: deepseek-flash, now served by DeepSeek-V4.1-Flash-1017, at $0.30 input and $1.20 output per 1M tokens at peak, and deepseek-v4-pro at $1.32 and $3.96. Cache hits on Flash cost $0.006 per 1M tokens, and every rate halves in off-peak hours, which cover weekends and all weekday hours outside the two UTC peak windows. The API accepts both OpenAI and Anthropic request formats, so tools built for either SDK can switch with a base URL change, and both models support JSON output, tool calls and the Responses API. The limits are scope and options: there are only two models, Pro has no vision input, and there is less enterprise packaging than on Azure or Bedrock.

    Strengths

    • +Cache hits on deepseek-flash cost $0.006 per 1M tokens at peak
    • +Off-peak hours halve every token price
    • +Works with the OpenAI and Anthropic SDKs by changing the base URL

    Drawbacks

    • −Only two models, and vision is not supported on deepseek-v4-pro
    • −Peak hours are weekday UTC windows, so savings depend on timing
    • −Fewer enterprise deployment options than the cloud platforms here
    deepseek-flash
    $0.30 input and $1.20 output per 1M tokens at peak
    deepseek-v4-pro
    $1.32 input and $3.96 output per 1M tokens at peak
    Context
    1M tokens

    Visit deepseek.com|See the DeepSeek API profile

  8. No. 8

    Mistral API

    Mistral AI's API through Mistral Studio, with open-weight Mistral Large 4 and Small 4, Voxtral speech, OCR and hosted third-party models.

    8.3of 10

    Best for Teams that want European-built models with open weights, plus OCR and speech from the same provider.

    Features
    8.0
    Ease of use
    8.3
    Value
    8.6

    Price

    Pay per token; Mistral Large at $0.50 per 1M input tokens

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

    The Mistral API ranks eighth. Its strongest point is open weights: Mistral Large 4 is described as an open-weight multimodal model and Small 4 is released under Apache 2.0, so teams can start on the hosted API and later run the same model themselves. Mistral's pricing page says most models are priced per million tokens and gives Mistral Large as the example at $0.50 input and $1.50 output, which is low for a flagship. Batch processing cuts prices by 50% and cached input tokens cut input cost by up to 90%. OCR, Voxtral speech and tool APIs are priced per page, minute or call. The docs also list hosted third-party models such as GLM 5.3 and DeepSeek V4.1 Flash. The weaker part is transparency: the public pricing page focuses on the Vibe subscription and gives Mistral Large as its only API price example.

    Strengths

    • +Open weights on flagship models allow self-hosting later
    • +Mistral Large at $0.50 input and $1.50 output per 1M tokens is low for a flagship
    • +Document OCR and speech sit alongside the language models

    Drawbacks

    • −The public pricing page focuses on the Vibe subscription and gives one API price example
    • −Fewer published speed figures than Groq or Fireworks AI
    • −Smaller tool ecosystem than OpenAI or Google
    Flagship price
    Mistral Large, $0.50 input and $1.50 output per 1M tokens
    Batch discount
    50%
    Caching
    Up to 90% off input for repeated prompts

    Visit mistral.ai|See the Mistral API profile

  9. No. 9

    Azure OpenAI

    Microsoft's hosted OpenAI models on Azure, with Global, Data Zone and Regional deployments and provisioned throughput.

    8.1of 10

    Best for Companies already on Azure that need OpenAI models with Microsoft contracts, data boundaries and reserved capacity.

    Features
    8.8
    Ease of use
    7.2
    Value
    8.2

    Price

    Pay per token; GPT-6 Luna Global from $0.10 per 1M input tokens

    Quoted from the Azure OpenAI pricing page on November 7, 2026: GPT-6 Luna (short context) Global Input: $0.10 Cached Input: $0.01

    Azure OpenAI ranks ninth because it trades ease of use for enterprise controls. The pricing page shows OpenAI's GPT-6 and GPT-6.1 series at Global rates that match OpenAI's own, with GPT-6 Luna short context at $0.10 input and $0.50 output per 1M tokens. Data Zone deployments keep processing inside the EU or US for a premium, $0.11 input on Luna, and Regional deployments cover up to 27 regions. Microsoft also sells provisioned throughput units with monthly and annual reservations and a Batch API at 50% off Global Standard pricing. For a company already on Azure, this means OpenAI models under an existing Microsoft agreement, network rules and billing, with links into Fabric, Cosmos DB and Azure AI Search. For a small team it is more work: you create resources and deployments before the first call, and the page notes that prices are estimates that depend on your agreement.

    Strengths

    • +Global pricing for GPT-6 Luna matches OpenAI's own $0.10 input rate
    • +Data Zone deployments keep processing in the EU or US
    • +Reserved capacity can be bought on monthly or annual terms

    Drawbacks

    • −Setup runs through Azure subscriptions and deployments, which is slower than an API key
    • −Data Zone prices carry a premium, such as $0.11 for GPT-6 Luna input
    • −Pricing page figures are estimates and depend on your Microsoft agreement
    Cheapest listed model
    GPT-6 Luna short context, $0.10 input per 1M tokens Global
    Deployment types
    Global, Data Zone, Regional
    Batch discount
    50% on Global Standard pricing

    Visit azure.microsoft.com|See the Azure OpenAI profile

  10. No. 10

    Amazon Bedrock

    AWS's managed service for foundation models from Amazon, Anthropic, Meta, Mistral AI, OpenAI, DeepSeek, Google and others under one API.

    8.0of 10

    Best for AWS customers who want many model families with AWS billing, IAM and data controls.

    Features
    9.0
    Ease of use
    7.0
    Value
    8.0

    Price

    See vendor pricing (USD check pending)

    We could not confirm a US price yet. Check the Amazon Bedrock pricing page.

    Amazon Bedrock ranks tenth on our weights, which reward ease of use, but it has the broadest catalog here. The pricing page lists models from AI21 Labs, Amazon, Anthropic, Cohere, DeepSeek, Google, Meta, MiniMax, Mistral AI, Moonshot AI, NVIDIA, OpenAI, Qwen, Writer, xAI and others, sold through one AWS service. Standard, Flex, Priority and Reserved tiers let you trade cost against speed and capacity, and select models get batch inference at 50% lower prices than on-demand. Bedrock also sells Knowledge Bases, Guardrails, model evaluation, prompt routing and custom model import, so it suits teams that want the model layer inside existing AWS security and billing. The cost is complexity: model access, IAM roles and regions come first, and per-model prices are loaded dynamically, so we could not confirm a USD figure from our location. Anthropic's docs also note a 10% premium on regional endpoints for newer Claude models.

    Strengths

    • +The widest choice of model providers on this list
    • +Runs inside AWS accounts, with AWS billing and access control
    • +Includes guardrails, knowledge bases and evaluation tools

    Drawbacks

    • −Per-model prices load dynamically and did not render for our USD check
    • −Setup needs AWS accounts, model access and IAM, which is slower than an API key
    • −Regional endpoints for newer Claude models carry a 10% premium, per Anthropic's docs
    Model providers
    19 listed on the pricing page, including Anthropic, Meta, Mistral AI and OpenAI
    Service tiers
    Standard, Flex, Priority, Reserved
    Batch discount
    50% on select models

    Visit aws.amazon.com|See the Amazon Bedrock profile

What to check before you buy

Compare input and output prices together

Output tokens usually cost four to five times more than input. A chat app with long answers pays mostly for output, while retrieval and classification pay mostly for input. Estimate your ratio before comparing headline prices.

Use caching and batch discounts

Most vendors here cut prices for repeated context and for work that can wait. OpenAI, Gemini, Mistral, Fireworks AI and Azure OpenAI list 50% batch discounts, and cache hits on Claude Sonnet 5.5 cost $0.10 per 1M tokens.

Decide between proprietary and open models

OpenAI, Anthropic and Google sell their own frontier models. Groq, Together AI, Fireworks AI and DeepSeek serve open-weight models that you could also run yourself, which reduces lock-in.

Check speed figures where they are published

Groq lists tokens per second for each model, such as 1,000 for GPT OSS 20B, and Fireworks AI offers a Fast mode at 100 or more tokens per second. Voice and live autocomplete need this kind of speed.

Watch promotional and scheduled price changes

Gemini 4 Argon input doubles from $2 to $4 per 1M tokens on December 1, 2026, and Gemini 3.8 Flash doubles on January 1, 2027. Budget against the later rate.

Use a cloud platform if procurement requires it

Azure OpenAI and Amazon Bedrock bill through existing cloud contracts and add data boundary and access controls. They take longer to set up than a direct API key.

Common questions

What is the best LLM API in 2026?
The OpenAI API is our top pick for most developers, with GPT-6 Luna from $0.10 per 1M input tokens up to GPT-6 Astra at $10. The Google Gemini API ranks second for its free tier, and the Anthropic API ranks third for coding agents and caching.
Which LLM API is the cheapest?
Fireworks AI lists serverless models from $0.05 per 1M input tokens, and Groq charges $0.075 for GPT OSS 20B. Among frontier labs, OpenAI GPT-6 Luna, Gemini 2.5 Flash-Lite and Claude Haiku 5.5 each start at $0.10 per 1M input tokens.
Is there a free LLM API?
Yes. The Gemini API has a free tier with free input and output tokens on certain models, used to improve Google products. Groq also lists Free Plan rate limits. OpenAI and Anthropic do not list a permanent free API tier on their pricing pages.
Which LLM API is the fastest?
Groq publishes speeds per model, including 1,000 tokens per second for GPT OSS 20B and 500 for GPT OSS 120B. Fireworks AI sells a Fast mode at 100 or more tokens per second for interactive apps.
Should I use Azure OpenAI or the OpenAI API?
Global prices on Azure OpenAI match OpenAI's, for example $0.10 per 1M input tokens for GPT-6 Luna. Choose Azure if you need Microsoft contracts, EU or US Data Zones and reserved capacity, and the OpenAI API if you want the fastest setup.
How is LLM API pricing calculated?
Most APIs charge per million tokens, with input and output priced separately and cached input at a discount. Batch processing is usually 50% cheaper, and some vendors add premiums for regional processing or priority capacity.

Questions or corrections: editorial@toptooladvisor.com

No affiliate links and no paid placement; see our disclosure and editorial policy. Vendors update prices without notice, so confirm on their site first.

Related shortlists