← Back to model catalog
MODEL / CURRENT PRICE
DeepSeek

DeepSeek V4.1 Flash

deepseek-flash

These are Mengbi Router customer prices in USD per 1M tokens. Provider: DeepSeek; Context: 1M; Input price: $0.30; Output price: $1.2.

AI models and pricing

Model specs

Provider
DeepSeek
Context
1M
Max output
16K
Released
Sep 2026
Input modalities
Text
Output modalities
Text
Tool calling
Supported
Structured output
Supported
Currency
USD
Model ID
deepseek-flash

Model pricing and access details

USD / 1M tokens
ModelOfficialMengbiDiscount
Input price$0.30$0.30
Output price$1.2$1.2
Cache read price$0.006$0.006

Estimated cost for common usage

Estimates based on current Mengbi Router prices, so you can plan real request costs.

Token volumeInputOutputInput + output total
10K tokens$0.003$0.012$0.015
100K tokens$0.03$0.12$0.15
1M tokens$0.30$1.2$1.5
10M tokens$3$12$15

Estimates use the current prices above and exclude cache-hit discounts. Your invoice is metered by the actual token usage of each request.

API protocol compatibility

Keep your SDK. Change one line.

Use the protocol your stack already speaks.

const client = new OpenAI({
  apiKey: process.env.MENGBI_ROUTER_KEY,
  baseURL: process.env.MENGBI_ROUTER_BASE_URL,
})

const response = await client.chat.completions.create({
  model: 'deepseek-flash',
  messages,
})

Frequently asked questions

Common questions about the DeepSeek V4.1 Flash API: pricing, capabilities, and integration.

How much does the DeepSeek V4.1 Flash API cost?

Through Mengbi Router, DeepSeek V4.1 Flash costs $0.30 per 1M input tokens and $1.2 per 1M output tokens. Cached input is billed at $0.006 per 1M tokens.

What is the context window of DeepSeek V4.1 Flash?

DeepSeek V4.1 Flash supports a 1M-token context window. A single request can generate up to about 16K output tokens.

Does DeepSeek V4.1 Flash support tool calling and structured output?

Yes. DeepSeek V4.1 Flash supports the tools parameter in chat.completions for function calling. It also supports response_format with a JSON Schema for structured output.

What input and output formats does DeepSeek V4.1 Flash support?

It accepts Text and returns Text.

How do I call DeepSeek V4.1 Flash with the OpenAI SDK?

Keep your OpenAI SDK, point the base URL at Mengbi Router, use your Mengbi API key, and set model to deepseek-flash in the request.

Which company provides DeepSeek V4.1 Flash?

DeepSeek V4.1 Flash is provided by DeepSeek and available through Mengbi Router with one API key and pay-as-you-go billing. The model was first released in Sep 2026.