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

DeepInfra is officially live as an Inference Provider on the Hugging Face Hub. You can now call DeepInfra-hosted models directly from Hugging Face model pages, through our OpenAI-compatible router (use it with any OpenAI SDK), or via the Hugging Face SDKs in Python and JavaScript.
Hugging Face's Inference Providers system lets developers run inference against partner platforms without leaving the Hub. As of today, DeepInfra is one of those partners.
At launch, we support chat completion and text generation tasks. That covers most open-weight LLMs people deploy in production — DeepSeek V4, Kimi-K2.6, GLM-5.1, Llama, Qwen, Mistral, and many more. Support for our other model categories (text-to-image, text-to-video, embeddings, speech) will roll out next.
You can browse every DeepInfra-supported model here: 👉 huggingface.co/models?inference_provider=deepinfra
You have two ways to authenticate, and both work with the same code.
Option 1 — Use your DeepInfra API key. Add it to your Hugging Face provider settings. Requests go directly to DeepInfra and are billed to your DeepInfra account at standard rates.
Option 2 — Use your Hugging Face token. Hugging Face will route your request to DeepInfra and bill it to your HF account. PRO users get $2 of inference credits each month; free users get a small monthly quota.
from huggingface_hub import InferenceClient
client = InferenceClient()
completion = client.chat.completions.create(
model="deepseek-ai/DeepSeek-V4-Pro:deepinfra",
messages=[
{"role": "user", "content": "Write a Fibonacci function with memoization."}
],
)
print(completion.choices[0].message)
import { InferenceClient } from "@huggingface/inference";
const client = new InferenceClient(process.env.HF_TOKEN);
const completion = await client.chatCompletion({
model: "deepseek-ai/DeepSeek-V4-Pro:deepinfra",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(completion.choices[0].message);
The Hugging Face router is OpenAI-compatible, so existing OpenAI code works with one line changed — point base_url at the HF router:
from openai import OpenAI
client = OpenAI(
base_url="https://router.huggingface.co/v1",
api_key=os.environ["HF_TOKEN"],
)
completion = client.chat.completions.create(
model="deepseek-ai/DeepSeek-V4-Pro:deepinfra",
messages=[{"role": "user", "content": "Hello!"}],
)
The only thing that changes is the :deepinfra suffix on the model id.
If you already use DeepInfra, nothing changes — your existing API and account work exactly as they always have. What's new is reach.
GLM-5.2 Pricing, Benchmarks, and Cost Comparison<p>If you care about long-context reasoning but don’t want to lock yourself into a closed model, GLM 5.2 is worth attention for one simple reason: it pairs a 1M-token context window with open weights, MIT licensing, and a real provider market instead of a single take-it-or-leave-it endpoint. That makes it unusually relevant for teams doing […]</p>
MiMo-V2.5 Is Now Available on DeepInfra<p>Xiaomi’s MiMo-V2.5 collapses what used to require two separate models — frontier agentic capability and native multimodal understanding — into one. Previously, MiMo-V2-Pro handled agentic and coding tasks while MiMo-V2-Omni covered visual and audio inputs; MiMo-V2.5 replaces both. It handles text, images, video, and audio natively, extends context to 1 million tokens, and scores 71.8 […]</p>
MiMo-V2.5 Provider Pricing and Deployment Guide<p>MiMo-V2.5 is worth paying attention to because it puts three things developers usually have to trade off into the same conversation: open weights, a 1 million-token model design, and pricing that can be unusually low depending on where you buy it. On Xiaomi’s first-party API, Artificial Analysis lists MiMo-V2.5 at $0.14 per 1M input tokens […]</p>
© 2026 DeepInfra. All rights reserved.