Qwen3 Coder Flash
Qwen3 Coder Flash is a text-input model by Qwen, available through the AgentSky API as qwen/qwen3-coder-flash at $0.33 per million input tokens and $1.65 per million output tokens, with a 998K context window.
The smaller Coder tier, with the same window and multi-turn tool use.
HarnessModel
Pricing
USD per million tokens, using your plan when signed in. Each request uses the tier matching its full input context, including cached input; output tokens do not choose the tier.
| Input context (tokens) | Cache mode | Thinking | Input | Output | Cache read | Cache write |
|---|---|---|---|---|---|---|
| Up to 32,000 | Implicit | Standard | Price: $0.33 | Price: $1.65 | Price: $0.066 | Price: $0.33 |
| Up to 32,000 | Explicit | Standard | Price: $0.33 | Price: $1.65 | Price: $0.033 | Price: $0.4125 |
| 32,001–128,000 | Implicit | Standard | Price: $0.55 | Price: $2.75 | Price: $0.11 | Price: $0.55 |
| 32,001–128,000 | Explicit | Standard | Price: $0.55 | Price: $2.75 | Price: $0.055 | Price: $0.6875 |
| 128,001–256,000 | Implicit | Standard | Price: $0.88 | Price: $4.40 | Price: $0.176 | Price: $0.88 |
| 128,001–256,000 | Explicit | Standard | Price: $0.88 | Price: $4.40 | Price: $0.088 | Price: $1.10 |
| 256,001–1,000,000 | Implicit | Standard | Price: $1.76 | Price: $10.56 | Price: $0.352 | Price: $1.76 |
| 256,001–1,000,000 | Explicit | Standard | Price: $1.76 | Price: $10.56 | Price: $0.176 | Price: $2.20 |
Use it
Point your client at the gateway and pass this model id. Nothing else changes.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://gateway.agentsky.dev/v1",
apiKey: process.env.AGENTSKY_API_KEY, // ast_…
});
const completion = await client.chat.completions.create({
model: "qwen/qwen3-coder-flash",
messages: [{ role: "user", content: "Summarise this ticket." }],
});
console.log(completion.usage.cost); // USD, in the response