Skip to content

Qwen

Qwen3 Coder Flash

A fast model tuned for writing and editing code.

qwen/qwen3-coder-flash
Input → Output
Text/Text → Text/Text
Maximum input
1M tokens
Provider
1
Tool invocation
Yes

Price per million tokens

Input
486 credits
Output
2,430 credits
Cached input reads
97.2 credits

If input exceeds 32K tokens, the entire request is billed at 810 credits per million input tokens and 4,050 credits per million output tokens.

If input exceeds 128K tokens, the entire request is billed at 1,296 credits per million input tokens and 6,480 credits per million output tokens.

If input exceeds 256K tokens, the entire request is billed at 2,592 credits per million input tokens and 15,552 credits per million output tokens.

Provider

Several providers serve the same model. Performance is measured on actual AlpRouter requests over the last seven days, and uptime over the last three.

ProviderInput / 1MOutput / 1MCache readFirst tokenThroughputUptime
Alibaba Cloud486 credits2,430 credits97.2 credits---

Time to first token and throughput are medians (P50). Values are hidden for fewer than 10 requests.

Performance

The “throughput” refers to the speed at which answers are written (the higher the better). The “first token” refers to the time it takes for the first character of the answer to appear (the lower the better). The “total time” refers to the time it takes for one request to be processed completely. The average value is calculated based on the last 7 requests of the user with ID 23.

Total duration
1.69 seconds
Alibaba Cloud

Use the API

from openai import OpenAI

client = OpenAI(
    base_url="https://alprouter.com/api/v1",
    api_key="alp-your-key",
)

answer = client.chat.completions.create(
    model="qwen/qwen3-coder-flash",
    messages=[{"role": "user", "content": "Hello"}],
)
print(answer.choices[0].message.content)

Details

Maximum input
1M tokens
Scheduled retirement
2027.03.01 (date set by the provider)
Maximum output
65.5K tokens
Tool invocation
Supported
Supported input
Text/Text
Output
Text/Text
Provider
Alibaba Cloud
Supported parameters
frequency_penalty, max_completion_tokens, max_tokens, n, parallel_tool_calls, presence_penalty, response_format, seed, stop, stream, temperature, tool_choice, tools, top_p

Frequently asked questions

What kind of model is Qwen3 Coder Flash?

A model from Qwen. A fast model tuned for writing and editing code. Model ID on AlpRouter: qwen/qwen3-coder-flash

How much does Qwen3 Coder Flash cost?

Per million tokens: 486 credits input, 2,430 credits output. One credit equals ₩1. Only usage is deducted from your balance. There is no monthly subscription.

How much input does Qwen3 Coder Flash accept?

Each request accepts up to 1M tokens. The maximum output is 65.5K tokens.

What input and output does Qwen3 Coder Flash support?

Send Text/Text to receive Text/Text.

Does Qwen3 Coder Flash support tool calling and structured JSON?

Tool calling: Supported. Structured output (response_format): Supports the json_object format..

Which providers handle Qwen3 Coder Flash requests?

Alibaba Cloud handles these requests.

How do I call Qwen3 Coder Flash from code?

Just replace the base_url in the OpenAI SDK with https://alprouter.com/api/v1. Also, specify the name of the model in the model field (qwen/qwen3-coder-flash). There’s an example of how to do this in the “Using the API” section above.

Other models from Qwen