← All models
D

DeepSeek V4.1 Flash 1017

deepseek/deepseek-v4.1-flash-1017

DeepSeek V4.1 Flash 1017 is the October 17, 2026 snapshot of DeepSeek V4.1 Flash, served by DeepSeek under the `deepseek-flash` API model name. V4.1 Flash is a sparse mixture-of-experts model...

Get an API key

Endpoints

Each row is one provider serving these weights at one precision. Prices are per million tokens.

QuantisationContextMax outInputOutputCached in
Undisclosed1024K384K$0.35$1.25$0.01

Prefix caching is enabled and the discount is passed through. If your agent replays the same system prompt each iteration, the repeated portion bills at the cached rate.

Agent config

Paste this into your coding agent and it can configure itself. The timeout is derived from this variant's measured throughput, not a guess — a long generation that outlives a client's default ceiling is the most common way a working request looks broken.

# Infersia — deepseek/deepseek-v4.1-flash-1017
# Paste this to your agent. Values are measured, not aspirational.

provider:
  type: openai-compatible
  base_url: https://api.infersia.com/v1
  api_key: ${INFERSIA_API_KEY}   # from https://infersia.com/dashboard/keys
  model: deepseek/deepseek-v4.1-flash-1017

limits:
  max_input_tokens: 1048576      # hard limit — over this returns HTTP 413
  max_output_tokens: 393216
  timeout_seconds: 600                  # no throughput measured yet; 600 is a safe default

features:
  streaming: true
  tools: true
  vision: true
  reasoning: true   # OFF by default; send chat_template_kwargs.enable_thinking=true to opt in
  prompt_caching: true   # automatic; reuse a stable prefix and it bills at the cache rate

pricing_usd_per_million_tokens:
  input: 0.35
  output: 1.25
  cached_input: 0.01

What Undisclosed means

This model is served on capacity we buy rather than hardware we operate, so we cannot verify the precision it is served at. We would rather say that than print a figure we are guessing at.

Call it

curlbash
curl https://api.infersia.com/v1/chat/completions \
  -H "Authorization: Bearer $INFERSIA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek/deepseek-v4.1-flash-1017",
    "messages": [{"role": "user", "content": "Hello"}],
    "stream": true
  }'

Pin a provider with deepseek/deepseek-v4.1-flash-1017@infersia, or take the cheapest with the bare id. Add :free for the rate-limited free tier where one exists.

DeepSeek V4.1 Flash 1017 · Infersia