Seedance 2.5 is live on EvoLinkTry Seedance 2.5

DeepSeek V4 Flash API

DeepSeek-Text generation-from $0.148 / 1M input tokens-Available
1M context384K max outputThinking modeChat + Messages + Responses
API docs
Production routeLive
Provider
DeepSeek
Model
DeepSeek V4 Flash
Context window
1,000,000 tokens
Protocols
Chat + Messages + Responses

Choose DeepSeek V4 Flash

An evaluation route for coding, reasoning, and long-context analysis, available on Chat Completions, Messages, and Responses — use whichever protocol your stack already speaks.

DeepSeek V4 Flash

DeepSeek reasoning and tool-use model

Selected
From $0.148 / 1M input tokensdeepseek-v4-flash
Best for

High-volume coding, reasoning, long-document analysis, and agent workloads that need a low-cost route with cached-input pricing.

Input
$0.148 / 1M
10 cr / 1M
Cached input
$0.0030 / 1M
0.2 cr / 1M
Output
$0.295 / 1M
20 cr / 1M

DeepSeek V4 Flash pricing

Estimate uncached input, cached input, and output tokens together. Live prices for your user group override the contract-backed fallback rates.

DeepSeek V4 Flash

Request calculator

Enter uncached input, cached input, and output tokens.

Estimated request cost

DeepSeek V4 Flash
USD$0.0003
Credits0.0161
Uncached input tokens0.01 cr
Cached input tokens0.0001 cr
Output tokens0.006 cr

Budget guide

Approximate requests using the current mix.
Add credits
$10
About 42236 requests

For quick testing

$50
About 211180 requests

For regular development

$100
About 422360 requests

For production evaluation

Token rates

ModelPrompt tokensUncached input tokensCached input tokensOutput tokens
DeepSeek V4 Flashdeepseek-v4-flash1M
$0.148 / 1M
10 cr / 1M
$0.0030 / 1M
0.2 cr / 1M
$0.295 / 1M
20 cr / 1M

USD and credits are shown per 1M tokens. Live prices for your user group override the fallback rates. Minimum total charge: 0.01 credits.

What is the DeepSeek V4 Flash API?

DeepSeek V4 Flash is DeepSeek’s fast general-purpose model: a 284B-parameter Mixture-of-Experts design with 13B active parameters per token and an integrated DSpark speculative-decoding module that accelerates generation, with a 1M-token context window, 384K maximum output, and an optional thinking mode. On EvoLink it is available on both /v1/chat/completions (OpenAI style) and /v1/messages (Anthropic style) using the model ID deepseek-v4-flash. Review pricing boundaries, supported workflows, and model configuration in the Pricing and API sections below.

DeepSeek V4 Flash
EvoLink model IDdeepseek-v4-flash

Requests on Chat Completions, Messages, and Responses must use the exact model ID shown here.

Model specifications

Context window1,000,000 tokens
API protocolsChat Completions · Messages · Responses
Thinking modeOptional per request
Max output384,000 tokens
Token billingInput · cached input · output
ProviderDeepSeek
Tasks and workflows

What is the DeepSeek V4 Flash API best suited for?

DeepSeek V4 Flash combines a 1M-token context window, configurable reasoning, and tool calling for work that must retain evidence, call external systems, and return verifiable results. The model is text-only — it does not accept image input. These use cases explain where it may add value and what to confirm before integration.

Repository-scale coding and code review

Keep relevant source files, issues, test results, and previous changes in one task for cross-file debugging, implementation planning, and review. Before rollout, use fixed repository tasks to check test pass rate, incomplete steps, structured results, and required human edits instead of judging coding ability from a single demo.

Long documents and multi-source analysis

The 1M-token context can hold reports, contracts, knowledge-base passages, conversation history, and retrieved sources together. More context does not automatically improve an answer, so verify that key evidence is preserved and use the live rates and cache-hit mechanics in Pricing to calculate cost per acceptable result.

High-concurrency agent and batch workflows

The 0731 GA build improved agentic and tool-calling performance, and Flash’s high account-level concurrency ceiling suits parallel batch pipelines. Pair it with your own retrieval and execution tools through function calling, and validate multi-step task completion rates on your real workloads before scaling.

Structured output and agent orchestration

Text inputs can feed JSON Schema, function calling, and multi-step agent flows for extraction, review, and downstream automation. Before production use, test schema validity, function arguments, streaming completion events, and safe recovery after a tool failure.

API access choice

What changes when you access DeepSeek V4 Flash through different platforms?

Even with the same model, platforms can differ in context configuration, tool support, usage reporting, and billing. EvoLink puts model configuration and usage behind one API so later model changes remain straightforward.

Use the correct API model ID

deepseek-v4-flash is the page URL and a common search form; the API request model ID is deepseek-v4-flash. Existing Chat Completions or Responses applications can use the correct ID in model configuration, with exact fields available in the API section.

Follow the active API route configuration

DeepSeek documents a 1M-token model window, but platforms may expose different context settings, tools, and rate limits. When using EvoLink, rely on the model configuration, available features, and actual usage shown for the current route.

Choose Chat or Responses by workflow

Start with Chat Completions for standard chat, streaming, and client-side functions. Evaluate the Responses protocol — added with the 0731 build — for longer multi-step agent workflows and its documented server tools: function calling, web search, and apply_patch. Note that code interpreter is ignored on this route. This preserves a familiar OpenAI-style integration without adding complexity the workload does not need.

Keep model choice open in one gateway

Use one EvoLink account, balance, and API pattern for Grok, GPT, Claude, and Kimi. Keeping model selection in configuration lets teams route by task quality, cost, and availability without rebuilding application code for every provider.

Cost control

How can you control DeepSeek V4 Flash API cost more accurately?

The existing Pricing section shows current token rates (input, cache hit, output). In practice, caching, context management, reasoning settings, and model routing help reduce unnecessary usage and connect spend to completed business tasks.

Make repeated context cache-friendly

Stable system prompts, tool schemas, and shared context are easier to reuse through caching. Configure the supported cache or conversation identifier for the selected protocol and inspect cached tokens in usage to confirm that repeated requests receive the expected benefit.

Send only the context the task needs

A 1M-token window is useful for large repositories and documents, but it does not need to be filled on every request. Selecting only relevant files, messages, and retrieved passages reduces input cost and helps the model focus on the evidence that matters.

Tune reasoning, output, and tool calls by task

Start simple work with lower reasoning effort and shorter output, then increase the reasoning budget for harder analysis. Research and agent workflows should also track tool-call count to avoid repeated searches, executions, or unproductive loops.

Compare models by total task cost

Evaluate tokens, cached input, server tools, and required retries within the same completed task. EvoLink centralizes model and usage information so teams can compare the total cost of completing equivalent work across DeepSeek V4 Flash and other routes.

Production guidance

What should you confirm before using DeepSeek V4 Flash in production?

Start with a small set of real workloads to determine whether the model meets your quality, latency, cost, and reliability needs before deciding which traffic should move.

Integration and usage data are clear

Confirm that the application uses the correct deepseek-v4-flash model ID and intended protocol, and that required responses, usage, and cache information are returned. Clear usage data supports cost analysis and gives Chat and Responses workflows a consistent observation method.

Outputs meet real business requirements

Test real code changes, long-document analysis, research, or structured extraction. Beyond answer quality, check whether tests pass, citations are reliable, function arguments are correct, and JSON Schema output can be consumed directly by downstream systems.

Latency and error handling meet expectations

Observe response time under representative traffic and prepare retry behavior for rate limits, timeouts, invalid structured output, and tool failures. Configurable model selection in EvoLink makes it easier to switch to a verified alternative when one route is temporarily unavailable.

Cost and model choice remain controllable

Use Pricing, usage, and final charges to calculate total cost for the same class of task, then decide whether DeepSeek V4 Flash belongs on the default route, difficult tasks, or fallback traffic. A unified gateway keeps quality and budget decisions separate from integration work.

Begin with a small, observable, reversible set of DeepSeek V4 Flash tasks. Expand only after quality, latency, and cost meet expectations. Keeping multiple model options behind the EvoLink unified API makes later scaling, switching, and cost optimization easier.

Protocol and routing choice

How should you choose Chat Completions, Responses, and production traffic?

The two protocols serve different workflows. This is a selection summary; use the existing API section and EvoLink documentation for exact request fields, and the existing Pricing section for token rates; count tool-call rounds into total task cost when budgeting.

01

Standard chat and client functions: Chat Completions

If you already use OpenAI-compatible chat, streaming, or client-side function calling, start with Chat Completions. Confirm message format, streaming completion, function arguments, and usage against what the current client expects.

Chat and client functions
02

Agent workflows: Responses

Evaluate the Responses API — added with the 0731 build — for longer multi-step agent flows and Codex-style integrations. Confirm supported request fields, failure states, and retry boundaries against the current EvoLink documentation before integration.

Agent workflows
03

Large-context work: watch cache and total cost together

Long documents, repositories, and conversations should not automatically put everything into one request. Compare representative context sizes, cache hits and misses, output length, and retries, then use the final charge to calculate successful-task cost.

Context cost
04

Production traffic: start small and keep a fallback

Send a small, observable set of tasks to DeepSeek V4 Flash first and retain a proven GPT, Claude, or Kimi route. EvoLink’s unified API centralizes model choice, usage, and balance, making it easier to change routes after rate limits, timeouts, schema errors, or tool failures.

Gradual rollout

Related models

GPT-5.6

GPT-5.6

OpenAI’s tiered frontier family for comparing capability, latency, and cost-routing flexibility.

View model
Claude Opus 5

Claude Opus 5

Anthropic’s premium route for long-running agents, tool use, and complex review.

View model
Kimi K3

Kimi K3

Moonshot’s long-context reasoning route with a separate cached-input rate.

View model
DeepSeek V4 Pro

DeepSeek V4 Pro

DeepSeek’s cost-sensitive open-model route for high-volume coding, reasoning, and agent workloads.

View model

Related guides

How to use the DeepSeek V4 Pro API

How to use the DeepSeek V4 Pro API

First call, thinking-effort control, and a Flash vs Pro routing strategy for splitting traffic between the two tiers.

Read guide
DeepSeek V4 0813 is live: what changed

DeepSeek V4 0813 is live: what changed

The GA builds’ agent and Codex changes, verified against upstream documentation.

Read guide
DeepSeek V4 API review: Flash vs Pro

DeepSeek V4 API review: Flash vs Pro

Compare the two V4 tiers on cost, thinking mode, and a production rollout checklist.

Read guide
DeepSeek V4 vs GPT-5.4 vs Claude Opus 4.6

DeepSeek V4 vs GPT-5.4 vs Claude Opus 4.6

Official pricing and capability comparison across three frontier routes.

Read guide

DeepSeek V4 Flash API FAQ

Is the DeepSeek V4 Flash API available through EvoLink now?

Yes. DeepSeek V4 Flash is live on the EvoLink production route. Send requests with the model ID deepseek-v4-flash on Chat Completions or Responses, and check the model ID, pricing, context, and supported workflows on this page before scaling up.

Is deepseek-v4-flash the API model ID?

Yes. The model ID you send in the request is deepseek-v4-flash — the same string as this page URL. The current GA version is the 0731 build (promoted to stable on July 31, 2026), and the unchanged ID serves it automatically. The old aliases deepseek-chat and deepseek-reasoner were retired upstream on July 24, 2026.

What is the DeepSeek V4 Flash context window and how is it priced?

DeepSeek documents a 1,000,000-token context window. There is no separate long-context price tier — billing follows the live per-token rates and cached-input mechanics shown in the Pricing section, so test representative context sizes and cache hits instead of assuming every request should use the full window.

What inputs and outputs does DeepSeek V4 Flash support?

Text input and text output only — DeepSeek V4 Flash has no vision capability on any protocol. On the Messages route, image and document content types are rejected; on Responses, image and file attachments are converted to placeholders rather than understood. Route screenshot or document-understanding tasks to a vision-capable model on the same EvoLink gateway.

Should I use Chat Completions or the Responses API?

Use Chat Completions for familiar chat, streaming, and client function flows. Evaluate Responses — added with the 0731 build — for longer-running agent workflows. The current API section and EvoLink docs remain the source for exact request fields and verified route support.

How should reasoning effort be selected?

Valid tiers are low, high, and max, and the default is high — medium is accepted but silently maps to high, so comparing medium against high produces no real difference. Start with low for routine work, compare low and high on the same tasks, and reserve max for the hardest problems where a failed attempt costs more than the extra reasoning tokens.

How do cached input and long agent loops affect DeepSeek V4 Flash pricing?

Cached input can reduce repeated-context cost, while cache misses, long outputs, retries, and repeated tool steps can make an agent loop more expensive than the headline input rate suggests. Use the live Pricing section and final request charges when calculating cost per accepted task.

What are the DeepSeek V4 Flash rate limits?

There is no per-token RPM or TPM limit upstream. The constraint is an account-level concurrency cap — around 2,500 concurrent requests for the Flash tier, roughly five times the Pro cap — with 429 returned beyond it and requests dropped after about 10 minutes of queueing. That headroom is Flash’s throughput advantage: keep in-flight requests below your measured ceiling, use exponential backoff, and it handles high-concurrency batch work well.

When should I choose DeepSeek V4 Flash over V4 Pro?

Choose Flash for classification, summarization, short edits, and high-concurrency batch pipelines, where its speed and roughly 5x concurrency ceiling matter most. Choose Pro for agent chains longer than about eight steps and for fact-sensitive tasks where reasoning depth outweighs throughput. Both tiers share the same EvoLink API, so routing by task type is a configuration change.

How should teams compare DeepSeek V4 Flash with GPT, Claude, or Kimi?

Run the same real tasks with consistent context, tools, and reasoning settings. Compare result quality, response time, token mix, tool performance, and total cost to decide which EvoLink route fits each traffic class.

Is DeepSeek V4 Flash open source?

Yes — the Flash 0731 weights are published under the MIT license on Hugging Face. Open weights and the hosted API are independent access paths: the EvoLink route serves the hosted API, and the same MIT weights on third-party hosts are what make fallback routing possible.

What fallback should teams keep during rollout?

Keep a model that already handles the same workload reliably and leave route selection configurable. If rate limits, timeouts, or invalid output occur, EvoLink can route to GPT, Claude, Kimi, or another suitable alternative.