Seedance 2.0 | Special Offer ✦ 10% OFF NOW
deepseek
deepseek/deepseek-v4-flash

deepseek/deepseek-v4-flash

1,048,576 context · $0.17/M input tokens · $0.34/M output tokens

DeepSeek V4 Flash is DeepSeek's efficiency-first open-source model released in April 2026, built on a 284B-parameter Mixture-of-Experts architecture with just 13B parameters active per token — the smallest activation footprint among current Tier-1 models. It shares the same 1M-token context window and hybrid attention design as V4 Pro, delivering near-equivalent reasoning capability (LiveCodeBench 91.6, Codeforces 3052, SWE-bench Verified 79.0) while running significantly faster and at dramatically lower cost. Pre-trained on 32T tokens, V4 Flash is purpose-built for high-throughput, latency-sensitive scenarios such as coding assistants, conversational agents, and batch processing pipelines. It supports thinking and non-thinking modes, function calling, JSON output, and FIM completion.

定價

按用量付費

無需預付費用,僅按實際使用量付費

輸入$0.17 / M Tokens
輸出$0.34 / M Tokens

API 使用

使用以下程式碼範例整合我們的 API:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="deepseek/deepseek-v4-flash",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

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

模型介紹

Deepseek deepseek-v4-flash

DeepSeek-V4-Flash is DeepSeek's cost-efficient open-source model, released on April 24, 2026. It is a 284B parameter Mixture-of-Experts (MoE) language model with only 13B active parameters, pre-trained on 32T tokens, supporting a context length of one million tokens. V4-Flash delivers reasoning performance approaching V4-Pro while being significantly faster and cheaper — making it ideal for high-volume, latency-sensitive workloads.


Why It Looks Great

  • Mixture-of-Experts architecture with 284B total parameters and only 13B active — the smallest activation among Tier-1 models
  • 1000000 context window powered by Compressed Sparse Attention (CSA) and DeepSeek Sparse Attention (DSA)
  • Near V4-Pro reasoning performance at a fraction of the cost

Key Features

  • Context Window: 1000000 tokens
  • Max Output: 384000 tokens
  • Vision: Not Supported
  • Function Calling: Supported
  • Thinking Mode: Supported (non-thinking / high / max)
  • JSON Output: Supported
  • FIM Completion: Supported (non-thinking mode only)

Benchmarks

BenchmarkV4-FlashV4-ProClaude Opus 4.6GPT-5.4
SWE-bench Verified79.080.680.8
LiveCodeBench91.693.588.891.7
Codeforces Rating305232063168
MMLU-Pro86.287.589.187.5
Terminal Bench 2.056.967.965.475.1

Specifications

SpecificationValue
ProviderDeepseek
Model TypeLarge Language Model (LLM)
ArchitectureMixture-of-Experts (MoE)
Total Parameters284B (13B active)
Context Window1000000 tokens
Max Output384000 tokens
InputText
OutputText
VisionNot Supported
Function CallingSupported
Thinking ModeSupported (high / max)
Release DateApril 24, 2026

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: deepseek/deepseek-v4-flash


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="deepseek/deepseek-v4-flash",
    messages=[{"role": "user", "content": "Hello!"}]
)

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

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "deepseek/deepseek-v4-flash",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: deepseek/deepseek-v4-flash
  • Provider: Deepseek
  • Open-source weights available on HuggingFace and ModelScope
  • Supports both OpenAI and Anthropic API formats
  • For simple Agent tasks, V4-Flash performs on par with V4-Pro; for complex agentic workflows, consider V4-Pro

資訊

提供商deepseek
類型llm

支援功能

輸入
文字
輸出
文字
上下文1,048,576
最大輸出384,000
視覺-
函式呼叫✓ 支援

API 存取指南

Base URLhttps://llm.wavespeed.ai/v1
API 端點chat/completions
Model IDdeepseek/deepseek-v4-flash

DeepSeek V4 Flash API

deepseek/deepseek-v4-flash

DeepSeek V4 Flash is DeepSeek's efficiency-first open-source model released in April 2026, built on a 284B-parameter Mixture-of-Experts architecture with just 13B parameters active per token — the smallest activation footprint among current Tier-1 models. It shares the same 1M-token context window and hybrid attention design as V4 Pro, delivering near-equivalent reasoning capability (LiveCodeBench 91.6, Codeforces 3052, SWE-bench Verified 79.0) while running significantly faster and at dramatically lower cost. Pre-trained on 32T tokens, V4 Flash is purpose-built for high-throughput, latency-sensitive scenarios such as coding assistants, conversational agents, and batch processing pipelines. It supports thinking and non-thinking modes, function calling, JSON output, and FIM completion.

輸入

$0.17 /M

輸出

$0.34 /M

上下文

1049K

最大輸出

384K

工具調用

支援

在 WaveSpeedAI 試用 DeepSeek V4 Flash

透過我們的統一 API 接入 DeepSeek V4 Flash — 相容 OpenAI、無冷啟動、透明計費。

開啟 Playground

關於 DeepSeek V4 Flash 的常見問題

DeepSeek V4 Flash API 多少錢?+

WaveSpeedAI 定價:輸入每百萬 token $0.17,輸出每百萬 token $0.34。Prompt 快取與批次處理分別計費,可顯著降低長上下文、高重複任務的實際成本。

DeepSeek V4 Flash 的上下文視窗有多大?+

DeepSeek V4 Flash 每次請求最多支援 1049K 上下文 token,輸出最多 384K token。

DeepSeek V4 Flash 是否相容 OpenAI?+

是的。WaveSpeedAI 透過 https://llm.wavespeed.ai/v1 的 OpenAI 相容端點提供 DeepSeek V4 Flash。將官方 OpenAI SDK 的 base URL 指向該位址,使用 WaveSpeedAI 的 API Key 即可,無需其他程式碼變更。

如何開始使用 DeepSeek V4 Flash?+

登入 WaveSpeedAI,在 Access Keys 建立 API Key,使用上方顯示的 model id 向 https://llm.wavespeed.ai/v1/chat/completions 發送請求。新帳號將獲得免費額度,用於試用 DeepSeek V4 Flash。

相關 LLM API