Qwen3-Coder 30B-A3B Instruct

AlibabaMCP Tool Call
alibaba/qwen3-coder-30b-a3b-instructOpen Weights

Smaller Qwen coder for efficient local agents and repo-level fixes

Benchmark Pricing$0.45 / 1M in$2.25 / 1M out
Context: 262,144 tokens•Max Output: 65,536 tokens•Knowledge: 2025-04•Released: 2025-07-31

TECHNICAL SPECIFICATIONS

Context Window262,144262.1K tokens
Max Output65,53665.5K tokens
LicenseOpen SourceSelf-hostable
Input Modalities
Text
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

✓ Qwen3-Coder 30B-A3B Instruct natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.

MCP Context Window Recommendations

With a context capacity of 262,144 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.

STANDARDIZED BENCHMARKS & EVALS

Artificial Analysis Coding Indexindex
19.4
SciCodepercent correct
27.8
Terminal-Bench Hardsuccess rate
15.2

API CALL INVOCATION EXAMPLE

// Example: Calling Qwen3-Coder 30B-A3B Instruct via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.ALIBABA_API_KEY,
});

const response = await client.chat.completions.create({
  model: "alibaba/qwen3-coder-30b-a3b-instruct",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

14 providers
Alibabaqwen3-coder-30b-a3b-instruct
$0.45 / $2.25
Cortecsqwen3-coder-30b-a3b-instruct
$0.18 / $0.70$0.01 cache
NanoGPTqwen/qwen3-coder-30b-a3b-instruct
$0.10 / $0.40$0.05 cache
GreenPTqwen3-coder-30b-a3b-instruct
$0.28 / $1.08
LLM Gatewaynovita/qwen3-coder-30b-a3b-instruct
$0.07 / $0.27
Eden AIscaleway/qwen3-coder-30b-a3b-instruct
$0.22 / $0.90
Hugging FaceQwen/Qwen3-Coder-30B-A3B-Instruct
$0.07 / $0.26
Amazon Bedrockqwen.qwen3-coder-30b-a3b-v1:0
$0.15 / $0.60
Kilo Gatewayqwen/qwen3-coder-30b-a3b-instruct
$0.07 / $0.28
DevPass (LLM Gateway)qwen3-coder-30b-a3b-instruct
$0.07 / $0.27
Pendraqwen3-coder:30b
$0.00 / $0.00
Alibaba (China)qwen3-coder-30b-a3b-instruct
$0.22 / $0.86
Heliconeqwen3-coder-30b-a3b-instruct
$0.10 / $0.30
OpenRouterqwen/qwen3-coder-30b-a3b-instruct
$0.07 / $0.28

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.