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

DeepSeek V4.1 Flash 1017 on DeepInfra: Pricing & API

Published on 2026.09.28 by DeepInfra
DeepSeek V4.1 Flash 1017 on DeepInfra: Pricing & API

Updated November 2026 for DeepSeek-V4.1-Flash-1017.

DeepSeek’s October update to V4.1-Flash lifts Terminal-Bench 4.0 from 31.2 to 42.3 and DeepSWE v1.1 from 74.2 to 77.0, according to DeepSeek’s model card (vendor-reported). DeepSeek released DeepSeek-V4.1-Flash-1017 on October 17, 2026 as a minor update with “substantial improvements across reasoning, coding, agentic tasks, and visual benchmarks”, plus shorter task execution and output. The architecture is unchanged: a 552B-parameter backbone that runs with just 8B active parameters during input processing and 16B during decoding, a 1M-token context window and native image input.

DeepSeek-V4.1-Flash-1017 is now live on DeepInfra at $0.098 per 1M input tokens and $0.294 per 1M output tokens with the current 51% promotion. At current promotional pricing, that’s the lowest input, output and blended price among the providers Artificial Analysis benchmarks for this model, and DeepInfra also has the lowest cost per Intelligence Index task there ($0.19), with a 0% error rate. It’s also below DeepSeek’s own off-peak API rate of $0.15 / $0.60.

The headline architectural win is still KV cache compression. V4.1-Flash’s global KV cache footprint lands at 890 bytes per token, roughly one quarter of its predecessor V4-Flash, which cuts the memory and storage costs that make long agentic runs expensive. On Artificial Analysis’s Intelligence Index v5.0.1, the 1017 release scores 33, second of 29 open-weights models of its size (class median 23). The model is open-weights under an MIT license and runs at fp8 on DeepInfra.

What Makes This Model Different

The most structurally notable thing about V4.1-Flash is its Causal Encoder-Decoder (CED) architecture, a real departure from the standard decoder-only transformer. The 40-layer backbone splits into a 20-layer causal encoder and a 20-layer decoder, and the decoder’s global KV cache is projected from the final encoder hidden states rather than built per layer. That asymmetry is what makes the active parameter counts possible: 8B active during prefill and 16B during decode, against a 552B backbone, alongside a 196B Engram conditional memory component that is accessed sparsely. For input-heavy workloads like agentic pipelines, the lower prefill cost is material.

The KV cache design deserves its own mention. V4.1-Flash uses Compressed Sparse Attention 2 (CSA2), which assigns each attention layer one of three static modes, Full, Reindex or Reuse, to share main KV and indexer K across layers. CSA2 combined with FP4 main KV caching produces the 890-byte global footprint. A separate mechanism, SWA Bounded Replay, reconstructs sliding-window attention states by replaying recent tokens instead of persisting them to SSD, which cuts the persistent cache to roughly an eighth of V4-Flash. If you want to see how the numbers compare against current contemporaries rather than last generation’s, GLM-5.3 and Qwen3.8-Flash are the closest points of reference on DeepInfra today.

ModelGlobal KV cache per tokenRelative to V4.1-Flash
DeepSeek-V1approx. 389,000 bytes437x larger
DeepSeek-V4-Flashapprox. 3,560 bytes4x larger
DeepSeek-V4.1-Flash890 bytesbaseline

DeepSeek publishes the 890-byte figure and the 4-fold and 437-fold ratios. The absolute byte counts for V1 and V4-Flash in the middle column are derived from those ratios rather than published directly. Persistent KV cache is a separate measurement: V4.1-Flash holds roughly an eighth of what V4-Flash needs on SSD.

For agents running long sessions with many cache hits, this translates directly into lower memory pressure and lower infrastructure cost.

What changed in 1017

1017 keeps the architecture and weight layout of the September release and improves the post-training. DeepSeek calls it “a Pareto improvement in performance and cost”: better scores with shorter task execution and output. Every row in DeepSeek’s comparison table moved up, and the agentic coding rows moved the most.

BenchmarkV4.1-Flash-1017V4.1-Flash (September)ΔKimi K3GLM-5.3GPT-5.6 SolClaude Opus 5
Terminal-Bench 4.042.331.2+11.112.637.939.951.8
DeepSWE v1.177.074.2+2.867.566.973.074.0
ProgramBench29.120.3+8.817.519.023.037.0
NL2Repo-Bench68.265.4+2.858.058.056.875.3
Automation-Bench v1.0.660.554.8+5.746.748.845.850.3
Agents’ Last Exam35.431.8+3.627.628.526.728.6
Apex Bench v1.172.164.6+7.547.856.654.365.8
HLE (no tools)42.636.8+5.843.542.0*44.556.3
Chartography (with tools)83.078.9+4.168.1–79.984.0
BabyVision (with tools)92.589.6+2.985.7–88.994.1
ZeroBench-main (with tools)51.049.0+2.041.0–53.052.0

All scores are vendor-reported from the DeepSeek-V4.1-Flash-1017 model card, run by DeepSeek at maximum effort; comparison columns are as DeepSeek reported them. *Text-only subset of HLE.

1017 leads the whole table on DeepSWE v1.1, Automation-Bench, Agents’ Last Exam and Apex Bench, so it’s strongest on real-world software engineering and agent tasks. Claude Opus 5 still leads on Terminal-Bench 4.0, ProgramBench, NL2Repo, HLE and two of the three vision rows, and GPT-5.6 Sol leads ZeroBench and edges 1017 on HLE without tools (44.5 vs 42.6). DeepSeek ran every number here.

The base model numbers are unchanged from the September release: 74.1 on MMLU-Pro, 79.4 on HumanEval and 93.0 on GSM8K, ahead of V4-Pro-Base on all three despite far fewer active parameters.

On capabilities, V4.1-Flash supports the full 1,048,576-token context window and is natively multimodal from pretraining, handling text and images through a DeepSeek-ViT trained from scratch with 2D-RoPE and a two-layer MLP projector. Vision benchmarks on the base model include 95.6 on DocVQA and 86.0 on RefCOCO-avg.

DeepSeek’s native reasoning control is an integer from 1 to 100. On DeepInfra you set reasoning depth with the reasoning_effort string instead: none, minimal, low, medium, high, xhigh or max, where none turns thinking off. That lets you tune the cost and accuracy trade-off per request rather than choosing between a thinking and a non-thinking model.

Where it’s not the right fit

Artificial Analysis calls 1017 “very verbose”: it used 174M output tokens to run the Intelligence Index, against a class median of 104M. At these prices that matters less than it would on a frontier model, but budget for long reasoning traces at high effort. Faster endpoints exist (DigitalOcean, Parasail and Bitdeer AI all lead DeepInfra on output speed on Artificial Analysis); if response speed is your product, test them. For batch, agents and cost-sensitive workloads, the per-token gap compounds.

Compared with what came before it, V4.1-Flash was a ground-up rebuild rather than a fine-tune or an incremental update. DeepSeek pre-trained the model from scratch on 45T tokens, rebuilt the post-training pipeline around large-scale automated agent task synthesis, and introduced the CED design; 1017 builds on that with more post-training. DeepInfra continues to host the earlier V4 models alongside it, so you can benchmark against them directly or follow release notes on the DeepInfra blog.

Getting Started on DeepInfra

DeepSeek-V4.1-Flash-1017 is available now on DeepInfra under the model identifier deepseek-ai/DeepSeek-V4.1-Flash-1017. Pricing is usage-based across three tiers:

TierInputOutputCached 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

Per 1M tokens. Pricing as of 2026-11-17. Flex and Priority apply to the promotional rate. Source: model page.

The 51% promotion has no published end date, so budget against the $0.20 / $0.60 list price and treat the discount as upside. Cached input costs 3% of the input rate, a meaningful saving given that the architecture is built around input-heavy, cache-intensive workloads.

As an example, an agent workload of 100M input tokens and 10M output tokens costs $9.80 + $2.94 = $12.74 at the promotional rate, or $10.19 on Flex. At DeepSeek’s own off-peak rate ($0.15 / $0.60) the same job costs $21.00, and at its peak rate ($0.30 / $1.20) $42.00.

Flex is a best-effort tier: send "service_tier": "flex", and the request can wait up to ten minutes for capacity before it runs or returns an HTTP 429. A rejected request never reaches the model, so nothing is billed for it. Priority ("service_tier": "priority") is for traffic that shouldn’t queue.

The model supports JSON mode, structured output, function calling and multimodal text-plus-image input out of the box. On limits: the 1,048,576-token context window covers prompt and completion combined, and the maximum output on DeepInfra is 393,216 tokens (384K). If you leave max_tokens unset, DeepInfra uses the smaller of the remaining context and 65,536 tokens, so set it explicitly for long reasoning runs; DeepSeek recommends a generation budget of at least 256K tokens for hard tasks.

The original deepseek-ai/DeepSeek-V4.1-Flash ID is still available on DeepInfra at its own pricing, so existing integrations keep working. Use the 1017 ID for new work.

DeepInfra gives you immediate API access with no infrastructure to manage: an OpenAI-compatible endpoint, usage-based billing, and Priority and Flex throughput tiers to match your latency requirements. The company operates a zero-retention policy, set out in its privacy policy, and holds SOC 2 and ISO 27001 certification. Live uptime is published on the DeepInfra status page, and the platform is backed by a $107M Series B raised to scale the inference cloud.

If you are evaluating alternatives alongside V4.1-Flash-1017, NVIDIA Nemotron-3-Super-120B-A12B and Gemma 4 31B sit at different points on the price and capability curve. For embeddings, speech, reranking and image models, the other API surfaces follow the same billing model.

To make your first call, export your API key as DEEPINFRA_API_KEY and use the model name:

curl "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",
      "reasoning_effort": "high",
      "messages": [
        {"role": "user", "content": "Hello!"}
      ]
    }'
copy

The only things that change from any existing OpenAI-compatible integration are the base URL, https://api.deepinfra.com/v1/openai, your DeepInfra API key, and the model name. The API reference lists every supported parameter.

Conclusion

DeepSeek-V4.1-Flash-1017 keeps what made V4.1-Flash interesting, a model that cuts active parameters and KV cache footprint sharply, and adds better agentic coding results on top. The CED design and CSA2 compression have direct consequences for what it costs to run long agentic sessions at scale, and at current promotional pricing it’s the lowest-cost endpoint Artificial Analysis benchmarks for this model, per token and per task. For developers building code agents, autonomous pipelines, or anything that leans on large context and frequent cache hits, this belongs in your eval queue.

For more on this model, see the DeepSeek V4.1 Flash pricing guide, the API provider benchmarks, the model overview and integration guide, our list of the best DeepSeek V4.1 Flash API providers and how it ranks among the best open-source models for coding.

Grab an API key, run the curl call above, and compare it against whatever you are using today on your own workload rather than on a benchmark table. Building a startup? DeepStart gives eligible startups about 50 billion free tokens (counted at DeepSeek V4 Flash prices) to spend on any model on DeepInfra.

Related articles
Muse Glimmer 30B: Model Overview, Benchmarks & API GuideMuse Glimmer 30B: Model Overview, Benchmarks & API Guide<p>Muse Glimmer is a 30-billion-parameter open-weight model from Meta Superintelligence Labs, released on August 10, 2026 under Apache 2.0 and built for agent workloads: tool calling, multi-step tasks, coding agents and LLM-as-a-judge evaluation. It takes text and images as input, returns text, and has a 131,072-token context window. Meta distilled it from Muse Spark, its [&hellip;]</p>
DeepSeek V4.1 Flash 1017 API Benchmarks: Speed, Latency & CostDeepSeek V4.1 Flash 1017 API Benchmarks: Speed, Latency & Cost<p>Updated November 2026 for DeepSeek-V4.1-Flash-1017. DeepSeek V4.1 Flash 1017 (Reasoning, Max Effort) API Review Summary Metric Value Context Price on DeepInfra $0.098 input / $0.294 output / $0.003 cached per 1M (51% promo; list $0.20 / $0.60 / $0.006) Lowest input, output and blended price on Artificial Analysis at current promotional pricing Blended price on [&hellip;]</p>
DeepSeek V4.1 Flash 1017: Model Overview & API GuideDeepSeek V4.1 Flash 1017: Model Overview & API Guide<p>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&#8217;s [&hellip;]</p>