DeepSeek V4 Flash
DeepSeek V4 Flash for OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses.
Explore DeepSeek V4 Flash for OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses through the unified API. Supported interfaces and current availability are shown below.
- OpenAI-style Chat Completions
- Anthropic-style Messages
- OpenAI-style Responses
Model details
- Context window
- 1.1M tokens
- Max output
- 393K tokens
- Input
- Text
- Output
- Text
- Capabilities
- Reasoning, Tool calling, Streaming, JSON output
- Interfaces
- OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses
Pricing
Prices use the units shown below. No gateway fees. Usage, size and model options may affect the total.
| Metric | Price |
|---|---|
| / 1M input tokens | $0.14 |
| / 1M output tokens | $0.28 |
| / 1M cached input tokens | $0.0028 |
| / 1M input tokens · Peak hours | $0.44 |
| / 1M output tokens · Peak hours | $1.32 |
| / 1M cached input tokens · Peak hours | $0.014 |
| / 1M input tokens · Off-peak hours | $0.22 |
| / 1M output tokens · Off-peak hours | $0.66 |
| / 1M cached input tokens · Off-peak hours | $0.007 |
Why teams pick it
- DeepSeek V4 Flash for OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses.
Call DeepSeek V4 Flash
DeepSeek V4 Flash answers on any of the APIs below — pick the one your code already speaks and just swap in your Cloakray key.
/v1/chat/completionsOpenAI-style Chat Completions · openai SDK or plain HTTP
curl https://api.cloakray.com/v1/chat/completions \
-H "Authorization: Bearer ckr_..." \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4-flash",
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}'/v1/messagesAnthropic-style Messages · @anthropic-ai/sdk SDK or plain HTTP
curl https://api.cloakray.com/v1/messages \
-H "Authorization: Bearer ckr_..." \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4-flash",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}'/v1/responsesOpenAI-style Responses · openai SDK or plain HTTP
curl https://api.cloakray.com/v1/responses \
-H "Authorization: Bearer ckr_..." \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4-flash",
"input": "Hello"
}'Conversation compaction is also available at POST /v1/responses/compact.
More from DeepSeek
DeepSeek V4.1 FlashReasoning and vision at a fraction of flagship prices.$0.15 / 1M input tokens · $0.6 / 1M output tokens · See all rates on the model pageDeepSeek V3.2DeepSeek V3.2 for OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses.$0.28 in · $0.42 outDeepSeek V4 ProDeepSeek V4 Pro for OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses.$0.66 / 1M input tokens · $1.98 / 1M output tokens · See all rates on the model page