DeepSeek V4.1 Flash 1017 HQ
DeepSeekFlash
Rates per million tokens
- Input
- $0.15
- Cached input
- $0.02
- Output
- $0.24
- Under list
- —
- No published list rate
Reasoning tokens are billed once, as output. Cache hits are billed at the cached rate and shown on each receipt.
What requests cost
| Request | Input tokens | Output tokens | One request | 1,000 requests |
|---|---|---|---|---|
| Short chat reply | 1,000 | 300 | $0.00022 | $0.22 |
| Long document summary | 20,000 | 800 | $0.0032 | $3.19 |
| Code generation | 4,000 | 2,000 | $0.0011 | $1.08 |
Without cache hits. Actual token counts come from the provider.
Use it
Any OpenAI-compatible client works: set the base URL and use deepseek-v4.1-flash-1017-hq as the model.
from openai import OpenAI
client = OpenAI(base_url="https://api.tokencli.dev/v1", api_key="YOUR_KEY")
reply = client.chat.completions.create(
model="deepseek-v4.1-flash-1017-hq",
messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)curl https://api.tokencli.dev/v1/chat/completions \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "deepseek-v4.1-flash-1017-hq", "messages": [{"role": "user", "content": "Hello"}]}'Last 24 hours
Not enough traffic in the last 24 hours to report a success rate. Status of all models