Anthropic
qwen3-coder-flash
qwen/qwen3-coder-flash
Price per million tokens
- Input
- $0.247
- Output
- $1.234
- Cache write
- $0.309
- Cache read
- $0.049
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,000,000 tokens
- Max output
- 65,536 tokens
- Images
- text only
What it costs to run
| Workload | Input | Output | Cost | Per 1,000 calls |
|---|---|---|---|---|
| Short chat turn | 1,000 | 500 | $0.0009 | $0.86 |
| Long document summary | 50,000 | 2,000 | $0.0148 | $14.81 |
| Agent step with tools | 20,000 | 1,500 | $0.0068 | $6.79 |
| 1M in, 1M out | 1,000,000 | 1,000,000 | $1.4812 | $1481.22 |
Calling it
const res = await client.chat.completions.create({ model: "qwen/qwen3-coder-flash", messages: [{ role: "user", content: "Hello" }], });