Anthropic
deepseek-v4-flash-latest
~deepseek/deepseek-v4-flash-latest
Price per million tokens
- Input
- $0.051
- Output
- $0.101
- Cache write
- not offered
- Cache read
- $0.010
What you pay. It is what the tokens cost us to buy plus 20%, and your usage page shows what we paid beside what you paid on every request you send.
Limits
- Context window
- 1,310,720 tokens
- Max output
- 1,048,576 tokens
- Images
- text only
What it costs to run
| Workload | Input | Output | Cost | Per 1,000 calls |
|---|---|---|---|---|
| Short chat turn | 1,000 | 500 | $0.0001 | $0.10 |
| Long document summary | 50,000 | 2,000 | $0.0027 | $2.73 |
| Agent step with tools | 20,000 | 1,500 | $0.0012 | $1.16 |
| 1M in, 1M out | 1,000,000 | 1,000,000 | $0.1519 | $151.92 |
Calling it
const res = await client.chat.completions.create({ model: "~deepseek/deepseek-v4-flash-latest", messages: [{ role: "user", content: "Hello" }], });