NewKimi K3.1 Pro is now availableTry it now
BlogPublished 8 min read

Benchmarking DeepSeek V4.1 Flash & Kimi K3: Live Speed & Open Harness

Live 15-minute production speed, TTFT, and pricing for DeepSeek V4.1 Flash and Kimi K3 on Inference.net, plus a zero-dependency Python benchmark script.

Inference.net Team

Most LLM provider speed claims come from a single-user curl loop run against an idle GPU ten minutes before a blog post goes live. Those numbers tell you very little about what happens when a real coding agent sends 40,000-token multi-turn prompts at concurrency 50.

On Inference.net, we publish live production speed and latency continuously at inference.net/benchmarks/ (and as machine-readable Markdown at https://inference.net/benchmarks.md) from rolling 15-minute ClickHouse telemetry over real API traffic. And today we are pairing that live telemetry with a zero-dependency, MIT-licensed Python benchmark harness at /benchmarks/inference-bench.py so any engineer — or independent evaluator — can reproduce TTFT, inter-token output throughput, tail latency, and HTTP 429/5xx behavior in 60 seconds against https://api.inference.net/v1 or any other OpenAI-compatible endpoint.

Live production telemetry snapshot

The table below is a verbatim snapshot of inference.net/benchmarks/ (https://inference.net/benchmarks.md) captured on December 4, 2026 at 21:44 UTC. Every speed and TTFT figure is a rolling 15-minute median (p50) across live production traffic on api.inference.net under standard Zero Data Retention serving.

Because production medians move with real request mix, prompt lengths, and concurrency throughout the day, check the live leaderboard for the current 15-minute window.

ModelAPI Model IDp50 Output tok/sp50 TTFTInput / 1MOutput / 1MBlended (3:1) / 1MContext
DeepSeek V4 Flash (0731)deepseek-v4-flash-0731391 tok/s1.6 s$0.53$1.58$0.7931M
DeepSeek V4.1 Flash 1017deepseek-v4.1-flash-1017166 tok/s159 ms$0.08$0.635$0.2191M
DeepSeek V4.1 Flashdeepseek-v4.1-flash149 tok/s138 ms$0.103$0.60$0.2271M
Kimi K3moonshotai/kimi-k3149 tok/s467 ms$0.245$15.00$3.931M
DeepSeek V4.1 Flash 1017 Cyber²deepseek-v4.1-flash-1017-cyber—¹—¹$0.30$1.00$0.4751M
GLM-5.3-Flashglm-5.3-flash—¹—¹$0.10$0.35$0.1621M
MiniMax M3.1 Flashminimax-m3.1-flash—¹—¹$0.10$0.50$0.2001M
GLM-5.3glm-5.3—¹—¹$0.084$3.00$0.8131M
Kimi K3.1 Promoonshotai/kimi-k3.1-pro—¹—¹$1.80$9.00$3.601M

¹ Models below the minimum completed-request threshold inside a given 15-minute ClickHouse window render — on /benchmarks/ instead of stale historical peaks or synthetic probes. Live readings appear automatically whenever active traffic crosses the threshold. ² Privileged model requiring approved Team access before API requests succeed; see Privileged Model Access.

A few points stand out in this snapshot:

  • Sub-200 ms median TTFT on 1M-context reasoning models. Both DeepSeek V4.1 Flash (138 ms p50 TTFT, 149 tok/s) and DeepSeek V4.1 Flash 1017 (159 ms p50 TTFT, 166 tok/s) sustain interactive first-token latency across real multi-turn production prompts — at $0.219–$0.227 per 1M blended tokens (3:1 input-to-output ratio).
  • High decode throughput on frontier MoE models. DeepSeek V4 Flash (0731) sustained 391 tok/s p50 decode throughput, and Kimi K3 (Artificial Analysis Intelligence Index: 57) sustained 149 tok/s p50 with 467 ms p50 TTFT.
  • Full-catalog cost modeling. You can plug your own input/output ratio and prompt-cache hit rate into the LLM pricing calculator to estimate real workload spend across these models.

Why live 15-minute production telemetry matters

Synthetic benchmarks are useful for controlled A/B comparisons, which is why we also ship a local harness below. On their own, however, single-request synthetic runs hide four failure modes that dominate real agentic workloads:

  1. Queueing under burst concurrency. A cluster that runs at 200 tok/s with one request in flight can collapse to multi-second TTFT at 40 concurrent requests if scheduling or KV-cache eviction is misconfigured.
  2. Long-context head-of-line blocking. A single 200K-token prefill arriving on the same worker as a 2K-token interactive turn will spike TTFT for every queued caller unless the router separates them.
  3. Cache-cold vs. cache-warm reality. Real coding agents resend 80–99% identical conversation prefixes on every turn. Measuring production traffic captures how well prefix routing actually preserves KV cache in the wild.
  4. Silent throughput throttling via HTTP 429s. Reporting decode speed only for requests that got through hides rate-limit rejections and retries that degrade end-to-end user latency.

That is why /benchmarks/ aggregates completed production requests over a trailing 15-minute ClickHouse window (cached for 30 seconds) and omits quiet models that do not meet the active-window sample threshold rather than backfilling them with historical peak numbers. Only if the upstream telemetry relay itself is temporarily unavailable does /benchmarks/ serve a durable last-known-good snapshot (up to 24 hours, flagged via x-perf-status: stale) to stay resilient without hiding staleness.

How we hit sub-200 ms TTFT and high decode throughput in production

Delivering consistent speed on large Mixture-of-Experts (MoE) models like the DeepSeek V4.1 family, Kimi K3, GLM-5.3, and MiniMax M3.1 Flash is a systems problem across hardware, engine runtime, and request routing — not a single compiler flag.

1. High-bandwidth Blackwell and Hopper GPU clusters

Autoregressive LLM decode is predominantly memory-bandwidth bound: each generated token streams active model weights and KV cache out of HBM. Running flagship open-weight models on modern NVIDIA Blackwell and Hopper clusters gives us the HBM bandwidth and high-speed NVLink interconnect needed to keep tensor-parallel MoE decode fast even as batch sizes grow under continuous batching.

2. SGLang and vLLM engines with native precision integrity

We serve open-weight models on tuned builds of SGLang and vLLM with continuous batching, CUDA graph capture, and radix-tree KV cache management. Just as important as raw tok/s is precision fidelity: we serve official FP8 and native model weights rather than silently applying aggressive post-training quantization that inflates speed charts at the expense of coding and tool-calling accuracy.

3. Pre-tokenizing in Elixir and Rust before the GPU worker

Every request goes through tokenization, routing, prefill, and decode before the first output token appears. As we detailed in We made vLLM tokenization 120x faster with Elixir, open-source engine frontends run request preprocessing in Python under the GIL, which stalls TTFT on large agent prompts and inline base64 images.

Our Elixir/BEAM router runs ChatTokenizer (Rust/C NIFs built on toks) on dirty CPU schedulers to produce engine-exact token IDs once at the routing layer — cutting preprocessing overhead by 53–181x and letting GPU workers spend their cycles on prefill and decode instead of JSON parsing and Jinja template rendering.

4. Prefix-aware sticky routing and load-aware scheduling

Sending turn 12 of a 100K-token coding session to a cold worker forces a full prompt recomputation and adds seconds to TTFT. Our router tracks conversation prefixes and routes matching requests back to warm workers with high radix KV-cache hit rates, while balancing live in-flight slot utilization and predicted prefill wait time so overloaded instances shed new traffic before latency tails blow up.

We also separate short interactive prompts from long-context workloads using pool routing so a massive context prefill does not stall sub-200 ms interactive requests.

5. Zero Data Retention by default

All benchmarked endpoints on api.inference.net run with Zero Data Retention enabled by default — prompts and completions are processed in memory and are never logged to disk or used for training. Promotional ad-supported aliases are excluded from the default /benchmarks/ leaderboard so every metric reflects standard ZDR production traffic.

Verify it yourself in 60 seconds

Do not take our telemetry table on faith. We published a standalone, zero-dependency Python 3 script (standard library only — no pip install, no SDK wrappers) at https://inference.net/benchmarks/inference-bench.py.

It streams POST /v1/chat/completions with stream: true and stream_options: {"include_usage": true} and measures:

  • TTFT (p50 / p90 / p99 ms): wall-clock time from request dispatch to the first non-empty streamed token delta (handling both content and reasoning_content / reasoning deltas on reasoning models).
  • Inter-token output throughput (p50 / p90 / p99 tok/s): (completion_tokens - 1) / (t_last_token - t_first_token), cleanly excluding TTFT so prefill latency does not distort decode speed.
  • End-to-end latency (p50 / p99): full request completion time.
  • Aggregate throughput (tok/s): total completed output tokens divided by stage wall time across concurrent workers.
  • Error & rate-limit accounting: explicit counts and percentages for HTTP 429, HTTP 5xx, and network/stream errors.

Quick start (single-stream and concurrent sweep)

bash
export INFERENCE_API_KEY="your_inference_api_key"

# 1-command single-stream + 10-way concurrency check on DeepSeek V4.1 Flash 1017
curl -sSL https://inference.net/benchmarks/inference-bench.py | python3 - \
  --model deepseek-v4.1-flash-1017 \
  --concurrency 1,10 \
  --requests 10

Want to stress-test higher concurrency on deepseek-v4.1-flash or moonshotai/kimi-k3 and capture machine-readable JSON?

curl
curl -sSLO https://inference.net/benchmarks/inference-bench.py

python3 inference-bench.py \
  --model deepseek-v4.1-flash \
  --concurrency 1,10,50 \
  --requests 20 \
  --max-tokens 256 \
  --json > deepseek-v4-1-flash-bench.json

python3 inference-bench.py \
  --model moonshotai/kimi-k3 \
  --concurrency 1,10 \
  --requests 10 \
  --max-tokens 256

Apples-to-apples comparisons across providers

Because the script only speaks standard OpenAI-compatible SSE, you can point --base-url at any provider from the same machine (for example, a VM in us-central1 to hold client network RTT constant) and compare identical prompts, max_tokens, and concurrency levels side by side:

bash
# Run A: Inference.net
python3 inference-bench.py \
  --base-url https://api.inference.net/v1 \
  --api-key "$INFERENCE_API_KEY" \
  --model deepseek-v4.1-flash-1017 \
  --concurrency 1,10 \
  --requests 15 \
  --json > inference-net.json

# Run B: Any other OpenAI-compatible endpoint
python3 inference-bench.py \
  --base-url https://api.other-provider.example/v1 \
  --api-key "$OTHER_API_KEY" \
  --model deepseek-v4.1-flash-1017 \
  --concurrency 1,10 \
  --requests 15 \
  --json > other-provider.json

A note to independent evaluators

We welcome independent testing and mystery-shopper evaluations — including continuous benchmarking suites like Artificial Analysis running from us-central1 or any other region on standard self-serve accounts. There are no benchmark-specific allowlists or special fast lanes on api.inference.net: a freshly created key from inference.net/register/ hits the exact same routing layer, GPU pools, and ZDR path measured on our live benchmarks leaderboard for all standard self-serve models (privileged models such as deepseek-v4.1-flash-1017-cyber require approved Team access; see Privileged Model Access).

Explore further

Related reading & models

Back to the blog