Anthropic
qwen3-8b
qwen/qwen3-8b
Price per million tokens
- Input
- $0.148
- Output
- $0.576
- Cache write
- not offered
- Cache read
- not offered
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
- 131,072 tokens
- Max output
- 8,192 tokens
- Images
- text only
What it costs to run
| Workload | Input | Output | Cost | Per 1,000 calls |
|---|---|---|---|---|
| Short chat turn | 1,000 | 500 | $0.0004 | $0.44 |
| Long document summary | 50,000 | 2,000 | $0.0086 | $8.56 |
| Agent step with tools | 20,000 | 1,500 | $0.0038 | $3.83 |
| 1M in, 1M out | 1,000,000 | 1,000,000 | $0.7242 | $724.15 |
Calling it
const res = await client.chat.completions.create({ model: "qwen/qwen3-8b", messages: [{ role: "user", content: "Hello" }], });