Unlock exclusive introductory pricing for the newly launched Gemini 3.5 Flash.
D

DeepSeek V4 Flash

Ввод:$0.12/M
Вывод:$0.24/M
Дата выпуска:Apr 23, 2026

DeepSeek V4 Flash is an efficiency-optimized Mixture-of-Experts model from DeepSeek with 284B total parameters and 13B activated parameters, supporting a 1M-token context window. It is designed for fast inference and high-throughput workloads, while maintaining strong reasoning and coding performance.

Новый
Популярный
Коммерческое использование

Playground для DeepSeek V4 Flash

Изучите Playground DeepSeek V4 Flash — интерактивную среду для тестирования моделей и выполнения запросов в реальном времени. Попробуйте промпты, настройте параметры и итерируйте мгновенно, чтобы ускорить разработку и проверить варианты использования.

Technical specifications of DeepSeek-V4-Flash

ItemDetails
ModelDeepSeek-V4-Flash
ProviderDeepSeek
FamilyDeepSeek-V4 preview series
ArchitectureMixture-of-Experts (MoE)
Total parameters284B
Activated parameters13B
Context length1,000,000 tokens
PrecisionFP4 + FP8 mixed
Reasoning modesNon-think, Think, Think Max
Release statusPreview model
LicenseMIT License

What is DeepSeek-V4-Flash?

DeepSeek-V4-Flash is DeepSeek’s efficiency-focused preview model in the V4 series. It is built as a Mixture-of-Experts language model with a relatively small active footprint for its size, which helps it stay responsive while still supporting a very large 1M-token context window.

Main features of DeepSeek-V4-Flash

  • Million-token context: The model supports a 1,000,000-token context window, which makes it suitable for very long documents, large codebases, and multi-step agent sessions.
  • Efficiency-first MoE design: It uses 284B total parameters but only 13B activated parameters per request, a setup aimed at faster and more efficient inference.
  • Three reasoning modes: Non-think, Think, and Think Max let you trade speed for deeper reasoning when the task gets harder.
  • Strong long-context architecture: DeepSeek says the V4 series combines Compressed Sparse Attention and Heavily Compressed Attention to improve long-context efficiency.
  • Competitive coding and agent behavior: The model card reports strong results on coding and agentic benchmarks, including HumanEval, SWE Verified, Terminal Bench 2.0, and BrowseComp.
  • Open weights and local deployment: The release includes model weights, local inference guidance, and an MIT License, which makes self-hosting and experimentation practical.

Benchmark performance of DeepSeek-V4-Flash

Selected results from the official model card show that DeepSeek-V4-Flash improves over DeepSeek-V3.2-Base on several core benchmarks:

BenchmarkDeepSeek-V3.2-BaseDeepSeek-V4-Flash-BaseDeepSeek-V4-Pro-Base
AGIEval (EM)80.182.683.1
MMLU (EM)87.888.790.1
MMLU-Pro (EM)65.568.373.5
HumanEval (Pass@1)62.869.576.8
LongBench-V2 (EM)40.244.751.5

In the reasoning-and-agent table, the Flash variant also posts solid results on terminal and software tasks, with Flash Max reaching 56.9 on Terminal Bench 2.0 and 79.0 on SWE Verified, while still trailing the larger Pro model on the hardest knowledge-heavy and agentic tasks.

DeepSeek-V4-Flash vs DeepSeek-V4-Pro vs DeepSeek-V3.2

ModelBest fitTradeoff
DeepSeek-V4-FlashFast, long-context work, coding assistants, and high-throughput agent flowsSlightly behind Pro on pure knowledge and the most complex agentic tasks
DeepSeek-V4-ProHighest-capability tasks, deeper reasoning, and harder agent workflowsHeavier and less efficiency-oriented than Flash
DeepSeek-V3.2Older baseline for comparison and migration planningLower benchmark performance than V4-Flash on the official tables

Typical use cases for DeepSeek-V4-Flash

  1. Long-document analysis for contracts, research packs, support knowledge bases, and internal wikis.
  2. Coding assistants that need to inspect big repos, follow instructions across many files, and keep context alive.
  3. Agent workflows where the model needs to reason, call tools, and iterate without losing the thread.
  4. Enterprise chat systems that benefit from a very large context window and low-friction deployment.
  5. Prototype local deployments for teams that want to evaluate DeepSeek-V4 behavior before production hardening.

How to access and use Deepseek v4 Flash API

Step 1: Sign Up for API Key

Log in to cometapi.com. If you are not our user yet, please register first. Sign into your CometAPI console. Get the access credential API key of the interface. Click “Add Token” at the API token in the personal center, get the token key: sk-xxxxx and submit.

Step 2: Send Requests to deepseek v4 flash API

Select the “deepseek-v4-flash” endpoint to send the API request and set the request body. The request method and request body are obtained from our website API doc. Our website also provides Apifox test for your convenience. Replace <YOUR_API_KEY> with your actual CometAPI key from your account. Where to call it:  Anthropic Messages format and Chat format.

Insert your question or request into the content field—this is what the model will respond to . Process the API response to get the generated answer.

Step 3: Retrieve and Verify Results

Process the API response to get the generated answer. After processing, the API responds with the task status and output data.Enable features such as streaming, prompt caching, or long-context handling via standard parameters.

ЧАВО

Цены для DeepSeek V4 Flash

Изучите конкурентоспособные цены на DeepSeek V4 Flash, разработанные для различных бюджетов и потребностей использования. Наши гибкие планы гарантируют, что вы платите только за то, что используете, что упрощает масштабирование по мере роста ваших требований. Узнайте, как DeepSeek V4 Flash может улучшить ваши проекты, сохраняя при этом управляемые расходы.

Comet Price (USD / M Tokens)Official Price (USD / M Tokens)Discount
Ввод:$0.12/M
Вывод:$0.24/M
Ввод:$0.15/M
Вывод:$0.3/M
-20%

Пример кода и API для DeepSeek V4 Flash

Получите доступ к исчерпывающим примерам кода и ресурсам API для DeepSeek V4 Flash, чтобы упростить процесс интеграции. Наша подробная документация предоставляет пошаговые инструкции, помогая вам использовать весь потенциал DeepSeek V4 Flash в ваших проектах.

curl https://api.cometapi.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $COMETAPI_KEY" \
  -d '{
    "model": "deepseek-v4-flash",
    "messages": [
      {
        "role": "system",
        "content": "You are a helpful assistant."
      },
      {
        "role": "user",
        "content": "Hello!"
      }
    ],
    "thinking": {
      "type": "enabled"
    },
    "reasoning_effort": "high",
    "stream": false
  }'

cURL Code Example

curl https://api.cometapi.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $COMETAPI_KEY" \
  -d '{
    "model": "deepseek-v4-flash",
    "messages": [
      {
        "role": "system",
        "content": "You are a helpful assistant."
      },
      {
        "role": "user",
        "content": "Hello!"
      }
    ],
    "thinking": {
      "type": "enabled"
    },
    "reasoning_effort": "high",
    "stream": false
  }'

Python Code Example

from openai import OpenAI
import os

# Get your CometAPI key from https://www.cometapi.com/console/token, and paste it here
COMETAPI_KEY = os.environ.get("COMETAPI_KEY") or "<YOUR_COMETAPI_KEY>"
BASE_URL = "https://api.cometapi.com/v1"

client = OpenAI(base_url=BASE_URL, api_key=COMETAPI_KEY)

completion = client.chat.completions.create(
    model="deepseek-v4-flash",
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "Hello!"},
    ],
    stream=False,
    extra_body={
        "thinking": {"type": "enabled"},
        "reasoning_effort": "high",
    },
)

print(completion.choices[0].message.content)

JavaScript Code Example

import OpenAI from "openai";

// Get your CometAPI key from https://www.cometapi.com/console/token, and paste it here
const api_key = process.env.COMETAPI_KEY || "<YOUR_COMETAPI_KEY>";
const base_url = "https://api.cometapi.com/v1";

const client = new OpenAI({
  apiKey: api_key,
  baseURL: base_url,
});

const completion = await client.chat.completions.create({
  model: "deepseek-v4-flash",
  messages: [
    { role: "system", content: "You are a helpful assistant." },
    { role: "user", content: "Hello!" },
  ],
  thinking: { type: "enabled" },
  reasoning_effort: "high",
  stream: false,
});

console.log(completion.choices[0].message.content);

Uptime

Процент успешных запросов за последние 30 дней, отражающий надёжность каждого поставщика моделей. CometAPI круглосуточно отслеживает всех подключённых поставщиков в режиме реального времени.

RespondLIVE
2866msAvg. Response
UptimeLIVE
100.0%Avg. Uptime