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.

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](/diff/provider-data-retention-policies-what-api-users-should-compare/): 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? | Provider | EU/UK region available | Training opt-out by default | Log retention default | SOC 2 | | | | | | | | **OpenAI** | Yes (EU data zone) | ✅ Opt-out (API) | 30 days | ✅ | | **Anthropic** | Yes (EU/UK) | ✅ Not used for training (API) | 30 days | ✅ | | **Google Vertex AI** | Yes (multi-region) | ✅ Not used for training | 24 hours–30 days | ✅ | | **DeepSeek** | China-based default | ⚠️ Check enterprise terms | Unclear on free tier | ⚠️ | | **Mistral** | Yes (EU) | ✅ Not used for training (API) | 30 days | ✅ | | **Cohere** | Yes (multi-region) | ✅ Not used for training | Varies by plan | ✅ | | **AWS Bedrock** | Yes (multi-region) | ✅ Not used for training | Configurable | ✅ | **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](/comparisons/llm-model-scorecard-frontier-comparison/) 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): | Tier | Providers | When to use | | | | | | **Premium reasoning** | GPT-5 premium, Claude Opus 4, Gemini 2.5 Pro | Complex analysis, multi-step reasoning, high-stakes accuracy | | **Workhorse** | GPT-5 mini, Claude Sonnet 4.5, Gemini 2.0 Flash, DeepSeek v4 Pro | Everyday chat, summarisation, structured data extraction | | **Budget** | GPT-5 fast, Claude Haiku 3.5, DeepSeek v4 Flash, Mistral Small | High-volume, latency-sensitive, cost-optimised | | **Code specialist** | Claude Sonnet 4.5, GPT-5 mini, Codestral | Code 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](/evals/building-an-llm-evaluation-pipeline-from-prompts-to-production/) 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](/run/latency-in-llm-apps-first-token-total-time-and-user-experience/) 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 case | Acceptable TTFT | Provider strategy | | | | | | Chat / conversational | < 1.5 seconds | Use budget or workhorse tiers with stream:true in the same region | | Background processing | < 5 seconds | Any tier is fine; queueing matters more | | Real-time agent loops | < 800 ms | Fast-tier models (GPT-5 fast, Haiku, Gemini 2.0 Flash) in nearest region | | Batch / async | Minutes | Use 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 / Tier | Input ($/M) | Cached ($/M) | Output ($/M) | Batch discount | | | | | | | | **DeepSeek v4 Flash** | $0.14 | $0.0028 (98% off) | $0.28 | 50% batch | | **DeepSeek v4 Pro** | $0.435* | $0.0036* | $0.87* | 50% batch | | **Gemini 2.0 Flash** | $0.15 | $0.075 (50% off) | $0.60 | 50% 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.00 | Possible§ | | **Claude Sonnet 4.5** | $3.00 | $0.30 (90% off) | $15.00 | Possible§ | | **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](/cache/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](/diff/gpu-rental-vs-api-pricing-when-to-self-host/) 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](/run/refusals-and-over-refusals-testing-whether-safety-blocks-useful-work/) 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](/run/jailbreaks-vs-product-safety-what-operators-can-realistically-control/) 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](/run/tool-use-safety-stopping-agents-from-taking-dangerous-actions/) 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](/comparisons/model-gateways-and-routers-openrouter-litellm-and-build-vs-buy/) 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 | Step | What to check | Elimination trigger | | | | | | 1. Data governance | Training opt-out, region, retention, abuse monitoring | Cannot meet your regulatory/contractual requirements | | 2. Quality | Run 50-case real-workload eval, not just benchmarks | Model fails >20% of cases on your criteria | | 3. Latency | TTFT from your infrastructure in your region | Sub-second requirement but no fast tier locally | | 4. Cost | Full workload pricing with cache/batch assumptions | Extends budget by >50% vs alternatives at same quality | | 5. Safety | Refusal profile, jailbreak resistance, tool-use guardrails | Model'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. ## Related guides - [Cloud AI platforms vs direct model APIs](/comparisons/cloud-ai-platforms-vs-direct-model-apis/) — the platform-layer decision once you pick a provider - [LLM Model Scorecard](/comparisons/llm-model-scorecard-frontier-comparison/) — current frontier standings across benchmarks - [LLM API pricing comparison 2026](/cache/llm-api-pricing-comparison-2026/) — full pricing deep-dive with worked examples - [Building an LLM evaluation pipeline](/evals/building-an-llm-evaluation-pipeline-from-prompts-to-production/) — templates for your 50-case eval ## 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 - [OpenAI data controls FAQ](https://help.openai.com/en/articles/7039943-data-controls-faq) — accessed 2026-05-30 - [OpenAI API pricing](https://openai.com/api/pricing/) — inaccessible from this server; cross-referenced via Artificial Analysis, accessed 2026-05-30 - [Anthropic privacy policy](https://www.anthropic.com/legal/privacy) — accessed 2026-05-30 - [Anthropic pricing](https://www.anthropic.com/pricing) — accessed 2026-05-30 - [Google Gemini API pricing](https://ai.google.dev/pricing) — accessed 2026-05-30 - [Google Cloud data processing terms](https://cloud.google.com/terms/data-processing-addendum) — accessed 2026-05-30 - [DeepSeek API pricing](https://api-docs.deepseek.com/quick_start/pricing) — accessed 2026-05-30 - [Mistral API pricing](https://mistral.ai/pricing/) — accessed 2026-05-30 - [Cohere pricing](https://cohere.com/pricing) — accessed 2026-05-30 - [AWS Bedrock pricing](https://aws.amazon.com/bedrock/pricing/) — accessed 2026-05-30 - [Artificial Analysis model comparison](https://artificialanalysis.ai/models) — accessed 2026-05-30 - [LMSYS Chatbot Arena](https://lmarena.ai/) — accessed 2026-05-30 - [LiveBench](https://livebench.ai/) — accessed 2026-05-30 ## Trust Stack - **Last checked:** 2026-05-30 - **Corrections:** [Contact us](/contact/) 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.