DeepSeek
DeepSeek V4
deepseek-v4-flash
A new generation of text model series, including Pro and Flash versions, supporting long context of up to one million tokens, designed for coding, reasoning, and agentic tasks
- Context window
- 1,000,000
- Input
- Max output
- 384,000 tokens
- Knowledge cutoff
- 2025-05
- Release date
- 2026-04-24
Pricing
deepseek-v4-flash /1M tokens
| Specifications | Unit Price |
|---|---|
| Input | $0.140 |
| Cached input | $0.035 |
| Output | $0.280 |
Overview
Overview
deepseek-v4-flash is a lightweight text model in the deepseek-v4 series. It uses a MoE architecture and trades a smaller activation scale for lower compute and memory overhead. It suits developers who need long-context processing, code understanding and generation, and multi-step reasoning, and can also be used for cost-sensitive high-concurrency text generation. Through the unified HiAPI.ai interface, you can call it with token-based pricing without integrating with upstream channels separately.
Highlights
- Lightweight MoE configuration — 284B total parameters with 13B activated, reducing the resource overhead of each inference while keeping the series' capability framework.
- Million-level context window — Supports up to 1 million tokens of input, so a large codebase or an ultra-long document fits in a single pass, reducing chunking and stitching work.
- Covers coding and agent tasks — Optimized for coding, reasoning, and tool-calling workflows, making it suitable as the execution model in agent orchestration.
- Token-based access — Called through the unified HiAPI.ai interface with token-based billing, making it easy to fit into existing quota and cost management.
Capabilities
Ultra-long context input: A single request can carry up to 1 million tokens of text, so developers can hand a complete code repository or a long report to the model without first slicing and summarizing it.
Code understanding and generation: According to public preview information, this series performs strongly on coding benchmarks and can be used for cross-file code generation, review, and refactoring suggestions.
Multi-step reasoning and agent orchestration: Designed for agentic tasks, it is suitable as the reasoning and decision node in tool-calling chains and supports multi-turn task decomposition.
Text generation and dialogue: The output type is text, so it can be used directly for general text tasks such as question answering, summarization, and information extraction.
Use cases
- Developers understanding and reviewing large codebases — Input multi-file source code and requirement descriptions, and get change suggestions, defect localization, and code review comments for daily development and pre-merge checks.
- Long-document Q&A and information extraction — Input the full text of reports, papers, or contracts, and get summaries and structured fields for knowledge base ingestion and business information organization.
- Execution model in agent workflows — Input task instructions and tool return results, and get next actions and intermediate reasoning for multi-step automation orchestration.
- Cost-sensitive high-concurrency text generation — Input batch prompts and get text results at scale for high-throughput scenarios such as content production and classification labeling.
Limitations and selection advice
This model is the Flash lightweight version. If a task demands extremely deep world knowledge and complex reasoning, consider a larger model in the same series. The actual effectiveness of the million-level context and the trade-off between latency and cost as input length grows need to be verified with real business data. Some capability data for the series comes from vendor and media sources, so it is recommended to validate with your own samples before launch. Actual availability and quotas are subject to the live information on the HiAPI.ai page.
What's new
View changelog →- New model New Model Release: deepseek-v4-flash-vision-exp
- New model DeepSeek-V4-Flash Now Available: Text Generation Model
- New model deepseek-v4-pro Model Now Available
Articles
View all articles →Related Models
View all models →Same Type
-
Kimi K3 Moonshot AI $0.232 /1M tokens -
GPT 6 OpenAI $0.0025 /1M tokens -
Claude 5.5 Anthropic $0.100 /1M tokens -
GPT 5.6 OpenAI $0.005 /1M tokens -
Kimi K3.1 Pro Moonshot AI $0.216 /1M tokens -
Grok 4 xAI $0.210 /1M tokens -
GLM 5.3 Zhipu AI $0.855 /1M tokens -
Claude 4.6 Anthropic $0.300 /1M tokens -
Claude 4.8 Anthropic $0.229 /1M tokens