theLLMs

Last checked: 2026-05-30

Scope: Global. Provider pricing, latency and safety claims checked against public documentation on 2026-05-30. Pricing changes frequently — verify current rates before procurement decisions. Performance and model availability vary by region and account tier.

AI draft model: gemma4:26b

AI review model: deepseek-r1:32b

Hero image for How to choose an LLM provider: decision framework for teams (pricing, quality, latency, safety)

How to choose an LLM provider: decision framework for teams (pricing, quality, latency, safety)

Choosing an LLM provider in 2026 is not a single yes-or-no decision. It is a structured elimination across four dimensions — pricing, quality, latency and safety — with a fifth (data governance) that overrides the others when your workload is regulated or sensitive.

The providers worth comparing in mid-2026 are:

  • OpenAI — GPT-5 family (premium, mini, fast)
  • Anthropic — Claude 4 family (Opus, Sonnet, Haiku)
  • Google — Gemini 2.5 family (Pro, Flash)
  • DeepSeek — v4 family (Flash, Pro)
  • Mistral — Large, Small, Codestral
  • Meta — Llama 4 (Scout, Maverick) via Groq, Together, self-hosted
  • Cohere — Command R+, Command R
  • AWS Bedrock / Vertex AI / Azure AI — cloud platform access to the above

This framework helps you eliminate fast and choose deliberately. It assumes you are evaluating for a real workload — not browsing benchmarks for general interest.

TL;DR

Eliminate providers in this order: data governance first (training opt-out, regional controls), then quality (your own 50-case eval, not just benchmarks), then latency, cost, and safety. By the end of one pass you will usually have either one clear winner or two candidates for a deeper evaluation. The framework forces you to document your trade-offs — which matters more than the final choice, because provider pricing and model quality shift every quarter.

The decision framework

Step 1: Data governance — the hard filter

This is the only step that eliminates providers unconditionally. If your workload processes personal data, financial information, medical records, or any regulated data, a provider’s data policies are not negotiable.

Compare on five questions, documented against the provider data retention comparison:

  1. Training use: Does the provider train on API inputs? Is there an opt-out, and does it actually work?
  2. Log retention: How long are prompts and outputs retained? Can you delete them on demand?
  3. Region controls: Can you pin traffic to a specific geographic region (EU, UK, US, Asia)?
  4. Abuse monitoring: Are humans reviewing your prompts? Can you opt out of manual review?
  5. Compliance certifications: SOC 2, ISO 27001, HIPAA eligibility, EU AI Act alignment?
ProviderEU/UK region availableTraining opt-out by defaultLog retention defaultSOC 2
OpenAIYes (EU data zone)✅ Opt-out (API)30 days
AnthropicYes (EU/UK)✅ Not used for training (API)30 days
Google Vertex AIYes (multi-region)✅ Not used for training24 hours–30 days
DeepSeekChina-based default⚠️ Check enterprise termsUnclear on free tier⚠️
MistralYes (EU)✅ Not used for training (API)30 days
CohereYes (multi-region)✅ Not used for trainingVaries by plan
AWS BedrockYes (multi-region)✅ Not used for trainingConfigurable

Decision rule: If a provider cannot meet your data governance requirements at this step, remove them. Do not revisit later. Data governance is not a trade-off.

Step 2: Quality — run your own eval

Published benchmarks are useful for a shortlist, but the gap between leaderboard ranking and real-world usefulness is large. A model that scores 2% higher on MMLU can be worse on your specific task.

Shortlist from the scorecard:

The LLM Model Scorecard tracks current frontier standings across MMLU, LiveBench, SWE-bench, Chatbot Arena, and tool-use reliability. Use it to pick 2–3 shortlist candidates across different providers.

Current approximate tier map (checked 2026-05-30):

TierProvidersWhen to use
Premium reasoningGPT-5 premium, Claude Opus 4, Gemini 2.5 ProComplex analysis, multi-step reasoning, high-stakes accuracy
WorkhorseGPT-5 mini, Claude Sonnet 4.5, Gemini 2.0 Flash, DeepSeek v4 ProEveryday chat, summarisation, structured data extraction
BudgetGPT-5 fast, Claude Haiku 3.5, DeepSeek v4 Flash, Mistral SmallHigh-volume, latency-sensitive, cost-optimised
Code specialistClaude Sonnet 4.5, GPT-5 mini, CodestralCode generation, refactoring, review

Then run a 50-case eval:

Take 50 real inputs from your actual workload. Run them through each shortlisted model. Score outputs on a pass/fail basis for your criteria — not a 1–10, not a vibe check. Pass means the output is usable without editing.

The Building an LLM evaluation pipeline guide has templates for this. The critical insight: at 50 cases, a model that passes 45 and a model that passes 40 are not in the same tier, even if their MMLU scores are identical.

Step 3: Latency — the user-experience gate

After data governance and quality, latency is the hardest elimination filter because it depends on local infrastructure, not just provider speed.

The Latency in LLM apps guide breaks down the components: queueing, prompt processing, first-token time, generation, tool calls, and network hops. The number that correlates most with user frustration is time to first token (TTFT).

Rule of thumb for latency-sensitive workloads:

Use caseAcceptable TTFTProvider strategy
Chat / conversational< 1.5 secondsUse budget or workhorse tiers with stream:true in the same region
Background processing< 5 secondsAny tier is fine; queueing matters more
Real-time agent loops< 800 msFast-tier models (GPT-5 fast, Haiku, Gemini 2.0 Flash) in nearest region
Batch / asyncMinutesUse batch API pricing; latency is irrelevant

Region matters as much as provider. A Gemini Flash call from Singapore to us-central1 takes 250 ms longer than the same call to asia-southeast1. A first-token time measured in the provider’s docs is measured from their datacenter to their test client — not from your application server to the user.

Decision rule: If your workload needs sub-second TTFT and the provider does not have a fast-tier model in your region, eliminate them or accept that you will need to buffer with a loading state.

Step 4: Cost — price out your actual workload

This is where most provider comparisons go wrong. They compare headline input rates and call it a day. Real cost depends on four variables:

  1. Token mix: What fraction of your tokens are input vs output? Output tokens cost 3–10× more.
  2. Cache-hit rate: How often does your exact prompt prefix repeat? Cached input can be 90–98% cheaper.
  3. Context length: Do you send short prompts or 100K-token documents? Some providers double rates above a threshold.
  4. Batch vs real-time: Can you wait hours for results? Batch API is typically 50% cheaper.

Pricing tier overview (USD per million tokens, mid-2026):

Provider / TierInput ($/M)Cached ($/M)Output ($/M)Batch discount
DeepSeek v4 Flash$0.14$0.0028 (98% off)$0.2850% batch
DeepSeek v4 Pro$0.435*$0.0036*$0.87*50% batch
Gemini 2.0 Flash$0.15$0.075 (50% off)$0.6050% batch
Gemini 2.5 Pro$1.25–$2.50†$0.13–$0.25†$10.00–$15.00†50% batch
GPT-5 mini~$2.00‡~$1.00‡~$10.00‡50% batch
Claude Haiku 3.5~$0.80~$0.08 (90% off)~$4.00Possible§
Claude Sonnet 4.5$3.00$0.30 (90% off)$15.00Possible§
Mistral Large$2.00$1.00$8.00

*DeepSeek v4 Pro: promotional pricing ending 2026-05-31 15:59 UTC. Post-promotion rates revert to 4×. †Gemini 2.5 Pro: $1.25/M input ≤200K tokens, $2.50/M above. ‡OpenAI estimates via Artificial Analysis — verify at platform.openai.com. §Anthropic batch pricing exists but detailed rates not published in public docs.

Full pricing details and caveats: LLM API pricing comparison 2026

Decision rule: Build a spreadsheet with your actual monthly token counts broken into input, cached-input, and output. Apply batch discount if applicable. Add 20% for retries and fallbacks. If the delta between two qualifying providers is less than 20%, the decision should be made on quality or safety — not cost.

GPU rental vs API: If you project high enough volume, self-hosting may break even. The GPU rental vs API pricing guide covers the break-even calculation. For most teams below 100M tokens/month, the answer is “keep using the API.”

Step 5: Safety and compliance — operational fit

After the first four steps, you should have one or two remaining providers. The final verification is that the provider’s safety stance matches your product’s risk profile.

Three dimensions to check:

Refusal profile. Some models refuse legitimate requests that fall within the user’s intent — asking “how do I calculate my energy bill” can hit a refusal on a fine-tuned model. Others are permissive to the point of being unsafe. The Refusals and over-refusals guide has a testing methodology.

Jailbreak resistance. If your product exposes a user-facing prompt field, you are inheriting the provider’s guardrail quality. The Jailbreaks vs product safety guide maps what each provider’s default moderation covers — and what it misses.

Tool-use safety. If your LLM agent calls tools or modifies data, the provider’s function-calling guardrails matter. A model that cheerfully calls deleteUser() without asking “are you sure?” is dangerous regardless of benchmark scores. The Tool-use safety guide covers the practical separation between prompt-level safety and true action-gating.

Decision rule: If your final shortlist has two providers and one has a significantly worse refusal-to-safety balance (either too aggressive or too permissive), the safer default wins unless the other provider is >30% cheaper or measurably better on quality.

A worked example: Fintech compliance chatbot

A UK-based fintech team building an internal compliance query tool goes through the framework:

  1. Data governance — UK/EU data only, no training on inputs. This eliminates DeepSeek (China routing unclear) and any provider without EU region availability. Shortlist: OpenAI (EU data zone), Anthropic (UK/EU available), Google Vertex AI (multi-region), Mistral (EU-hosted).
  2. Quality — they run 50 internal compliance questions against GPT-5 mini, Claude Sonnet 4.5, and Gemini 2.0 Flash. Gemini passes 44/50, GPT-5 mini passes 42/50, Claude Sonnet passes 47/50. Claude enters the final round.
  3. Latency — the tool is internal and users expect answers within 3 seconds. The team tests TTFT from a London VPS: Claude Sonnet averages 1.2s (including queueing). Acceptable.
  4. Cost — projected 5M input tokens, 500K output tokens per month. Claude Sonnet: ~$17,000/M input → $85; $15/M output → $7,500; total ~$7,600/month plus retries. Gemini 2.0 Flash: $750 input + $300 output = ~$1,050. GPT-5 mini would be similar to Gemini. The team flags the 7× cost gap.
  5. Safety — compliance answers need to be accurate and not hallucinate regulations. The team adds a custom eval for hallucination rate. Claude scores 3/50 hallucinated answers vs 7/50 for the cheaper alternatives.

Verdict: The team picks Claude Sonnet for accuracy despite the cost gap, because a wrong compliance answer costs more than the model. They implement a cache strategy on common prompt prefixes to bring the effective cost down.

How to combine providers: the multi-provider strategy

The strongest production setup is rarely one provider. The common pattern:

  • Simple queries → budget model. High-volume, low-risk (autocomplete, category extraction, content classification).
  • Complex queries → workhorse model. Reasoning, analysis, customer-facing chat (Claude Sonnet, GPT-5 mini, Gemini 2.5 Pro).
  • Fallback → secondary provider. If the primary provider returns an error, a different provider handles the retry — avoiding cascading failures from a single API outage.

This maps to the Model gateways and routers comparison — tools like OpenRouter, LiteLLM, or direct SDK fallback logic.

When to skip the framework

This framework assumes you are starting fresh. Skip it if:

  • You already have a contract. Existing enterprise agreements, committed spend, or SOC 2 certification requirements may lock you to one provider regardless of the framework outcome. Skip to cost optimisation within that provider’s ecosystem.
  • You are prototyping. Pick the cheapest capable model (Gemini 2.0 Flash or DeepSeek v4 Flash) and switch later. The cost of over-analysing provider choice during prototyping exceeds any optimisation benefit.
  • Your workload is non-critical. Internal dashboards, personal projects, or non-customer-facing tools can use any provider. Pick one that works in your region and move on.

Summary: the one-page decision

StepWhat to checkElimination trigger
1. Data governanceTraining opt-out, region, retention, abuse monitoringCannot meet your regulatory/contractual requirements
2. QualityRun 50-case real-workload eval, not just benchmarksModel fails >20% of cases on your criteria
3. LatencyTTFT from your infrastructure in your regionSub-second requirement but no fast tier locally
4. CostFull workload pricing with cache/batch assumptionsExtends budget by >50% vs alternatives at same quality
5. SafetyRefusal profile, jailbreak resistance, tool-use guardrailsModel’s safety posture is incompatible with your risk tolerance

The framework does not produce a single “right” provider — it produces a defensible choice with documented trade-offs. That documentation is more valuable than the choice itself, because provider pricing and capabilities change quarterly.

Methodology

  • Data checked: 2026-05-30
  • Sources consulted: Provider API documentation, pricing pages, model cards, data retention policies, SOC 2 compliance statements, and benchmark leaderboards from OpenAI, Anthropic, Google, DeepSeek, Mistral, Cohere, and AWS. Third-party aggregator Artificial Analysis cross-referenced where direct access was blocked.
  • Directly verified at source (HTTP 200 from this server): Anthropic, Google, DeepSeek, Mistral
  • Blocked from server-side access: OpenAI pricing pages (HTTP 403) — rates estimated via Artificial Analysis
  • Assumptions: Pricing assumes standard pay-as-you-go API access without enterprise volume discounts or reserved capacity. Latency figures are provider-published or third-party measured ranges. Model tier classifications are approximate and shift with new model releases. The 50-case eval recommendation assumes access to representative workload samples. Cloud platform overhead (Bedrock, Vertex AI, Azure AI) is not separately priced.
  • Limitations: This framework provides a decision methodology, not a live provider ranking. Model versions, pricing, and compliance certifications change frequently. It does not cover fine-tuned models, self-hosted inference hardware selection, or enterprise procurement negotiation. It does not constitute legal, financial, or procurement advice.
  • Jurisdiction: Global. Data governance references drawn from each provider’s public documentation. Local requirements (GDPR, UK Data Protection Act, CCPA, EU AI Act, HIPAA) may impose additional constraints not fully covered here.

Source list

Trust Stack

  • Last checked: 2026-05-30
  • Corrections: Contact us to report errors

Change log

  • 2026-05-30: Reviewed against 16-gate EDITORIAL-GUIDE.md checklist. Added Editor’s Notes, Methodology, Source List, Trust Stack, and Change Log. Removed internal workflow references. Rewrote Quick Answer for skimmability. Fixed frontmatter completeness.
  • 2026-05-30: First published.