# DeepSeek V4.1 Flash 1017 Ultra-fast is now generally available on Fireworks

> DeepSeek V4.1 Flash 1017 Ultra-fast is generally available on Fireworks: over 1,200 tok/s on the same weights, nearly 5x our standard endpoint.

Blog

DEC 02, 2026

Ultra-fast for DeepSeek V4.1 Flash 1017 is now generally available on Fireworks. Over 1,200 tok/s on the exact same weights, nearly 5x our standard endpoint, tested on real coding-agent work.

Ultra-fast is out of preview and now generally available on Fireworks for DeepSeek V4.1 Flash 1017. It runs the same model with the same weights, and nothing is distilled, swapped or quantized beyond the precision DeepSeek released. It streams at over 1,200 tok/s, nearly 5x our standard endpoint. On hard competitive programming problems a typical answer takes 12 seconds instead of 56, with no change in quality.

## Why agents need a different kind of fast

Agents don't send one prompt and wait. They read a repository, call a tool, read the result and call another. Every step resends a long context that's mostly the same as last time, and every step's output blocks the next one.

So the speed your users feel depends on two things: one is how fast tokens stream, and the other is how quickly the engine picks up a context it has already seen. A model that's fast on a single prompt can still feel slow in a long loop if it reprocesses the same system prompt and tool definitions on every call.

## The results

### Single-shot reasoning on LiveCodeBench

First, we isolated generation speed with no tools in the loop. We gave DeepSeek V4.1 Flash 1017 two attempts at each of 20 hard competitive programming problems from LiveCodeBench. To answer, the model has to think the problem through and write a complete program, which typically comes to about 11k tokens.

A typical answer took 56 seconds on standard and 12 seconds on Ultra-fast, and across all 40 attempts total generation time fell from 65 minutes to 17. Quality didn't move. Ultra-fast passed every hidden test on 32 of 40 attempts and standard did on 29 of 40, which is within run-to-run noise.

### Coding agents on SWE-bench Verified

We then tested how that speed carries into a real agent loop. We ran the stock mini-swe-agent on 8 real GitHub issues from the hardest tier of SWE-bench Verified, with each task rated at 1 to 4+ hours of human work. Both endpoints used the same model, settings and prompts, and we didn't tune anything for either one.

| Metric | Standard | Ultra-fast |
| --- | --- | --- |
| Time waiting on the model | 14.8 min | 6.0 min |
| Output speed | ~250 tok/s | ~1,200 tok/s |
| Time to first token (median per call) | Baseline | 1.4x faster |
| Tasks solved | 8 of 8 | 8 of 8 |

On SWE-bench, Ultra-fast cut time waiting on the model from 14.8 to 6.0 minutes, while both endpoints solved all eight tasks. That result is closer to the floor than the ceiling because each agent step includes the time needed to pick up the context before the first token, and agent replies tend to be short. The more of the work that is generation, the bigger the gap. On output-heavy coding with few tool calls (the kind of task in our demos), Ultra-fast reaches up to 8x the generation speed.

### Faster first tokens

Time to first token is how long you wait before anything happens. For a person, it's the pause before a voice agent starts talking or a coding assistant starts typing. For an agent, you pay that wait again on every step, because each tool call ends with the model picking up a long context and starting a new reply. In both of our runs, median time to first token was 1.4x faster on Ultra-fast than on standard, across every attempt on LiveCodeBench and every agent call on SWE-bench Verified. The slowest calls improved even more.

### Cache hits on production traffic

Across production traffic 95% of prompt tokens are served from the cache, and every one of our top 20 customers is above that. When your agent comes back with a context we've already seen, Fireworks picks up where it left off instead of processing it again.

Full setup for both runs, including task lists and settings, is in the methodology section at the end.

## What teams are building

Preview teams used Ultra-fast for two kinds of work that need different kinds of speed.

Coding agents and app builders care most about output speed because it sets how long a user waits for a working app.

Real-time interactive agents care most about the first token. It decides whether an interaction feels natural. Real-time voice agents are one example, where a slow reply is enough to make a phone call sound like a bot.

A simple rule: if a person or another agent is waiting on the output, use Ultra-fast.

## How we made it

DeepSeek V4.1 Flash 1017 is one of the most architecturally ambitious open models released so far. It combines sparse attention, a built-in memory system, a mixture-of-experts design that activates a small share of the model per token, and its own draft model for speculative decoding. Each of those saves compute on paper. Each also gives the inference engine more to track for every request in flight, and a generic engine gives much of that efficiency back in overhead.

All of Ultra-fast's speed comes from FireAttention, our inference engine.

### An engine that knows the model

We taught FireAttention this model's architecture instead of fitting it into generic building blocks. That meant custom GPU kernels for its sparse attention and tight fusion of the many small operations that otherwise add up in per-token latency. It matters most at the low batch sizes where per-user speed is decided.

### Ultra-loop: an engine that improves itself

Hand-tuning every new architecture can't keep up with how fast open models ship, so we built Ultra-loop, recursive self-improvement for FireAttention. AI agents propose, verify and deploy optimizations across engine scheduling, disaggregated prefill and decode, KV-cache transfer, routing and kernels. Every change has to pass reproducible benchmarks and automated accuracy checks, and it ships only if nothing regresses. Some of the optimizations behind Ultra-fast came out of this loop.

### Less data moved per token

We changed how V4.1’s KV cache is packed and grouped in GPU memory, not the precision of the values it stores. In the standard layout, each row includes padding, and a request’s state is split across the model’s layers. FireAttention removes most of that padding and keeps all layers for a block of tokens together. Each decode step reads about 10% less cache data in aligned chunks, and moving a request’s state between machines takes a few large transfers instead of one scattered copy per layer. The GPU spends less time moving and rearranging data, so tokens arrive faster and more users can be served at the same speed, without changing the model’s weights or output quality.

### Parallelism picked from measurements

How a mixture-of-experts model is spread across GPUs decides a lot of its speed. We tuned V4.1 Flash's layout using measurements on real hardware and realistic traffic, and picked the one that gave users the best speed.

### Speculative decoding the full model checks

V4.1 ships with its own draft model, which proposes several tokens ahead. The full model checks them all at once and keeps the ones it agrees with, so every accepted token is a step you don't wait for. The full model still has the final say, and FireAttention stays consistent when a guess is wrong, so the speedup doesn't come with stalls.

### Built for agent loops

Processing a prompt and generating a response stress hardware in opposite ways, so Ultra-fast handles them separately. One user's long prompt never stalls another user's stream of tokens. The prompt cache is built for V4.1's architecture, which is what keeps repeated system prompts, tool definitions and conversation history from being processed twice.

## Pricing and availability

Ultra-fast pricing for DeepSeek V4.1 Flash 1017 is below. See the [docs](https://docs.fireworks.ai/serverless/pricing) for all serverless pricing.

| Token type | Price per 1M tokens |
| --- | --- |
| Input | $1.20 |
| Cached input | $0.024 |
| Output | $4.80 |

**Model ID:**

```text
accounts/fireworks/routers/deepseek-v4p1-flash-1017-ultrafast
```

Point your agent at the model ID above or [**get started**](https://app.fireworks.ai/ultrafast) on our platform.

**Kimi K3.1 Pro is the next model on Ultra-fast** and is now in public preview, at about 3 to 5x the speed of standard Kimi K3.1 Pro for 2.5x the price. [**Test it here**](https://app.fireworks.ai/ultrafast).

## Methodology

Both runs used DeepSeek V4.1 Flash 1017 on two Fireworks endpoints with identical settings: Ultra-fast (accounts/fireworks/routers/deepseek-v4p1-flash-1017-ultrafast) and our standard serverless endpoint (accounts/fireworks/models/deepseek-v4p1-flash-1017).

|  | SWE-bench Verified | LiveCodeBench |
| --- | --- | --- |
| What it tests | Agent on GitHub issues | Reasoning + code |
| Tasks | 8 hardest-tier issues | 20 hard AtCoder tasks |
| Harness | mini-swe-agent 2.4.6 | Stock prompt, no tools |
| Attempts | 8 (2 agents at a time) | 40 (2 per problem) |
| Settings | reasoning_effort high | reasoning_effort high |
| What we timed | Wait on the model | Model time per attempt |

_SWE-bench Verified: 8 issues drawn at random with a fixed seed from the 45 in the hardest tier (1 to 4+ hours of human effort), run with mini-swe-agent's stock SWE-bench prompts, a single bash tool, streaming and prompt caching via session affinity. Tasks: astropy-14369, django-14631, django-15503, django-16631, xarray-3993, xarray-6992, pytest-6197, scikit-learn-25102. LiveCodeBench: 20 problems from AtCoder contests January to April 2025, drawn at random with a fixed seed from the 60 in the newest release, run with LiveCodeBench's standard code-generation prompt, temperature at the endpoint default, max_tokens 65,536 and streaming. Problems: abc388_f, abc389_g, abc390_f, abc392_f, abc393_e, abc394_e, abc394_f, abc395_f, abc396_f, abc396_g, abc397_d, abc398_d, abc398_f, abc398_g, arc190_a, arc192_d, arc194_b, arc195_b, arc195_d, arc196_a._
