Requesty
DeepSeek logo

deepseek-v4.1-flash

DeepSeek/Open weights/2 providers

DeepSeek V4.1 Flash is a 552B parameter Mixture of Experts model built on a new Causal Encoder Decoder architecture that activates only 8B parameters for input and 16B for output, giving frontier level intelligence at a fraction of the cost. It is the smallest model in the new DeepSeek architecture family and the first Flash with native vision and multimodal understanding. V4.1 Flash beats DeepSeek V4 Pro on performance, cost, speed and task completion time and scores 88.1 on CyberGym. Its KV cache is compressed to 890 bytes per token, four times smaller than V4 Flash and over 400 times smaller than V1, cutting the cache hit costs that dominate agent workloads. 1M token context window, 384K max output, thinking and non thinking modes, tool calling, JSON output and prompt caching. Pricing per 1M tokens starts at $0.003 for cache hits, $0.15 input and $0.60 output off peak, with peak rates at double (01:00 to 04:00 and 06:00 to 10:00 UTC, Monday to Friday). Open weights are published on Hugging Face. Ideal for coding agents, long context RAG, high throughput batch processing and multimodal assistants. Replaces deepseek-v4-flash and deepseek-v4-flash-vision-exp, both still accepted as aliases.More

Which id to call

deepseek-v4.1-flash

Requesty routes this id across every provider serving deepseek-v4.1-flash, picking on price and health and failing over automatically. The id stays valid when a provider changes underneath it.

From /1M input

$0.30

DeepSeek

Context

1.0M

393K output

Endpoints

2

1 region

Regions

1

chat

Capabilities 5/8

VisionReasoningTool callingCachingWeb searchJSON schemaComputer useImage generation

2 endpoints / 1 region

Providers serving deepseek-v4.1-flash

Provider prices, per 1M tokens. Pay as you go adds 5%, or 0% on your own keys.

Providers serving deepseek-v4.1-flash, with pricing and measured performance. The best value in each column is highlighted.
RankPrivacy
1DeepSeekGlobal1M$0.30$1.20$0.0060no-train
2Novita AIGlobal1.0M$0.30$1.20$0.0060zdr

A column is blank where no qualifying sample exists, and every row links to that provider's endpoint page.

model=

Which id to call

One base url, https://router.requesty.ai/v1, and one key for every id here.

deepseek-v4.1-flash

Requesty routes this id across every provider serving deepseek-v4.1-flash, picking on price and health and failing over automatically. The id stays valid when a provider changes underneath it.

OpenAI compatible

Call it in three lines

Change the base url, use your Requesty key, set the model to any id on the left. Existing OpenAI SDK code needs no other edit.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from openai import OpenAI client = OpenAI( api_key="YOUR_REQUESTY_API_KEY", base_url="https://router.requesty.ai/v1", ) response = client.chat.completions.create( model="deepseek-v4.1-flash", messages=[ {"role": "user", "content": "Explain quantum computing in one paragraph."}, ], ) print(response.choices[0].message.content)

6

More from DeepSeek

Reference

deepseek-v4.1-flash questions

Which providers serve deepseek-v4.1-flash?

deepseek-v4.1-flash is available from 2 providers through Requesty: DeepSeek, Novita AI. All endpoints share one OpenAI-compatible API and one key, and Requesty fails over between them automatically.

How much does deepseek-v4.1-flash cost?

Pricing starts at $0.30 per million input tokens and $1.20 per million output tokens on DeepSeek, the cheapest endpoint. Prices vary by provider and region; the table above shows every endpoint. Those are the upstream provider rates: pay as you go adds 5% on top, or 0% if you bring your own provider keys.

Is deepseek-v4.1-flash open weights?

Yes. deepseek-v4.1-flash is an open-weights model from DeepSeek, which is why multiple inference providers can host it. Provider choice affects price, latency, and data-privacy terms, all compared above.

What is the context window of deepseek-v4.1-flash?

deepseek-v4.1-flash supports up to 1.0M tokens of context, with up to 393K output tokens per response. Some providers expose a smaller window; check the per-endpoint context column above.

How do I use deepseek-v4.1-flash with the OpenAI SDK?

Install the OpenAI SDK, set base_url to "https://router.requesty.ai/v1", set your API key to your Requesty key, and set the model to "deepseek-v4.1-flash" or any endpoint id from the table above. The quickstart section shows Python, JavaScript and cURL snippets.

Should I call deepseek-v4.1-flash by its managed id or a provider id?

Use the managed id, "deepseek-v4.1-flash". Requesty picks which of the 2 providers serves each request based on price and health, and fails over when one degrades, so the id keeps working while the routing changes underneath it. Send a provider id like "deepseek/deepseek-v4.1-flash" only when you need one specific deployment and want no failover.

Route deepseek-v4.1-flash through one endpoint

One key for 2 providers on this model and 600+ others. No markup on provider prices, automatic failover, caching built in.

Benchmark rankings