DeepSeek V4 Flash
deepseek/deepseek-v4-flashDeepSeek 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. The model includes hybrid attention for efficient long-context processing. Reasoning efforts `high` and `xhigh` are supported; `xhigh` maps to max reasoning. It is well suited for applications such as coding assistants, chat systems, and agent workflows where responsiveness and cost efficiency are important.
- Input price
- $0.44USD / 1M tokens
- Output price
- $1.32USD / 1M tokens
- Context window
- N/A
- Max output
- 384K
Try the model
Playground
Try a prompt
Your response will appear here
Choose an example or write a prompt, then click Run.
Specifications
Pricing
- Input
- $0.44 / 1M tokens
- Output
- $1.32 / 1M tokens
- Billing formula
- usage.prompt_tokens * 0.44 / 1000000 + usage.completion_tokens * 1.32 / 1000000 + usage.cached_tokens * 0.000008 / 1000000
Context & modalities
- Max output
- 384,000 tokens
- Input
- Text
- Output
- Text
Capabilities
- Chat
- Supported
- Vision
- Not supported
- Reasoning
- Supported
- Structured output
- Supported
- Function calling
- Supported
- Audio input
- Not supported
Access
- Provider
- DeepSeek
- Model ID
- deepseek/deepseek-v4-flash
- Execution
- sync
- API
- Chat Completions API
- Endpoint
- /v1/chat/completions
Start building
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/chat/completions" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "deepseek/deepseek-v4-flash",
"messages": [
{
"role": "user",
"content": "Hello"
}
],
"max_tokens": 2048
}
SANDBASE_JSON
)
printf '%s\n' "$result"Choose your model
Compare models
| Model | Context | Input / 1M | Output / 1M | Released |
|---|---|---|---|---|
DeepSeek: DeepSeek V4 FlashThis model DeepSeek | — | $0.44 | $1.32 | Apr 24, 2026 |
DeepSeek | 1M | — | — | Sep 10, 2026 |
DeepSeek | 1M | — | — | Aug 21, 2026 |
DeepSeek | 1M | — | — | Jul 31, 2026 |
DeepSeek | 1M | — | — | Apr 24, 2026 |
DeepSeek | 160K | — | — | Dec 1, 2025 |
