DeepSeek
DeepSeek V4.1 Flash
Affordable, with image input.
deepseek/deepseek-v4.1-flash- Input → Output
- Text, images → Text/Text
- Maximum input
- 200K tokens
- Provider
- 2
- Tool invocation
- Yes
Price per million tokens
- Input
- 486 credits
- Output
- 1,944 credits
- Cached input reads
- 9.72 credits
Provider
Several providers serve the same model. We try providers in order and move to the next if one cannot respond. 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 | 486 credits | 1,944 credits | 9.72 credits | - | - | - |
| Alibaba Cloud | 486 credits | 1,944 credits | 9.72 credits | - | - | - |
Time to first token and throughput are medians (P50). Values are hidden for fewer than 10 requests.
Performance
The “throughput” refers to the speed at which answers are written (the higher the better). The “first token” refers to the time it takes for the first character of the answer to appear (the lower the better). The “total time” refers to the time it takes for one request to be processed completely. The average value is calculated based on the last 7 requests of the user with ID 17.
- Total duration
- 1.37 seconds
- Alibaba Cloud
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.1-flash",
messages=[{"role": "user", "content": "Hello"}],
)
print(answer.choices[0].message.content)Details
- Maximum input
- 200K tokens
- Scheduled retirement
- 2027.03.06 (date set by the provider)
- Maximum output
- 128K tokens
- Tool invocation
- Supported
- Supported input
- Text, images
- Output
- Text/Text
- Provider
- Microsoft Foundry, Alibaba Cloud
- Supported parameters
- frequency_penalty, max_completion_tokens, max_tokens, n, parallel_tool_calls, presence_penalty, reasoning_effort, response_format, seed, stop, stream, temperature, tool_choice, tools, top_p
Frequently asked questions
What kind of model is DeepSeek V4.1 Flash?
A model from DeepSeek. Affordable, with image input. Model ID on AlpRouter: deepseek/deepseek-v4.1-flash
How much does DeepSeek V4.1 Flash cost?
Per million tokens: 486 credits input, 1,944 credits output. One credit equals ₩1. Only usage is deducted from your balance. There is no monthly subscription.
How much input does DeepSeek V4.1 Flash accept?
Each request accepts up to 200K tokens. The maximum output is 128K tokens.
What input and output does DeepSeek V4.1 Flash support?
Send Text, images to receive Text/Text.
Does DeepSeek V4.1 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.1 Flash requests?
Microsoft Foundry, Alibaba Cloud handles these requests. If a provider cannot respond, another provider takes over.
How do I call DeepSeek V4.1 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.1-flash). There’s an example of how to do this in the “Using the API” section above.