← All models

Anthropic

deepseek-chat-v3.1

deepseek/deepseek-chat-v3.1

Price per million tokens

Input
$0.696
Output
$2.089
Cache write
not offered
Cache read
$0.696

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
163,840 tokens
Max output
161,000 tokens
Images
text only

What it costs to run

WorkloadInputOutputCostPer 1,000 calls
Short chat turn1,000500$0.0017$1.74
Long document summary50,0002,000$0.0390$38.99
Agent step with tools20,0001,500$0.0171$17.06
1M in, 1M out1,000,0001,000,000$2.7852$2785.20

Calling it

const res = await client.chat.completions.create({
  model: "deepseek/deepseek-chat-v3.1",
  messages: [{ role: "user", content: "Hello" }],
});