DeepSeek V4.1 Flash 1017
TrialDeepSeekFlash
Rates per million tokens
- Input
- $0.06
- List $0.15
- Cached input
- $0.006
- List $0.003
- Output
- $0.24
- List $0.60
- Under list
- 60%
- 80% input, 20% output, no cache
Reasoning tokens are billed once, as output. Cache hits are billed at the cached rate and shown on each receipt. Callable with free trial credit.
What requests cost
| Request | Input tokens | Output tokens | One request | 1,000 requests |
|---|---|---|---|---|
| Short chat reply | 1,000 | 300 | $0.00013 | $0.13 |
| Long document summary | 20,000 | 800 | $0.0014 | $1.39 |
| Code generation | 4,000 | 2,000 | $0.00072 | $0.72 |
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 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",
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", "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