DeepInfra raises $107M Series B to scale the inference cloud — read the announcement

Best Open Source LLM API Providers in 2026

Published on 2026.09.14 by Stefan Fidanov
Best Open Source LLM API Providers in 2026

Updated November 2026.

Picking an inference vendor used to be a short conversation. You wanted Llama behind an HTTP endpoint, three companies served it, and their prices sat close enough that the decision came down to whoever had capacity. The market has since split into a dozen serious operators running truly different businesses. The best open source LLM API providers now differ from each other more than the models they host.

Some own GPUs and run their own serving stacks. Some rent capacity and route your request elsewhere. Some hand you a container and a Kubernetes-shaped bill. They all describe themselves as an inference provider. Our measurements of how inference platforms compare on speed and cost show how far apart they land on identical weights.

An open-weights provider hosts models whose weights are published: DeepSeek, Qwen, Llama, GLM, Kimi, MiniMax. You can read the architecture, run the same checkpoint on your own hardware, and move hosts without asking permission. A closed API sells access to weights nobody outside the vendor has seen. The difference drives everything below. When the weights are public, your provider becomes a commodity supplier competing on price, speed, and reliability. Leaving one for another costs you a single string change in your client config.

What You Are Actually Buying

Three products get sold under one “inference API” label, and confusing them is the most expensive mistake. All three can serve the same open weight models.

A token API bills per million tokens on shared, always-warm endpoints. You send a request, you get tokens, and you pay for what you consumed. Idle time costs nothing.

A dedicated endpoint reserves specific hardware for you, billed per GPU-hour or per GPU-minute whether or not traffic arrives. Rates vary more than most buyers expect. DeepInfra lists dedicated H100 capacity at $2.20 per GPU-hour and B200 at $3.69, billed in minute granularity. Baseten prices H100 at $0.10833 per minute, roughly $6.50 per wall-clock hour. Dedicated capacity wins on sustained volume, strict tail latency, and any model the shared catalog lacks.

GPU hosting goes one level lower and rents you the machine. You bring the serving stack, the scaling policy, and the pager rotation.

Serverless token pricing beats dedicated capacity until your endpoint runs hot most of the day. Measure your actual duty cycle before reserving anything.

The Best Open Source LLM API Providers at a Glance

Four companies below run their own inference on open weights, and two gateways route traffic to providers like them. They stop looking interchangeable the moment you line up what each one actually sells. One optimizes for model catalog depth and floor price, one for raw speed, one for discount rates, and one for shipping your own weights onto managed hardware.

ProviderBest forKey endpointsPricing signatureDeployment shape
DeepInfraSeveral models across several jobs under one key and one billChat, completions, embeddings, rerank, image, video, speech, transcriptionLowest list price on most models we checked, with two speed tiers on the same modelServerless by default, dedicated GPUs from $2.20 per H100-hour
GroqLatency-bound products built on one or two well-supported modelsChat, responses (beta), audio transcription and speech, batch, files$0.15 / $0.60 for gpt-oss-120b, with batch and cached input each cutting that in halfServerless self-serve, enterprise capacity by contract
Novita AICost-sensitive batch and background workChat, completions, embeddings, rerank, image, video, TTS, GPU instancesSecond cheapest endpoint we priced, with the discount holding on flagships tooServerless, serverless GPU endpoints, dedicated GPU instances
BasetenProprietary or fine-tuned weights that still want a managed control planeModel APIs, plus anything you package yourself with Truss, plus Chains for multi-step workflowsToken API competitive without leading, dedicated hardware billed per minuteDedicated deployments first, token API second
OpenRouterDiscovery and failover across vendors you have not contracted withOne chat endpoint fronting every upstream catalog, plus routing modesUpstream rates passed through without markup, 5.5 percent fee on credit purchasesNone of its own, it routes to other people’s
Opper AIOne EU-hosted gateway with governance rules across many providersOne API fronting 700+ models, compatible with the OpenAI, Anthropic, and Google SDKsPay-as-you-go, with DeepInfra routes on standard, flex, and priority tiersNone of its own, an EU-hosted gateway; its DeepInfra routes run in the US

Positioning is the easy half. The numbers are where the market stops being polite. Here is one model, gpt-oss-120b, on four endpoints, with prices from each vendor’s own live pricing page or public API on August 12, 2026 and speed from Artificial Analysis, which measures every endpoint independently.

Endpoint (gpt-oss-120b)$/M in$/M outMeasured out t/sMeasured TTFT
DeepInfra$0.037$0.17460.76s
Novita AI$0.05$0.25900.97s
Baseten$0.10$0.501980.24s
Groq$0.15$0.60477.60.68s

Run 50M input and 10M output tokens a month through each and the spread stops being academic. Roughly $3.55 on DeepInfra’s base endpoint, $5.00 on Novita, $10.00 on Baseten, and $13.50 on Groq. Same weights, same request, a 3.8x range. Note what that table does not show: a single winner. The lowest price, the fastest first token, and the highest throughput sit on three different rows.

Five Factors That Decide Which Provider You Ship On

Most rankings here are published by vendors who put themselves first and never explain why. We are a vendor too, so the reasoning comes before the entries. Five things changed our ordering when we ran the numbers. Each one has a failure mode that costs you weeks rather than dollars.

Catalog Depth and How Fast New Weights Land 

A provider that ships new Qwen, DeepSeek, GLM, and Kimi releases in days rather than months keeps you from onboarding a second vendor for one model. That sounds like a convenience argument until you have done it. Adding a vendor means adding:

  • A second contract and a second security review.
  • A second set of credentials in your secret manager.
  • A second rate-limit ceiling your capacity planning has to model.
  • A second set of error codes and timeout behaviors your retry logic has to special-case.
  • A second invoice to reconcile at month end.
  • A second dashboard to open at 3am, before you know which half of your traffic is affected.
  • A per-model vendor map in your routing layer that every new engineer has to learn.

The token price is rarely what makes that expensive. The weeks are. If the second contract and security review are the sticking point, our enterprise AI inference provider rankings compare nine hosts on paperwork, residency and dedicated capacity.

Prices You Can Read Without a Sales Call

Opaque pricing is a real and widespread problem in this market, and it takes four common shapes:

  • The partial rate card. Small models are priced on the page, and the ones you would actually ship say “contact sales.”
  • The credit surcharge. A clean per-token rate billed through prepaid credits that carry a payment processing fee, so your effective rate runs several percent above the published number.
  • The invisible tier. The good rate is gated behind a spend threshold you cannot see until you cross it.
  • The undocumented discount. Cached-input and batch rates are frequently real and frequently unpublished, so you pay list for traffic that qualified for half.

One line item catches first-time buyers more than any of those. Reasoning models bill their thinking tokens as output, which is where a $0.60 output rate quietly becomes most of your monthly bill. The check is simple: before you commit volume, confirm the vendor publishes input, output, cached input, and batch rates for the exact model you plan to run, visible without a login.

Speed That Somebody Else Measured

Vendor speed claims are marketing. They run on the vendor’s hardware, at a concurrency the vendor chose, on a prompt the vendor wrote. Third-party measurement on identical weights is evidence, and it separates two numbers that get collapsed into one. Time to first token decides whether a voice agent feels alive or feels broken. Output throughput decides how long a 4,000-token summary takes to finish. A provider can win one and lose the other badly, which is exactly what Baseten and Groq do in the table above.

What It Costs You to Leave

OpenAI-compatible is a spectrum, and vendors land at very different points on it. Plain Chat Completions with text in and text out ports everywhere in an afternoon. Tool calling, parallel tool calls, JSON-schema structured output, streaming delta shapes, logprobs, seeds, and stop-sequence handling are where compatibility frays. The failure mode is nasty because it is silent: the request succeeds, the response comes back, and the shape is subtly different from what your parser expects. Run your own suite against the full surface you depend on before the switching argument becomes theoretical.

Vendor Transparency Around the Way They Serve the Model

Two providers can list the same checkpoint at the same context length and serve it at different numerical precisions with different sampling defaults, and your evaluation scores will move even though the model card did not. Almost nobody publishes the choice. DeepInfra exposes quantization per model in its public models API, which is why the section below can name precisions instead of guessing at them. The same disclosure question covers retention policy and serving region, and regulated buyers filter on those before they ever look at price.

What This All Means

Take those five to a vendor as questions. The answers sort the field fast.

FactorThe question to ask before you commit volumeWhat a bad answer sounds like
Catalog freshnessHow many days after a release does a model go live here?“It’s on the roadmap.”
Pricing transparencyWhere is the published input, output, cached, and batch rate for this exact model?“Let’s get you on a call with sales.”
Measured speedWho measured your TTFT and throughput, and at what concurrency?A benchmark chart with no methodology and no third party.
Exit costWhich parts of the OpenAI surface do you implement, and which do you approximate?“We’re fully OpenAI-compatible.”
Serving disclosureWhat quantization is this endpoint running, and what is your retention policy?“We don’t share serving configuration.”

The Best Open Source LLM API Providers, Ranked

1. DeepInfra

Every model page lists its per-token price and context window.

Best for: Teams running several models across different jobs who want one key, one bill, and a price floor. (More on consolidating AI subscriptions onto one API.)

Pricing: Pay-as-you-go per token, no minimum and no prepaid credits. gpt-oss-120b starts at $0.037 in and $0.17 out per million tokens on the base endpoint, and Ultra, a faster FP8 tier of the same model, runs $0.20 / $0.95 when you want the speed instead. Flagships sit at the low end too. DeepSeek-V4-Pro runs $1.30 / $2.60 and GLM-5.2 runs $0.75 / $2.40. Dedicated GPUs start at $0.89 per A100-hour and $2.20 per H100-hour, billed by the minute.

DeepInfra was founded in 2022 by the team behind imo, a messenger app that reached more than 200 million users. The company owns and operates its own GPU infrastructure across nine data centers rather than renting hyperscaler capacity, and processes close to five trillion tokens a week. In 2026, that scale helped close a $107 million Series B, with Nvidia among the investors

Open weights are the entire product here. No proprietary flagship sits above them. The public models API lists 360 entries spanning text, vision, image, video, speech, transcription, embeddings, and reranking, with more than 220 actively served, priced at the low end on nearly every model we checked. DeepSeek-V4-Pro runs $1.30 in and $2.60 out per million tokens against $1.74 and $3.48 at Baseten. GLM-5.2 runs $0.75 and $2.40 against $1.40 and $4.40 at Novita. Kimi K3 undercuts the $3.00 and $15.00 that Baseten and Novita charge.

What separates them is tiering. gpt-oss-120b ships as two endpoints at two price points: the base endpoint at $0.037 and $0.17, and Ultra at $0.20 and $0.95. Artificial Analysis measured the base endpoint at 46 output tokens per second, and Ultra is the paid step up for speed, so you buy a speed tier deliberately instead of accepting one blended number. Batch summarization runs on the cheap tier while an interactive agent runs on Ultra, under one key and one bill.

Switching is a base_url change, the open-weights argument made concrete:

from openai import OpenAI
import os

# Same request, same model name, two different vendors.
PROVIDERS = {
    "deepinfra": ("https://api.deepinfra.com/v1/openai", os.environ["DEEPINFRA_API_TOKEN"]),
    "groq":      ("https://api.groq.com/openai/v1",      os.environ["GROQ_API_KEY"]),
}

for name, (base_url, api_key) in PROVIDERS.items():
    client = OpenAI(base_url=base_url, api_key=api_key)
    response = client.chat.completions.create(
        model="openai/gpt-oss-120b",
        messages=[{"role": "user", "content": "Summarize FP8 quantization in two sentences."}],
    )
    print(name, response.choices[0].message.content)
copy

What Makes This Special

  • Two price points on one model. The base endpoint serves gpt-oss-120b at bfloat16, and Ultra is a faster FP8 tier of the same model under the same API key at $0.20 / $0.95, so you pick the tier per job instead of paying interactive rates for a nightly batch run.
  • Quantization published per model. The models API returns the serving precision for every endpoint, and that number is what explains why your evaluation scores moved when you switched hosts.
  • One key across text, vision, image, video, speech, and embeddings. Agent steps that swap modalities do not swap vendors.
  • Serverless and dedicated behind the same client. Moving a hot workload onto reserved H100s does not mean rewriting the calling code.
  • Zero-retention policy with SOC 2 and ISO 27001 certification, the filter regulated buyers apply before they ever compare prices.

Recent Changes

Verified against DeepInfra’s public models API:

  • August 17, 2026: Qwen3.8-27B added at $0.40 and $3.00 per million tokens with a 262K context.
  • August 14, 2026: DeepSeek-V4-Pro-0813 landed as the official successor to the preview checkpoint, at the same $1.30 and $2.60.
  • August 12, 2026: Qwen3.8-2.4T-A95B added at $2.00 and $6.00, served at FP4.

Pros and Cons

Pros

  • Deepest open-weight catalog of the four, refreshed within days of a major release.
  • Lowest per-token pricing on most models we checked, with no credit prepay or spend gate to reach it.
  • Explicit speed tiers on the same model, so latency becomes a per-job choice.
  • Serving precision published per model, which almost no competitor does.

Cons

  • The fastest first token at high concurrency costs extra, since that means paying for Ultra.
  • Base-tier throughput of 46 output tokens per second is deliberately modest, so the cheapest tier is the wrong default for anything interactive.
  • Fine-tuning is available, but the training tooling is less built out than on platforms that sell training as a product in its own right.
  • No region-pinned model variants, so region-specific routing requires a dedicated deployment.

2. Groq

Groq runs custom LPU silicon rather than GPUs.

Best for: Latency-bound interactive products that only need one or two well-supported models.

Pricing: $0.15 and $0.60 for gpt-oss-120b, with the batch API and cached input each cutting rates in half. You pay an ordinary price for extraordinary speed, which is the whole argument. There is no discount tier below that, and no cheap endpoint for background work.

Groq built its own inference silicon, and the measured result is not subtle. Artificial Analysis clocks Groq’s gpt-oss-120b endpoint at 477.6 output tokens per second and a 0.68-second time to first token. That is roughly ten times a commodity shared endpoint on the same weights. For a voice agent, that difference is the product.

The tradeoff is catalog. Groq’s production list is short and skews toward Llama and gpt-oss variants, leaving DeepSeek, GLM, and Kimi largely absent. Workloads that want DeepSeek-V4-Pro or GLM-5.2 run elsewhere. The endpoint surface is narrow to match: chat, a beta responses API, audio transcription and speech, batch, and files, with no embeddings and no vision endpoint at all.

What Makes This Special

  • Custom LPU silicon instead of GPUs, which is why the throughput number lands an order of magnitude above the field instead of a few percent above it.
  • 477.6 output tokens per second measured by a third party, the highest in this roundup by a wide margin.
  • Latency that holds under concurrency, the property that separates a voice-agent demo from a voice agent in production.
  • Batch and cached input each halve the rate, so the one lever Groq gives you on price is a real one.
  • A deliberately small catalog. Fewer models, tuned harder, is the operating model here, and it is a choice.

Recent Changes

From Groq’s deprecation notices:

  • August 16, 2026: llama-3.1-8b-instant and llama-3.3-70b-versatile deprecated, with openai/gpt-oss-20b, openai/gpt-oss-120b, and qwen/qwen3.6-27b named as replacements.
  • July 17, 2026: qwen/qwen3-32b and meta-llama/llama-4-scout-17b retired, also consolidated onto gpt-oss endpoints.
  • Fine-tuning now appears in the API reference as a closed beta, an early move toward customization that Groq did not previously offer.

Pros and Cons

Pros

  • Best measured throughput among general-purpose providers, by roughly 2.4x over the next fastest.
  • Consistent latency under load, including at concurrency levels where shared endpoints start to queue.
  • Batch and cache discounts that each halve the effective rate.
  • OpenAI-compatible chat surface, so trying it costs an afternoon.

Cons

  • Narrow catalog that lags new open-weight releases, with DeepSeek, GLM, and Kimi largely absent.
  • Aggressive consolidation onto gpt-oss endpoints retired four widely used Llama and Qwen models in 2026 alone, so pinned model IDs break.
  • No embeddings and no vision endpoint, which rules Groq out as a sole vendor for RAG or multimodal work.
  • Fine-tuning is closed beta, so there is no self-serve custom-weights path today.

3. Novita AI

Novita competes primarily on price across a mid-sized open-weight catalog.

Best for: Cost-sensitive batch and background workloads where a second of extra latency changes nothing.

Pricing: The discount position, held consistently across the catalog. gpt-oss-120b runs $0.05 and $0.25, second cheapest in this roundup, and DeepSeek-V4-Flash-0731 lands at $0.14 and $0.28. DeepSeek-V4-Pro at $1.60 and $3.20 undercuts the $1.74 and $3.48 that Baseten charges.

Measured throughput sits at 90 output tokens per second with a 0.97 second time to first token. Mid-pack. Faster than the cheapest shared endpoints, well behind the silicon players. The catalog covers the major families without matching the depth of DeepInfra.

The OpenAI-compatible API surface covers embeddings and rerank as well as chat, so a RAG stack runs end to end here. Novita also sells GPU instances and serverless GPU endpoints alongside the token API, so a workload that outgrows shared capacity has somewhere to go without changing vendors.

What Makes This Special

  • The discount holds on flagships. Plenty of vendors are cheap on small models. Novita’s DeepSeek-V4-Pro at $1.60 and $3.20 undercuts Baseten on a flagship, which is the harder half.
  • Serving optimizations shipped in public. Novita published throughput gains for Kimi-K2.6 and Kimi-K2.7-Code using DSpark speculative decoding in vLLM, which is more engineering detail than most price-led vendors share.
  • An EU-hosted gateway through a partnership with Opper AI, giving European teams a routing option that keeps traffic in region.
  • GPU instances and serverless GPU endpoints under the same account as the token API.
  • A published TTFT and throughput number from Artificial Analysis.

Recent Changes

From the Novita AI blog:

  • July 15, 2026: TiDB integration, pairing managed deployment with database provisioning and migrations for AI-generated applications.
  • July 10, 2026: Published inference optimization results for Kimi-K2.6 and Kimi-K2.7-Code using DSpark speculative decoding in vLLM.
  • July 9, 2026: EU market expansion through Opper AI’s EU-hosted gateway, exposing 80+ open-weight models through one API.

Pros and Cons

Pros

  • Aggressive pricing across the catalog, second cheapest endpoint we priced.
  • Solid coverage of the DeepSeek, Qwen, GLM, and Kimi families.
  • Independently measured speed numbers from Artificial Analysis.
  • EU-hosted routing option for teams with data-residency constraints.

Cons

  • Middling measured speed at 90 output tokens per second and 0.97s TTFT, which rules it out for anything interactive.
  • Thinner enterprise and compliance tooling than Baseten.
  • Catalog depth trails DeepInfra, so an unusual model may not be there.
  • Recent public roadmap leans toward infrastructure and integrations, with less visible movement on catalog freshness.

4. Baseten

Baseten sells a deployment platform first and a token API second.

Best for: Teams deploying proprietary or fine-tuned weights that still want a managed control plane.

Pricing: Two meters, and the dedicated one is the main event. Hardware bills by the minute at $0.10833 for an H100, $0.16633 for a B200, and $0.06667 for an A100, which works out to roughly $6.50, $9.98, and $4.00 per wall-clock hour. The token API is competitive without leading: $0.10 and $0.50 for gpt-oss-120b, $0.13 and $0.26 for DeepSeek-V4-Flash-0731, and Nemotron 3 Ultra at $0.60 and $2.40.

Baseten approaches the problem from the deployment side. Its Truss packaging format defines the model container, dependencies, and runtime configuration, and ships custom, fine-tuned, or private weights onto dedicated hardware. Anything the shared catalog lacks, you deploy yourself, including custom Docker servers running vLLM, SGLang, or Triton.

The measured numbers are the surprise. Artificial Analysis records a 0.24 second time to first token on gpt-oss-120b, the fastest of the seventeen providers it benchmarks, alongside 198 output tokens per second.

What Makes This Special

  • Fastest measured time to first token in the field, 0.24 seconds, ahead of Groq’s custom silicon on that specific metric.
  • Truss as a real packaging format. Config-only deployments, custom Python model classes, and custom Docker servers all work, so an unusual serving stack is not a blocker.
  • Chains for multi-step workflows, which lets each step in a pipeline run on the hardware it actually needs instead of sizing everything for the largest model.
  • Per-minute GPU billing, so a deployment that scales to zero overnight stops costing money at minute granularity.
  • Programmatic observability. Logs, metrics, and audit logs are exposed through APIs, so they land in your own monitoring stack.

Recent Change

From the Baseten changelog:

  • August 19, 2026: Runtime OIDC, so deployments authenticate to OIDC-compatible cloud providers without storing long-lived credentials.
  • August 14, 2026: DeepSeek-V4-Pro-0813 available through Model APIs on the OpenAI-compatible endpoint.
  • July 22, 2026: Observability APIs for logs, metrics, and audit logs across deployments and environments.

Pros and Cons

Pros

  • Fastest measured TTFT of any provider Artificial Analysis benchmarks.
  • Real custom-weights deployment through Truss, including custom containers.
  • Per-minute GPU billing with no hourly rounding.
  • Chains for orchestrating multi-model pipelines across different hardware.

Cons

  • Token pricing sits above the discount tier, roughly 2.7x DeepInfra’s base gpt-oss-120b input rate.
  • Dedicated H100 capacity at roughly $6.50 per hour is close to triple DeepInfra’s $2.20.
  • The platform assumes infrastructure responsibility that a pure token API removes, which is overhead if you only want an endpoint.
  • Model APIs are the secondary product, so catalog breadth trails the token-first vendors.

The Aggregator Question: OpenRouter

OpenRouter routes requests to upstream providers rather than operating its own inference.

Best for: Discovery, failover, and reaching a model at a vendor you have not contracted with yet.

Pricing: Per-token rates are passed through from the upstream provider without markup, so the rate you pay is whichever vendor served the request. The fee sits on the credit purchase instead, at 5.5 percent for card payments and 5 percent for crypto. People often forget this number when they compare a routed rate against a direct one.

OpenRouter belongs in every list like this one and in a different category from the four above. It operates no inference. It routes your request to a provider that does, offering Balanced, Nitro, and Exacto modes that favor price, speed, or tool-calling accuracy.

The convenience is genuine, and so are the consequences. Your measured latency belongs to whichever upstream vendor received the request, and it can change between calls. Your data handling follows that vendor’s retention policy rather than a single published one. Rate limits come from the upstream vendor too, so your ceiling can move without notice. When throughput degrades at 3am, the operator holding the answer is one layer removed from your account manager.

What Makes This Special

  • One endpoint, every catalog. A single key reaches models across dozens of upstream vendors, which is the fastest way to try something before contracting for it.
  • Routing modes as a product. Balanced, Nitro, and Exacto trade price against speed against tool-calling accuracy on the same request.
  • Automatic failover. When an upstream provider degrades, traffic moves without a code change on your side.
  • Published benchmarks across models, including image and web-search leaderboards that are genuinely useful for shortlisting.
  • No markup on inference. The business model sits on credit purchases, not on the token rate.

Recent Changes

From the OpenRouter announcements:

  • August 21, 2026: Image Benchmarks comparing 39 image models across 15 prompts, with performance and pricing side by side.
  • August 19, 2026: OpenRouter announced it is joining Stripe, which is worth knowing before you sign a long-term agreement.
  • August 10, 2026: An Auto router that selects models from aggregated usage patterns rather than a task classifier.

Pros and Cons

Pros

  • Broadest reach of any single key in this roundup.
  • No per-token markup over upstream list prices.
  • Routing modes and automatic failover come for free with the abstraction.
  • Strong public benchmarking work across text, image, and web search.

Cons

  • Your latency is whichever upstream vendor got the request, and it can change between calls.
  • Data handling follows whichever upstream provider took the request, so there is no single retention policy to hand your compliance team. For regulated buyers that is a hard blocker.
  • The 5.5 percent credit purchase fee is a real cost that a direct contract does not carry.
  • Incident escalation runs through an extra layer at exactly the moment you need it not to.

Route through an aggregator to discover which provider suits a workload. Contract directly with that provider once you know.

The EU Gateway Option: Opper AI

Opper AI is an EU-hosted AI gateway that routes requests to upstream providers, DeepInfra among them. See DeepInfra’s Opper partnership announcement.

Best for: Teams that want one EU-hosted gateway with governance rules across many providers.

Pricing: Pay-as-you-go. The DeepInfra routes in Opper’s launch table (November 17, 2026) carry the same per-token prices this guide quotes for DeepInfra direct: Kimi K3 at $2.85 and $14.25, GLM-5.2 at $0.75 and $2.40, DeepSeek-V4-Pro at $1.30 and $2.60. Many DeepInfra models also come on a flex tier, about a fifth cheaper for evaluations and background work, and large jobs can go through Opper’s Batch API at the flex price.

Opper sits in the same category as OpenRouter, apart from the four ranked above: it is a gateway, and the inference runs on the providers behind it. Based in Stockholm, it describes itself as the European AI gateway for agents, with 700+ models behind one EU-hosted, GDPR-compliant API that is drop-in compatible with the OpenAI, Anthropic, and Google SDKs.

On November 17, 2026, Opper and DeepInfra announced a partnership that puts more than 100 DeepInfra-hosted models on the gateway. Every DeepInfra chat model has a standard route, deepinfra/…, and many also have deepinfra:flex/… for background work and deepinfra:priority/… for interactive traffic that must answer first. Read one detail carefully if residency is the reason you are looking at an EU gateway: every DeepInfra route on Opper runs in the United States. The gateway is EU-hosted, and the inference behind these routes is not.

What Makes This Special

  • Rules on every call. Spend limits, data retention, model access, content checks, and routing order, set once for the organization or per project.
  • Routing and fallback by rule. You can pin DeepInfra’s flex tier for evaluations or set DeepInfra as a fallback, without touching application code.
  • An EU-hosted, GDPR-compliant API, with spend caps, model allowlists, and zero data retention on Opper’s side.
  • Three SDK surfaces. Drop-in compatibility with the OpenAI, Anthropic, and Google SDKs, so getting there is an API key and a model string.
  • DeepInfra’s tiers in the model string. Standard, flex, and priority are each a prefix, so a job picks its tier per call.

Recent Changes

From the Opper AI blog:

  • November 17, 2026: Partnership with DeepInfra, bringing more than 100 DeepInfra-hosted models to the gateway, from Kimi K3 and GLM-5.3 to MiniMax M3 and Nemotron 3.5 Super VL.

Pros and Cons

Pros

  • One EU-hosted, GDPR-compliant API across 700+ models.
  • Governance rules for spend, retention, model access, and routing, per organization or per project.
  • Compatible with the OpenAI, Anthropic, and Google SDKs.
  • DeepInfra’s standard, flex, and priority tiers are each a model string away.

Cons

  • DeepInfra routes on Opper run in the United States, so the EU-hosted gateway does not make those calls EU-resident.
  • Flex and priority exist for many DeepInfra chat models, not all of them.
  • Batch jobs hold requests until they run, so the no-logging terms on standard, flex, and priority calls do not describe batch.
  • It is a gateway, so the operator running the model is still one layer removed from you.

What the Same Model Costs Across Providers

The gpt-oss-120b spread earlier is one model. Flagships tell a similar story: the same weights carry different list prices from one vendor to the next, and DeepInfra’s is the lowest on all three models below.

ModelDeepInfraBasetenNovita
DeepSeek-V4-Pro$1.30 / $2.60$1.74 / $3.48$1.60 / $3.20
Kimi K3$2.85 / $14.25$3.00 / $15.00$3.00 / $15.00
GLM-5.2$0.75 / $2.40$2.10 / $6.60$1.40 / $4.40

In our six-provider DeepSeek-V4-Pro benchmark, five vendors tied on price and the decision fell entirely to latency and throughput. That happens more often than the price tables suggest, which is why the next section matters more than either of them.

Why the Same Model Scores Differently Across Providers

Two providers can serve identical weights and return measurably different output. Quantization is the usual culprit. Choosing between bfloat16, FP8, and FP4 trades memory footprint and throughput against numerical precision, and the loss shows up first on long-context reasoning and exact-format tasks like structured JSON.

Most vendors never publish the choice at all. DeepInfra exposes it per model in its public models API: gpt-oss-120b serves at bfloat16, the Ultra variant at FP8, Qwen3.5-397B-A17B at FP8, DeepSeek-V4-Pro at FP8, and GLM-5.2 at FP4. Serving stack and default sampling parameters shift results too.

Run your own evaluation set against the specific endpoint you plan to buy. A benchmark published against the original checkpoint tells you what the weights can do. It says nothing about what a given endpoint does with them. Our Kimi K3 provider comparison and GLM-5.2 cost analysis walk through this per-endpoint variation on two current models.

Licensing: What Your Provider Lets You Ship

Provider listings rarely mention licenses. The license travels with the weights regardless of who serves them. Three families cover most of the catalog.

Apache 2.0 and MIT models impose almost nothing. gpt-oss-120b ships under Apache 2.0, so you can build commercial products, modify the weights, and redistribute derivatives without a copyleft obligation. Meta’s Llama 4 models, Llama 4 Scout included, use the Llama 4 Community License, which adds naming requirements and cuts off at “greater than 700 million monthly active users in the preceding calendar month,” above which you need a separate agreement. Labs like DeepSeek and Moonshot publish custom terms that restrict specific downstream uses.

The provider matters in one respect. Check whether it lets you export a fine-tuned derivative and run it elsewhere. Read that clause before the weights become load-bearing.

How to Choose, by Workload Shape

Start from the shape of your traffic rather than the leaderboard. Model selection is a separate decision, and a good one on the wrong provider still costs you three times the money or half a second of latency you cannot afford. Each shape below ends at a provider trait to buy.

Batch and background jobs. Nightly summarization runs, enrichment pipelines that backfill a table, offline classification of a support queue. Nobody is sitting there waiting, so a job that finishes in 40 minutes instead of 20 changes nothing downstream. Volume is what moves the bill, because these jobs push tens or hundreds of millions of tokens a month. At that scale a ten cent difference per million tokens compounds into real money while half a second of latency compounds into nothing at all. Buy the cheapest per-token endpoint that clears your quality bar and take the batch discount where one exists, since Groq bills batch at half rate. DeepSeek-V4-Flash-0731 at $0.08 and $0.18 with a 1M-token context handles most of this category.

Interactive chat and voice. Time to first token dominates perceived quality here, because the user is listening to silence until the first token arrives and reads the rest more slowly than the model emits it. Half a second of TTFT is the difference between a voice agent that feels like a conversation and one that feels broken. Buy measured TTFT and treat advertised throughput as a separate number that will not help you here, which means Baseten at 0.24 seconds or Groq at 0.68. Pay the premium tier without agonizing over it. MiniMax-M3 at $0.28 and $1.10 gives you a 524K context without flagship pricing.

Agentic workflows. Long multi-step runs that swap models per step want one key across a broad catalog. The routing logic gets ugly fast when each step needs a different vendor: every provider brings its own rate limit, its own retry semantics, its own failure modes, and its own place in your observability stack, and your orchestrator has to know all of it. One vendor with catalog depth turns that into a model ID per step. Our writeup on choosing models for agentic workloads covers the per-step tradeoffs.

Fine-tunes and private weights. Anything ending in a custom checkpoint needs a deployment platform, because a shared catalog will never serve weights you trained yourself. Baseten fits if you already have the weights and want to bring your own container. Ask about export rights before you start training.

Compliance-bound. Filter on retention policy, serving region, and certifications first, then compare price inside whatever survives. Filtering this way rules out most aggregators immediately, since their retention story belongs to whichever upstream vendor happened to take the request. A gateway that sets retention and model access by rule, as Opper AI does, is the one to check instead of dismiss, and the serving region still belongs to the route: DeepInfra’s routes on Opper run in the United States.

Frequently Asked Questions

What Is the Cheapest Open Source LLM API? 

On the models we priced August 12, 2026, DeepInfra’s base endpoints were lowest on most models, including gpt-oss-120b at $0.037 and $0.17 per million tokens. The cheapest option changes monthly, so re-check the price per million tokens before you commit volume.

Can I Switch Providers Without Rewriting My Code? 

If both speak the OpenAI Chat Completions format, yes. Change base_url and the API key, as in the snippet above. Verify tool-calling and structured-output behavior, which is where compatibility usually frays.

Is Serverless Cheaper Than Dedicated Hosting? 

Until your endpoint runs hot for most of the day. Serverless bills only for tokens consumed, dedicated bills for reserved wall-clock time whether traffic arrives or not.

What Is the Difference Between Open Weight and Open Source? 

Open weights means the trained parameters are published and runnable. Open source in the strict sense would also include training data and code, which almost no frontier lab releases. Nearly every model in this article is open weights.

Why Do Two Providers Give Different Answers For the Same Model? 

Serving precision, serving stack, and default sampling parameters all vary between hosts. A checkpoint served at FP4 will behave differently from the same checkpoint at FP8, most visibly on long-context reasoning and strict output formats. Ask the vendor what quantization the endpoint runs, and run your own evaluation set against the exact endpoint you plan to buy.

Getting Started

The open-weight market has enough real operators that no single provider wins every workload. Groq owns raw throughput and Baseten owns first-token latency. DeepInfra’s argument is breadth and floor price: 360 models under one key, explicit speed tiers, published serving precision, and per-token rates at the low end of everything we checked, with dedicated instances waiting when a workload outgrows shared capacity.

Browse the catalog and current pricing at deepinfra.com/pricing, or read the API documentation to port an existing OpenAI client. Questions and benchmark disagreements are welcome: email feedback@deepinfra.com, join the DeepInfra Discord, or find us on X at @DeepInfra. If you want the model-side view of this comparison, our breakdown of open versus closed source models on intelligence, price, and speed covers the other half of the decision.

Related articles
Long Context models incomingLong Context models incomingMany users requested longer context models to help them summarize bigger chunks of text or write novels with ease. We're proud to announce our long context model selection that will grow bigger in the comming weeks. Models Mistral-based models have a context size of 32k, and amazon recently r...
Introducing the Batch API: Run Large Inference Jobs 20% CheaperIntroducing the Batch API: Run Large Inference Jobs 20% CheaperDeepInfra's new Batch API lets you submit large volumes of completions, chat, and embedding requests as a single asynchronous job—processed within 24 hours at 20% off real-time pricing. It's fully OpenAI-compatible, so if you've used OpenAI's Batch API, you already know how it works.
How Mixture of Experts Models Changed LLM EconomicsHow Mixture of Experts Models Changed LLM Economics<p>Every open-weight model that has closed the gap with GPT-5.5 and Claude Opus 4.7 this year has one thing in common. DeepSeek V4-Pro: 1.6 trillion parameters, 49 billion active per token. Kimi K2.6: 1 trillion parameters, 32 billion active. GLM-5.1: 744 billion parameters, 40 billion active. MiniMax M2.7: large total parameter count, 10 billion active [&hellip;]</p>