deepseek/deepseek-v4.1-flash

DeepSeek: DeepSeek V4.1 Flash

Context length
1049K
Input / 1M tokens
$0.14
Output / 1M tokens
$0.42
Released
2026-09-10
Modality
text+image->text

About DeepSeek: DeepSeek V4.1 Flash

DeepSeek V4.1 Flash is a sparse mixture-of-experts model from DeepSeek, and the first built on the company's Causal Encoder-Decoder (CED) architecture. It activates 8B parameters on input and 16B on...

Call DeepSeek: DeepSeek V4.1 Flash

Via OpenRouter: one base URL for every provider.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek/deepseek-v4.1-flash",
    "messages": [{"role": "user", "content": "Say hello"}]
  }'

Direct on DeepSeek:

curl https://api.deepseek.com/v1/chat/completions \
  -H "Authorization: Bearer $DEEPSEEK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4.1-flash",
    "messages": [{"role": "user", "content": "Say hello"}]
  }'

DeepSeek keys

OpenRouter keys

OpenRouter keys work for deepseek/deepseek-v4.1-flash regardless of the upstream provider.