Deepseek V4.1 flash API
deepseek-v4.1-flashDeepSeek-V4.1-Flash — The 1017 update of DeepSeek V4.1 Flash accepts text and images and focuses on shorter tasks and more concise output.
- SaveAPI price
- $0.10 / $0.50 Input / output, per 1M tokens
- List price
- $0.15 / $0.60 Input / output, per 1M tokens
- Context window
- 1M tokens
- Max output
- 393,216 tokens
Price by provider
Rates are in USD per million tokens. Vendor and third-party prices are references; our rates are current published prices.
| Channel | Input | Cache read | Output |
|---|---|---|---|
| List price · Off-peak hours | $0.15 | $0.003 | $0.60 |
| List price · Peak hours | $0.30 | $0.006 | $1.20 |
| SaveAPI · Off-peak hours | $0.10 | $0.002 | $0.50 |
| SaveAPI · Peak hours | $0.20 | $0.004 | $0.80 |
Deepseek V4.1 flash key facts
- Model ID
- deepseek-v4.1-flash
- Primary catalog vendor
- DeepSeek
- Release or availability date
- 2026-10-17
- Upstream billing
- Token rates vary by the request’s arrival time
Vendor-published benchmark results
These figures come from vendor release materials. Test versions and run settings can vary.
| Benchmark | V4.1-Flash-1017 | V4.1-Flash | Kimi K3 | GLM-5.3 | GPT-5.6 Sol | Opus 5 |
|---|---|---|---|---|---|---|
| HLE (no tools) | 42.6% | 36.8% | 43.5% | — | 44.5% | 56.3% |
| Terminal-Bench 4.0 | 42.3% | 31.2% | 12.6% | 37.9% | 39.9% | 51.8% |
| DeepSWE v1.1 | 77.0% | 74.2% | 67.5% | 66.9% | 73.0% | 74.0% |
| ProgramBench | 29.1% | 20.3% | 17.5% | 19.0% | 23.0% | 37.0% |
| NL2Repo-Bench | 68.2% | 65.4% | 58.0% | 58.0% | 56.8% | 75.3% |
| AutomationBench v1.0.6 | 60.5% | 54.8% | 46.7% | 48.8% | 45.8% | 50.3% |
| Agents’ Last Exam | 35.4% | 31.8% | 27.6% | 28.5% | 26.7% | 28.6% |
| Apex Bench v1.1 | 72.1% | 64.6% | 47.8% | 56.6% | 54.3% | 65.8% |
| Chartography (tools) | 83.0% | 78.9% | 68.1% | — | 79.9% | 84.0% |
| BabyVision (tools) | 92.5% | 89.6% | 85.7% | — | 88.9% | 94.1% |
| ZeroBench-main (tools) | 51.0% | 49.0% | 41.0% | — | 53.0% | 52.0% |
Models and pricing
Prices are per 1M tokens; billing follows the price at the time the request is processed.
| Item | SaveAPI | List price | Savings |
|---|---|---|---|
| Input · Off-peak hours | $0.10 | $0.15 | 33% |
| Output · Off-peak hours | $0.50 | $0.60 | 17% |
| Cache read · Off-peak hours | $0.002 | $0.003 | 33% |
| Input · Peak hours | $0.20 | $0.30 | 33% |
| Output · Peak hours | $0.80 | $1.20 | 33% |
| Cache read · Peak hours | $0.004 | $0.006 | 33% |
Monthly cost estimate
Estimate from monthly usage and per-million-token rates for the selected period. Enter uncached input, cache reads and cache writes separately. Actual charges are calculated per request.
- SaveAPI
- USD 0.225
- List price
- USD 0.30
Capabilities and endpoints
- Provider
- deepseek
- Context window
- 1,000,000 tokens
- Max output
- 393,216 tokens
- Input types
- Text and Image
- Output type
- Text
- Tool calling
- Supported
- Vendor reasoning levels
- low / high / max
- Upstream cache reads
- Separate billing meter
- Wokey routing vendors
- DeepSeek, OpenCode Go, Ollama, and Volcengine Ark
- Wokey endpoints
- /v1/chat/completions, /v1/responses, /v1/messages
- Streaming output
- Supported
- Endpoints
- /v1/messages, /v1/responses, /v1/chat/completions
Send a request
curl https://api.saveapi.cc/v1/messages \
-H "x-api-key: $API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{"model":"deepseek-v4.1-flash","max_tokens":1024,"messages":[{"role":"user","content":"Hello"}]}'curl https://api.saveapi.cc/v1/responses \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"deepseek-v4.1-flash","input":"Hello"}'curl https://api.saveapi.cc/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"deepseek-v4.1-flash","messages":[{"role":"user","content":"Hello"}]}'Use Deepseek V4.1 flash in your client
The gateway address is https://api.saveapi.cc; paths work with or without /v1 (OpenAI-compatible clients usually use https://api.saveapi.cc/v1). Set the model ID to deepseek-v4.1-flash, then open the guide for your client.
- Use Deepseek V4.1 flash in Claude CodeAnthropic Messages · Base URL and API key setup
- Use Deepseek V4.1 flash in CodexOpenAI Responses · Base URL and API key setup
- Use Deepseek V4.1 flash in Claude DesktopAnthropic Messages · Base URL and API key setup
- Use Deepseek V4.1 flash in opencodeOpenAI Chat Completions · Base URL and API key setup
- Use Deepseek V4.1 flash in Grok CLIOpenAI Responses · Base URL and API key setup
- Use Deepseek V4.1 flash in piAnthropic Messages · Base URL and API key setup
- Use Deepseek V4.1 flash in DeepSeek HarnessAnthropic Messages · Base URL and API key setup
- Use Deepseek V4.1 flash in Z CodeAnthropic Messages · Base URL and API key setup
- Use Deepseek V4.1 flash in Cherry StudioOpenAI Chat Completions · Base URL and API key setup
- Use Deepseek V4.1 flash in WorkBuddyOpenAI Chat Completions · Base URL and API key setup
- Use Deepseek V4.1 flash in OpenClawOpenAI Chat Completions · Base URL and API key setup
- Use Deepseek V4.1 flash in Hermes AgentOpenAI Chat Completions · Base URL and API key setup
- Use Deepseek V4.1 flash in MagpieOpenAI Chat Completions · Base URL and API key setup
- OpenRouter alternative: SaveAPI vs OpenRouterCompare token prices, payment fees, endpoints and upstream sources.
- Verify a response: relay checkerPaste a response with tee.proof to verify it locally in your browser. Nothing is uploaded.
Third-party gateway measurements · Wokey
Measurement window · 2026-10-20 – 2026-11-16
- Time to first token, p50 (short prompts, <8K)
- 2.2 sec
- Time to first token, p90 (short prompts, <8K)
- 5.2 sec
- Time to first token, p50 (long prompts, 32K–128K)
- 3.7 sec
- Share of input tokens read from cache
- 93%
- Sample accounts
- 300+
- Requests with a recognized client
- 19%
| Client | Share of requests with identified clients |
|---|---|
| OpenCode | 30% |
| DeepSeek Harness | 26% |
| Magpie | 18% |
Measurement method
Wokey measured successful streamed requests in this historical sample. Time to first token includes gateway processing. The cache share is cached reads divided by total input tokens.
FAQ
Which model ID goes in the API request?
deepseek-v4.1-flash
What are the context window and maximum output per request?
Context window — 1,000,000 tokens · Maximum output — 393,216 tokens