DeepSeek V4.1 Flash API — DeepSeek's latest V4.1 Flash with 1M context at ultra-low 5 credits / 1M input tokens ($0.025)
DeepSeek V4.1 Flash — ultra-economical open-weight DeepSeek flash engine delivering 1M-token context, sharp JSON extraction, and high-throughput coding at $0.025/1M input tokens.
Key capabilities of DeepSeek V4.1 Flash
Supported through the same request schema.
1M Context Window — available on every request to /v1/market/text/deepseek-v4-1-flash.
Input 5 cr ($0.025) / 1M tok — available on every request to /v1/market/text/deepseek-v4-1-flash.
Fast Open-Weight Flash — available on every request to /v1/market/text/deepseek-v4-1-flash.
Sync, Polling & Webhooks — available on every request to /v1/market/text/deepseek-v4-1-flash.
Parameters
| Parameter | Type | Default / values | Description |
|---|---|---|---|
promptrequired | textarea | — | Prompt or message sent to the text model. |
wait | boolean | true | Return result immediately (default true), or set false for async polling + webhook. |
callback_url | string | — | Optional HTTPS URL notified via POST when complete. |
Pricing
| Tier | Credits / 1M tok | USD / 1M tok | Notes |
|---|---|---|---|
| Base Output | 5 credits | ≈ $0.03 | Standard rate |
How to get started
- 1Create an API key
Open the dashboard and create a key for your project.
API keys → - 2POST /v1/market/text/deepseek-v4-1-flash
Send the same JSON you built in the playground with your key as a Bearer token.
- 3Read the output directly
Synchronous models return the output directly in the response, or pass wait: false to poll.
Docs →
FAQ
How is DeepSeek V4.1 Flash billed?
Input 5 cr ($0.025) · Output 50 cr ($0.25) / 1M tok. Metered per million input and output tokens — unused credit reservations are automatically released back to your balance, and the playground shows the estimated credit cost before each run.
What if a generation fails?
Credits are reserved when the task starts and refunded automatically if the provider errors, times out or the task is cancelled.
Is the response synchronous?
Yes — this endpoint supports returning the completed result directly when wait is true, or set wait: false to receive a taskId for polling and webhooks.
Where are outputs stored?
Outputs are copied to durable CDN storage and returned as HTTPS URLs on the task, so links stay valid after the provider's temporary URL expires.



