deepseek-v4.1-flash
deepseekmodel ID deepseek-v4.1-flash-92%92% OFF
deepseek-v4.1-flash costs $0.03 per million input tokens and $0.12 per million output tokens through the KoRouter API — 92% below DeepSeek's official rate, pay as you go with credits.
Call it in one request
curl https://korouter.ai/v1/chat/completions \
-H "Authorization: Bearer sk-your-key" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4.1-flash",
"messages": [{ "role": "user", "content": "Hello" }]
}'deepseek-v4.1-flash answers on the OpenAI-compatible endpoint, so anything that accepts an OPENAI_BASE_URL — Codex, Cline, Continue, Aider, Open WebUI, the OpenAI SDKs — needs the base URL, a key, and this model ID. Setup guides per tool.
Replace sk-your-key with a key from the console. Model IDs are bare names — see the docs.
What a real coding session costs
Per-token price tables mislead for agentic coding. A focused two-hour Claude Code session re-sends its context on every request, so 88% of its tokens are cache reads rather than fresh input — and the cache rate, not the headline input price, decides most of the bill. Priced at deepseek-v4.1-flash's live rates, that session costs $0.03 through KoRouter, against $0.28 at DeepSeek's official prices.
- Cache reads · 5M tokens$0.0032
- Fresh input · 250K tokens$0.0075
- Output · 100K tokens$0.01
- Cache writes · 350K tokens$0.01
- Session total$0.03
The token mix is a stated assumption, not a measurement — change it and re-price every model in the cost calculator, or read the full worked example in what a real Claude Code session costs. Prices come from the live billing catalog.
The same session elsewhere
The same reference session, priced at each model's live KoRouter rates — the nearest options on either side of deepseek-v4.1-flash.
- deepseek-v4-flash$0.03
- deepseek-v4-flash-0731$0.03
- gpt-6-luna$0.06
- deepseek-v4-pro$0.12
- deepseek-v4-pro-0813$0.12
More models
Prices use the live billing catalog · all models