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.

Precios

Pago por uso

Sin costos iniciales, paga solo por lo que uses

Entrada$0.17 / M Tokens
Salida$0.34 / M Tokens

Uso de API

Usa los siguientes ejemplos de código para integrar con nuestra 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)

Introducción del modelo

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

Información

Proveedordeepseek
Tipollm

Funcionalidades compatibles

Entrada
Texto
Salida
Texto
Contexto1,048,576
Salida máxima384,000
Visión-
Function Calling✓ Compatible

Guía de acceso a la API

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
ID del modelodeepseek/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.

Entrada

$0.17 /M

Salida

$0.34 /M

Contexto

1049K

Salida máx.

384K

Uso de herramientas

Compatible

Prueba DeepSeek V4 Flash en WaveSpeedAI

Accede a DeepSeek V4 Flash mediante nuestra API unificada — compatible con OpenAI, sin arranques en frío, precios transparentes.

Abrir Playground

Preguntas frecuentes sobre DeepSeek V4 Flash

¿Cuánto cuesta DeepSeek V4 Flash a través de la API?+

Precios en WaveSpeedAI: $0.17 por millón de tokens de entrada y $0.34 por millón de tokens de salida. El prompt caching y el procesamiento por lotes se facturan por separado y reducen el coste efectivo en cargas largas y repetitivas.

¿Cuál es la ventana de contexto de DeepSeek V4 Flash?+

DeepSeek V4 Flash admite hasta 1049K tokens de contexto y hasta 384K tokens de salida por solicitud.

¿Es DeepSeek V4 Flash compatible con OpenAI?+

Sí. WaveSpeedAI expone DeepSeek V4 Flash a través de un endpoint compatible con OpenAI en https://llm.wavespeed.ai/v1. Apunta el SDK oficial de OpenAI a esta base URL con tu clave API de WaveSpeedAI — sin más cambios de código.

¿Cómo empiezo con DeepSeek V4 Flash?+

Inicia sesión en WaveSpeedAI, crea una clave API en Access Keys y envía una solicitud a https://llm.wavespeed.ai/v1/chat/completions con el id de modelo mostrado arriba. Las cuentas nuevas reciben créditos gratuitos para evaluar DeepSeek V4 Flash antes de pagar por token.

APIs LLM relacionadas