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

Not every request needs an answer this second. Evaluations, data enrichment, offline pipelines, and other asynchronous jobs care far more about cost than latency. The new Flex service tier runs that work at 0.8× the real-time price — 20% off — in exchange for slower, best-effort scheduling. It's a single OpenAI-compatible field on the request: no separate endpoint, no new API to learn — and it's still a plain synchronous request, not an offline batch job. It mirrors OpenAI's own service_tier: "flex" — the same field with the same intent — so if you already send flex requests to OpenAI, moving that latency-tolerant work here is a one-line change.
Real-time pricing pays for capacity that's ready the instant you call. If your workload can tolerate waiting, you shouldn't have to pay for that readiness. Flex is built for the jobs where throughput and cost matter more than time-to-first-token:
You opt in per request by setting service_tier to "flex". Leave it off and your request runs at the standard real-time tier and price, exactly as it does today — Flex is purely additive.
One field. Add "service_tier": "flex" to any chat or completions request. Flex requests are best-effort:
Flex is still a synchronous request. Unlike an offline batch job, your API call behaves like any normal request — it blocks until the model responds (or the wait window expires) and returns the completion inline. Same request, same response shape; only the scheduling and price change.
When a model has spare capacity, flex requests are served right away. The trade-off only shows up under load — flex yields to real-time traffic instead of competing with it.
/v1/chat/completions/v1/completionsEverything works through the standard OpenAI-compatible API you're already using.
Flex is billed at 0.8× the corresponding real-time price — a 20% discount, applied automatically, with no extra configuration.
The important part: if a flex request isn't handled, it isn't billed. A request that waits out the window without capacity and returns a 429 costs you nothing — you're only charged for requests the model actually serves. (Send flex to a model that doesn't support the tier and it's served at the standard tier and price instead.)
Flex is rolling out across our catalog. You don't have to guess which models qualify: every model that supports flex carries a Flex tag on its model page, so you can see at a glance whether a model honors the tier before you send a request.
And you can always confirm it programmatically: send a request with service_tier="flex" and check the echoed service_tier on the response. If it comes back "flex", you're getting the discount; if it comes back "default", the model isn't flex-enabled yet and you were charged the standard price.
Using the OpenAI Python client — just add service_tier="flex" and read it back off the response:
from openai import OpenAI
client = OpenAI(
api_key="$DEEPINFRA_TOKEN",
base_url="https://api.deepinfra.com/v1/openai",
)
resp = client.chat.completions.create(
model="meta-llama/Meta-Llama-3.1-8B-Instruct",
messages=[{"role": "user", "content": "Classify this review as positive or negative: ..."}],
service_tier="flex",
)
print(resp.choices[0].message.content)
print("served as:", resp.service_tier) # "flex" when the discount was applied
Or with curl — service_tier is just another field in the JSON body:
curl https://api.deepinfra.com/v1/openai/chat/completions \
-H "Authorization: Bearer $DEEPINFRA_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"model": "meta-llama/Meta-Llama-3.1-8B-Instruct",
"messages": [{"role": "user", "content": "Classify this review as positive or negative: ..."}],
"service_tier": "flex"
}'
The service_tier field on the response tells you which tier actually served the request.
See the Service Tier documentation for the full reference, and start moving your latency-tolerant work to Flex.
Best MiMo-V2.5 API Providers Ranked<p>Executive Summary: Selecting the right API provider for Xiaomi’s MiMo-V2.5 is critical for optimizing production workflows. Based on the benchmark research, DeepInfra is the best provider for raw speed and low latency (130+ tokens/second), while Xiaomi’s first-party API is the most cost-effective, offering unmatched prompt caching discounts. This guide breaks down the model’s MoE architecture […]</p>
Best SaaS Tools and API Providers for MiMo-V2.5<p>As LLM architectures grow increasingly complex, the introduction of the MiMo-V2.5 series represents a significant step forward in multimodal capabilities and massive context handling. Integrating a model with a 1M-token context window and native multimodal support (image, video, audio, text) introduces substantial infrastructure considerations. For developers and enterprise architects, the priorities are clear: managing inference […]</p>
NVIDIA Nemotron 3 Super: Model Overview & Integration Guide<p>The NVIDIA Nemotron 3 Super is a state-of-the-art 120-billion parameter hybrid Mixture-of-Experts (MoE) model designed to bridge the gap between high-compute efficiency and extreme accuracy. Engineered specifically for the next generation of AI development, Nemotron 3 Super excels in multi-agent applications, specialized agentic systems, and complex reasoning tasks. By utilizing a sophisticated architecture that activates […]</p>
© 2026 DeepInfra. All rights reserved.