qwen logo
qwen

Qwen: Qwen3 Coder 30B A3B Instruct

Qwen3-Coder-30B-A3B-Instruct is a 30.5B parameter Mixture-of-Experts (MoE) model with 128 experts (8 active per forward pass), designed for advanced code generation, repository-scale understanding, and agentic tool use. $0.07 per million input tokens, $0.27 per million output tokens. 262,144 token context window, maximum output of 32,768 tokens. Higher uptime with 4 providers. Includes independent benchmarks from Artificial Analysis.

Overview

Model specifications

Context
262,144 tokens
Maximum output
235,929 tokens
Architecture
text->text
Tokenizer
Qwen3
Knowledge cutoff
2025-06-30
Moderated
No
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Input
$0.07
/M tokens
Output
$0.27
/M tokens
API

Quick start

Call this exact model ID through OpenRouter’s OpenAI-compatible API.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"qwen/qwen3-coder-30b-a3b-instruct","messages":[{"role":"user","content":"Hello!"}]}'
Capabilities

InputOutput

Input
text
Output
text
API

Supported API parameters

frequency_penaltylogprobsmax_tokenspresence_penaltyrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p
Available providers

4 providers

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

Novita

fp8
Context
160K
Maximum output
33K
Input
$0.070
Output
$0.270
Cache read
Not provided
Cache write
Not provided

SiliconFlow

fp8
Context
262K
Maximum output
236K
Input
$0.070
Output
$0.280
Cache read
Not provided
Cache write
Not provided

Amazon Bedrock

unknown
Context
Not provided
Maximum output
Not provided
Input
$0.150
Output
$0.600
Cache read
Not provided
Cache write
Not provided

Alibaba

unknown
Context
262K
Maximum output
66K
Input
$0.292
Output
$1.46
Cache read
Not provided
Cache write
Not provided
qwen

models

All models