Qwen logo

Qwen3 Coder Flash

by Qwen
qwen/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.

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 modeThinkingInputOutputCache readCache write
Up to 32,000ImplicitStandardPrice: $0.33Price: $1.65Price: $0.066Price: $0.33
Up to 32,000ExplicitStandardPrice: $0.33Price: $1.65Price: $0.033Price: $0.4125
32,001–128,000ImplicitStandardPrice: $0.55Price: $2.75Price: $0.11Price: $0.55
32,001–128,000ExplicitStandardPrice: $0.55Price: $2.75Price: $0.055Price: $0.6875
128,001–256,000ImplicitStandardPrice: $0.88Price: $4.40Price: $0.176Price: $0.88
128,001–256,000ExplicitStandardPrice: $0.88Price: $4.40Price: $0.088Price: $1.10
256,001–1,000,000ImplicitStandardPrice: $1.76Price: $10.56Price: $0.352Price: $1.76
256,001–1,000,000ExplicitStandardPrice: $1.76Price: $10.56Price: $0.176Price: $2.20

Every response carries its own cost. Balance and per-call records: /v1/credits and /v1/generation.

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

Questions