Language model by DeepSeek

DeepSeek V4.1 Flash API

model: deepseek-v4.1-flash

Call DeepSeek V4.1 Flash with your KeelRouter API key, the same key you use for every other model. From $0.292 / $1.17 per 1M tokens, paid per call from a prepaid balance. Failed calls are free.

Pricing

OptionPrice
Input$0.292 per 1M tokens
Output$1.17 per 1M tokens

Call it

OpenAI-compatible endpoint /v1/chat/completions.

curl https://api.keelrouter.com/v1/chat/completions \
  -H "Authorization: Bearer $KEELROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "deepseek-v4.1-flash",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the sea."
    }
  ]
}'

Parameters

NameTypeNotes
modelstringRequired. deepseek-v4.1-flash
messagesarrayRequired. OpenAI chat format
max_tokensintegerOutput cap; also sets the hold
streambooleanServer-sent events; usage is billed at the end
temperaturenumberPassed through
toolsarrayPassed through when the model supports them

FAQ

How much does the DeepSeek V4.1 Flash API cost on KeelRouter?
From $0.292 / $1.17 per 1M tokens. You pay per call from a prepaid USD balance; failed calls are not charged.
How do I call DeepSeek V4.1 Flash?
Send an OpenAI-compatible request to /v1/chat/completions with model "deepseek-v4.1-flash" and your KeelRouter API key.
Is this the official DeepSeek V4.1 Flash API?
No. KeelRouter is an independent API gateway. Requests run on DeepSeek V4.1 Flash through our upstream providers, and the language model keeps its own safety filters.
How long are results kept?
We keep request records (tokens and cost), not your prompts or answers.

More from DeepSeek

KeelRouter is an independent service and is not affiliated with DeepSeek. DeepSeek V4.1 Flash is a trademark of its owner, used here only to name the model a request runs on.