DeepSeek
DeepSeek V4 Flash
Fast and inexpensive.
deepseek/deepseek-v4-flash- Input → Output
- Text/Text → Text/Text
- Maximum input
- 200K tokens
- Provider
- 1
- Tool invocation
- Yes
Price per million tokens
- Input
- 307.8 credits
- Output
- 826.2 credits
- Cached input reads
- 45.4 credits
Provider
Several providers serve the same model. Performance is measured on actual AlpRouter requests over the last seven days, and uptime over the last three.
| Provider | Input / 1M | Output / 1M | Cache read | First token | Throughput | Uptime |
|---|---|---|---|---|---|---|
| Microsoft Foundry | 307.8 credits | 826.2 credits | 45.4 credits | - | - | - |
Time to first token and throughput are medians (P50). Values are hidden for fewer than 10 requests.
Usage
Tokens processed by this model through AlpRouter over the last 30 days, counting successful requests.
- Input
- 1.6M
- Output
- 617.3K
- Of which reasoning
- 0
- 2026-11-07: input 0, output 0
- 2026-11-08: input 0, output 0
- 2026-11-09: input 0, output 0
- 2026-11-10: input 0, output 0
- 2026-11-11: input 0, output 0
- 2026-11-12: input 0, output 0
- 2026-11-13: input 0, output 0
- 2026-11-14: input 0, output 0
- 2026-11-15: input 0, output 0
- 2026-11-16: input 0, output 0
- 2026-11-17: input 0, output 0
- 2026-11-18: input 0, output 0
- 2026-11-19: input 0, output 0
- 2026-11-20: input 0, output 0
- 2026-11-21: input 0, output 0
- 2026-11-22: input 0, output 0
- 2026-11-23: input 0, output 0
- 2026-11-24: input 0, output 0
- 2026-11-25: input 0, output 0
- 2026-11-26: input 362, output 85
- 2026-11-27: input 1M, output 523.3K
- 2026-11-28: input 518.8K, output 93.9K
- 2026-11-29: input 0, output 0
- 2026-11-30: input 37, output 16
- 2026-12-01: input 0, output 0
- 2026-12-02: input 0, output 0
- 2026-12-03: input 0, output 0
- 2026-12-04: input 0, output 0
- 2026-12-05: input 0, output 0
- 2026-12-06: input 0, output 0
Use the API
from openai import OpenAI
client = OpenAI(
base_url="https://alprouter.com/api/v1",
api_key="alp-your-key",
)
answer = client.chat.completions.create(
model="deepseek/deepseek-v4-flash",
messages=[{"role": "user", "content": "Hello"}],
)
print(answer.choices[0].message.content)Details
- Maximum input
- 200K tokens
- Maximum output
- 128K tokens
- Tool invocation
- Supported
- Supported input
- Text/Text
- Output
- Text/Text
- Provider
- Microsoft Foundry
- Supported parameters
- max_completion_tokens, max_tokens, n, parallel_tool_calls, reasoning_effort, response_format, seed, stop, stream, temperature, tool_choice, tools, top_p
Frequently asked questions
What kind of model is DeepSeek V4 Flash?
A model from DeepSeek. Fast and inexpensive. Model ID on AlpRouter: deepseek/deepseek-v4-flash
How much does DeepSeek V4 Flash cost?
Per million tokens: 307.8 credits input, 826.2 credits output. One credit equals ₩1. Only usage is deducted from your balance. There is no monthly subscription.
How much input does DeepSeek V4 Flash accept?
Each request accepts up to 200K tokens. The maximum output is 128K tokens.
What input and output does DeepSeek V4 Flash support?
Send Text/Text to receive Text/Text.
Does DeepSeek V4 Flash support tool calling and structured JSON?
Tool calling: Supported. Structured output (response_format): Supports the json_object, json_schema format..
Which providers handle DeepSeek V4 Flash requests?
Microsoft Foundry handles these requests.
How do I call DeepSeek V4 Flash from code?
Just replace the base_url in the OpenAI SDK with https://alprouter.com/api/v1. Also, specify the name of the model in the model field (deepseek/deepseek-v4-flash). There’s an example of how to do this in the “Using the API” section above.