Skip to content

Models / DeepSeek

DeepSeek V4.1 Flash

Available

DeepSeek V4.1 Flash is the small, low-cost model in DeepSeek’s V4 family.

Good for Fast and cheap · Images and screenshots · Bulk and batch jobs

deepseek-v4.1-flashGet API keyCompare

Is it right for you?

It answers quickly and is priced for volume, which suits the many short calls a coding agent makes: reading a file, proposing a small edit, running a tool and reading the result. Reasoning is optional, so you can switch it off when you want a fast, plain answer.

Best for

  • High-volume agent loops where the price per request matters more than the last bit of quality.
  • Background and helper tasks in Claude Code (the small/fast model slot), summaries and commit messages.
  • Off-peak batch jobs: classification, extraction and code review comments over many files.

Not ideal for

  • Large refactors that need careful planning across many files; try DeepSeek V4 Pro or GLM-5.3.
  • Prompts longer than 128K tokens, the limit in our catalogue today.

Next to the rest of the DeepSeek line

ModelInputOutputContextPer session
DeepSeek V4 Pro$0.9307$2.4295128K$0.1894
DeepSeek V4.1 Flash (this page)$0.2146$0.8584128K$0.0536

What it costs

Prepaid, per token, no subscription. Set your traffic to see your bill.

percent of input tokens
Estimated monthly spend
$59.13

30 days, at today's prices. You're billed on actual tokens.

Per request
$0.000985
Coding session
$0.05
Per day
$1.97
Suggested key budget
$70.00
Alert at 80%
$56.00

A coding session is 30 requests of 20,000 input tokens, 80% from cache, and 1,000 output tokens each: the same session as the "Per session" column above. Thinking tokens are billed as output, so reasoning raises the cost.

This model has peak and off-peak prices. A request is billed at the price in force when it starts, even if it finishes after the boundary. Batch requests (POST /v1/batches, up to 1,000 per batch) wait for the off-peak window.

Capabilities

What DeepSeek V4.1 Flash can do, as DeepSeek lists it.

CapabilitySupport
ReasoningOptional, on by default
Image inputYes: text and image in, text out
JSON outputJSON mode yes; structured outputs on some hosts
StreamingYes
Prompt cachingCache-read price listed

Get started

Create a key in the console, export it as YUNSHU_API_KEY, then use one of these.

export ANTHROPIC_BASE_URL=https://api.yunshurouter.com
export ANTHROPIC_AUTH_TOKEN=$YUNSHU_API_KEY
export ANTHROPIC_MODEL=deepseek-v4.1-flash

Full steps for each tool: integration guides →

Questions

What is DeepSeek V4.1 Flash?

DeepSeek V4.1 Flash is a fast, low-cost language model from DeepSeek, part of its V4 family. It is aimed at high-volume work such as coding-agent tool loops, summaries and extraction.

Does DeepSeek V4.1 Flash support tool calling?

Yes. Tool calling works in both the OpenAI format (tools) and the Anthropic format (tools with input_schema).

Does DeepSeek V4.1 Flash support reasoning?

Yes. Reasoning is optional on this model and on by default at the provider. On Yunshu Router you can turn it on or off per request.