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

Updated November 2026 for the DeepSeek-V4.1-Flash-1017 release.
DeepSeek-V4.1-Flash-1017 is a multimodal Mixture-of-Experts model with a 552B-parameter backbone and a context window of 1,048,576 tokens. It accepts text and image input and generates text. DeepSeek released it on October 17, 2026 as an update to DeepSeek-V4.1-Flash, which shipped on September 10.
1017 keeps the original model’s architecture and adds new post-training. DeepSeek calls it “a minor update” that delivers “substantial improvements across reasoning, coding, agentic tasks, and visual benchmarks” while reducing “task execution time and output length” (model card). It is also the model behind deepseek-flash on DeepSeek’s own API.
DeepInfra serves the model at fp8 with the full 1,048,576-token context and up to 393,216 output tokens, under a zero-retention policy. The architecture targets input-heavy agentic workloads: the Causal Encoder-Decoder design activates 8B parameters per token during prefill and 16B during decode, which keeps cost down on long prompts. For what changed in this release, see our post on the DeepSeek-V4.1-Flash-1017 launch on DeepInfra.
Model string: deepseek-ai/DeepSeek-V4.1-Flash-1017
The figures below are vendor-reported. DeepSeek ran them at maximum reasoning effort, temperature 1.0 and top_p 0.95, with the Claude Code harness for Terminal-Bench 4.0 and Mini-SWE-V2 for DeepSWE v1.1 (model card).
The architecture, context window and parameter counts are unchanged.
Like the September release, DeepSeek-V4.1-Flash-1017 uses a Causal Encoder-Decoder (CED) architecture: a 40-layer Transformer split into a 20-layer causal encoder and a 20-layer decoder. The decoder’s global KV cache is projected from the final encoder states, so the model activates only 8 billion parameters during prefill and 16 billion during decoding (V4.1-Flash model card).
reasoning_effort parameter (see Parameters below).| Benchmark | V4.1-Flash-1017 | V4.1-Flash (Sept) | Kimi K3 | GLM-5.3 | GPT-5.6 Sol | Opus 5 |
|---|---|---|---|---|---|---|
| HLE w/o tools | 42.6 (44.0†) | 36.8 (39.1†) | 43.5 | 42.0† | 44.5 | 56.3 |
| Terminal-Bench 4.0 | 42.3 | 31.2 | 12.6 | 37.9 | 39.9 | 51.8 |
| DeepSWE v1.1 | 77.0 | 74.2 | 67.5 | 66.9 | 73.0 | 74.0 |
| ProgramBench | 29.1 | 20.3 | 17.5 | 19.0 | 23.0 | 37.0 |
| NL2Repo-Bench | 68.2 | 65.4 | 58.0 | 58.0 | 56.8 | 75.3 |
| AutomationBench v1.0.6 | 60.5 | 54.8 | 46.7 | 48.8 | 45.8 | 50.3 |
| Agents’ Last Exam | 35.4 | 31.8 | 27.6 | 28.5 | 26.7 | 28.6 |
| Apex Bench v1.1 | 72.1 | 64.6 | 47.8 | 56.6 | 54.3 | 65.8 |
| Chartography (w/ tools) | 83.0 | 78.9 | 68.1 | — | 79.9 | 84.0 |
| BabyVision (w/ tools) | 92.5 | 89.6 | 85.7 | — | 88.9 | 94.1 |
| ZeroBench-main (w/ tools) | 51.0 | 49.0 | 41.0 | — | 53.0 | 52.0 |
Source: DeepSeek-V4.1-Flash-1017 model card, vendor-reported. † = HLE text-only subset. Bold marks the best score in each row.
1017 takes the top score on DeepSWE v1.1, AutomationBench, Agents’ Last Exam and Apex Bench. Opus 5 stays ahead on HLE, Terminal-Bench 4.0, ProgramBench, NL2Repo and two of the three vision tasks, and GPT-5.6 Sol leads ZeroBench. On HLE without tools, Kimi K3 (43.5) and GPT-5.6 Sol (44.5) also score above 1017’s full-set 42.6.
Scaffold choice matters. On the September release, DeepSeek reported that DeepSWE v1.1 ranged from 74.2 with mini-SWE to 72.6 with DeepSeek Harness Minimal, 69.8 with Claude Code and 65.6 with Codex. Expect similar spread with 1017.
Independent view. Artificial Analysis scores 1017 at 33 on its Intelligence Index v5.0.1, second of 29 open-weight models of similar size (class median 23). It calls the model “well priced” and “quicker than average per task, however very verbose”: 174M output tokens to run the index against a 104M median. On LiveBench 2.0 (November 6, 2026 table), 1017 scores 80.4 in coding and 38.8 on long-horizon agentic tasks.
These figures come from DeepSeek’s internal evaluation framework and describe the base model, not the instruct model served on DeepInfra. Scores within 0.3 of each other are treated as equivalent.
| Benchmark (Metric) | Shots | V4-Flash-Base | V4-Pro-Base | V4.1-Flash-Base |
|---|---|---|---|---|
| AGIEval (EM) | 3-5 | 83.9 | 84.4 | 83.4 |
| MMLU-Pro (EM) | 5 | 68.3 | 73.5 | 74.1 |
| SimpleQA-Verified (EM) | 25 | 30.1 | 55.2 | 42.3 |
| BBH (EM) | 3 | 86.9 | 87.5 | 86.1 |
| HumanEval (Pass@1) | 0 | 69.5 | 76.8 | 79.4 |
| GSM8K (EM) | 8 | 90.8 | 92.6 | 93.0 |
| MATH (EM) | 4 | 57.4 | 64.5 | 61.1 |
| DocVQA (LLM-Judge) | 4 | not reported | not reported | 95.6 |
Source: DeepSeek-V4.1-Flash model card.
V4.1-Flash-Base leads on MMLU-Pro, HumanEval and GSM8K. It trails both predecessors on AGIEval, BBH and MATH, and V4-Pro keeps a wide lead on SimpleQA-Verified. Backbone parameters are 284B for V4-Flash, 1.6T for V4-Pro and 552B for V4.1-Flash, so the comparison is not like for like on size.
Pricing as of 2026-11-17, per 1M tokens (model page):
| Tier | Input | Output | Cached input |
|---|---|---|---|
| Standard, promotional (51% off) | $0.098 | $0.294 | $0.003 |
| Standard, list | $0.20 | $0.60 | $0.006 |
| Flex (0.8×) | $0.0784 | $0.2352 | $0.0024 |
| Priority (1.5×) | $0.147 | $0.441 | $0.0044 |
The 51% promotion comes off list, and Flex and Priority apply to the promotional rate. No end date has been published for the promotion.
At these promotional rates, DeepInfra had the lowest input, output and blended price of every provider Artificial Analysis benchmarked for 1017 on November 17, 2026, and the lowest cost per Intelligence Index task ($0.19), with a 0.0% error rate. They are also below DeepSeek’s own API at every hour: DeepSeek charges $0.30 / $1.20 at peak and $0.15 / $0.60 off-peak. If response speed is your product, test DigitalOcean or Parasail, which measured roughly twice DeepInfra’s output speed at $0.30 / $1.20; for batch, agents and cost-sensitive work, the per-token gap compounds.
Set service_tier to "priority" for traffic that should not queue, at a 50% surcharge. Set it to "flex" for a 20% discount in exchange for best-effort scheduling: a Flex request can wait up to ten minutes for capacity before it runs or returns an HTTP 429, and a rejected Flex request is not charged, so use it for work you can retry (Flex service tier). Leave service_tier unset for standard real-time scheduling and pricing.
The reasoning_effort setting is a second cost lever: reasoning tokens bill as output, so lower effort means a smaller bill on simple steps. For repeated long prefixes, prompt_cache_key and prompt_cache_options keep cached input at $0.003 per 1M (prompt cache retention).
The API is OpenAI-compatible. Point your existing OpenAI client at DeepInfra’s base URL and change the model name.
https://api.deepinfra.com/v1/openai/chat/completionsAuthorization: Bearer $DEEPINFRA_API_KEYcurl "https://api.deepinfra.com/v1/openai/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $DEEPINFRA_API_KEY" \
-d '{
"model": "deepseek-ai/DeepSeek-V4.1-Flash-1017",
"messages": [
{
"role": "user",
"content": "Explain the benefits of a Mixture-of-Experts (MoE) architecture."
}
],
"reasoning_effort": "low",
"max_tokens": 4096
}'
In Python:
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["DEEPINFRA_API_KEY"],
base_url="https://api.deepinfra.com/v1/openai",
)
response = client.chat.completions.create(
model="deepseek-ai/DeepSeek-V4.1-Flash-1017",
messages=[
{
"role": "user",
"content": [
{"type": "text", "text": "What does this architecture diagram show? List the components."},
{"type": "image_url", "image_url": {"url": "https://example.com/diagram.png"}},
],
}
],
temperature=1.0,
top_p=0.95,
max_tokens=32768,
extra_body={
"reasoning_effort": "high", # none | minimal | low | medium | high | xhigh | max
"service_tier": "flex", # remove this line for the standard tier
},
)
print(response.choices[0].message.content)
print(response.usage)
| Parameter | Notes |
|---|---|
model | Required. deepseek-ai/DeepSeek-V4.1-Flash-1017 |
messages | Required. Roles: system, user, assistant, tool. User content can include images. |
reasoning_effort | String: none, minimal, low, medium, high, xhigh or max. "none" turns thinking off. DeepSeek’s benchmark results use maximum effort. Reasoning tokens bill as output. |
reasoning | Object form of the same control: {"effort": "...", "enabled": true/false}. |
max_tokens | Maximum tokens to generate, up to 393,216. If unset: the smaller of 65,536 and the remaining context. See output limits below. |
temperature | 0 to 2. Default 1. DeepSeek recommends 1.0. |
top_p | Default 1. DeepSeek recommends 0.95 or 1.0. |
stream | Set to true for server-sent events. |
stop | Up to 16 sequences that halt generation. |
n | Number of completions. Default 1, up to 4. |
presence_penalty, frequency_penalty | −2.0 to 2.0. Default 0. |
response_format | {"type": "json_object"}, a JSON schema, or a regex for structured output. |
tools, tool_choice | Function calling. |
service_tier | "priority" or "flex". Leave unset for standard. |
fail_fast | Return HTTP 429 immediately instead of queueing when the model is at capacity. Default false. |
prompt_cache_key, prompt_cache_options | Share and retain a prompt cache across requests, e.g. {"ttl": "1h"}. |
DeepSeek’s model card describes reasoning effort as an integer from 1 to 100 on its own stack. DeepInfra’s API takes the string values above.
There is no 16,384-token output cap on this model. You can request up to 393,216 output tokens (384K). If you leave max_tokens unset, DeepInfra uses the smaller of 65,536 tokens and whatever remains of the 1,048,576-token context window after your input. Input and output together must fit in that window.
DeepSeek recommends a max_tokens budget of at least 256K for its hardest tasks. At maximum effort the model can reason for tens of thousands of tokens before the final answer starts, so set max_tokens explicitly for agent and coding runs, and stream long generations to avoid client timeouts.
{
"id": "chatcmpl-guMTxWgpFf",
"object": "chat.completion",
"created": 1694623155,
"model": "deepseek-ai/DeepSeek-V4.1-Flash-1017",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "..."
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 15,
"completion_tokens": 16,
"total_tokens": 31
}
}
DeepSeek-V4.1-Flash-1017 keeps the September release’s efficient architecture (8B active parameters on prefill, an 890-byte-per-token KV cache, a 1M context) and makes it noticeably better at agentic coding and automation, according to DeepSeek’s own numbers. Independent results agree that it is one of the strongest open-weight models of its size. Its weak spots are verbosity at high effort and a remaining gap to the best closed models on Terminal-Bench 4.0, ProgramBench and HLE.
On DeepInfra, the current promotion puts it at $0.098 input and $0.294 output per 1M tokens, or $0.2352 output on Flex: the lowest price among the providers Artificial Analysis benchmarked for this model as of November 17, 2026.
Next Steps:
prompt_cache_key to cut costs on repeated, long-context prompts.messages array for chart, screenshot and document analysis.reasoning_effort set to "low" or "none" for simple steps, and reserve "high" or "max" for hard agent tasks.
Kimi K3.1 Pro: Model Overview, Benchmarks & API Guide<p>Kimi K3.1 Pro is Moonshot AI’s flagship open-weight model, released on October 23, 2026 and built for long-horizon agent work: coding, 3D creation, financial research and document-heavy tasks. It is a 2.8-trillion-parameter Mixture-of-Experts model with 104B parameters active per token, takes text and images as input, returns text, and has a 1,048,576-token context window. K3.1 […]</p>
NVIDIA Nemotron 3 Super on DeepInfra: 120B MoE Model<p>NVIDIA’s Nemotron 3 Super runs 120 billion parameters while activating only 12 billion per token — a ratio that makes a real difference when orchestrating multiple agents in parallel. It’s built on a novel architecture called LatentMoE, a hybrid of Mamba-2, Mixture-of-Experts, and Attention layers designed from the ground up for agentic, reasoning, and long-context […]</p>
Best Dedicated Inference Endpoint Providers for Scaling AI Companies in 2026Compare six dedicated inference endpoint providers for scaling AI companies in 2026, including DeepInfra, with GPU pricing, controls, and trade-offs.© 2026 DeepInfra. All rights reserved.