Qwen3 30B A3B

Alibaba Qwen chatcodereasoningtool_use

API ID: qwen/qwen3-30b-a3b-04-28

Input Price
$0.06
/1M tokens
Output Price
$0.22
/1M tokens

About Qwen3 30B A3B

Qwen3, the latest generation in the Qwen large language model series, features both dense and mixture-of-experts (MoE) architectures to excel in reasoning, multilingual support, and advanced agent tasks. Its unique ability to switch seamlessly between a thinking mode for complex reasoning and a non-thinking mode for efficient dialogue ensures versatile, high-quality performance. Significantly outperforming prior models like QwQ and Qwen2.5, Qwen3 delivers superior mathematics, coding, commonsense reasoning, creative writing, and interactive dialogue capabilities. The Qwen3-30B-A3B variant includes 30.5 billion parameters (3.3 billion activated), 48 layers, 128 experts (8 activated per task), and supports up to 131K token contexts with YaRN, setting a new standard among open-source models.

๐Ÿ’ฐ
Price Ranking
#665 lowest price among 1240 Chat models

Model Specifications

Context Length
131k
Max Output
8k
Release Date
2025-04-28
Capabilities
chat code reasoning tool_use
Input Modalities
text
Output Modalities
text

Best For

  • Complex reasoning, math problems, multi-step logic
  • Code generation, debugging, code review, refactoring
  • Conversations, content writing, general assistance

Consider Alternatives For

  • Image understanding (needs vision capability)
  • Simple Q&A (cheaper models available)

๐Ÿ’ฐ Real-World Cost Examples

Estimated monthly costs for common use cases

Personal AI Assistant
$0.09
/month
50 conversations/day, ~500 tokens each
Code Copilot
$0.82
/month
200 completions/day, ~1k tokens each
Customer Service Bot
$2.88
/month
1000 tickets/day, ~800 tokens each
Data Analysis Pipeline
$3.99
/month
500 analyses/day, ~2k tokens each

Alibaba Qwen Model Lineup

Compare all models from Alibaba Qwen to find the best fit

Model Input Output Context Capabilities
Qwen3 30B A3B Current Free Free 131k chat code reasoning tool_use
Qwen2.5-VL 7B Instruct Free Free 33k chat vision tool_use
Qwen3 Embedding 0.6B Free Free 8k chat code
Qwen3 Embedding 0.6B Free Free 8k chat code
Qwen2.5 VL 3B Instruct Free Free 64k chat vision code
Qwen2.5 VL 3B Instruct Free Free 64k chat vision code

Similar Models from Other Providers

Cross-brand alternatives with similar capabilities

Nous Research Hermes 2 Pro - Llama-3 8B
Input: $0.14
Output: $0.14
Context: 8k
Mistral Mistral Small 3.2 24B
Input: $0.07
Output: $0.20
Context: 256k
Tencent Hy3 preview
Input: $0.06
Output: $0.21
Context: 262k
Mistral Devstral 2 2512
Input: $0.05
Output: $0.22
Context: 262k

๐Ÿš€ Quick Start

Get started with Qwen3 30B A3B API

OpenAI-compatible SDK
from openai import OpenAI

client = OpenAI(
    base_url="https://api.provider.com/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="qwen/qwen3-30b-a3b-04-28",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)
print(response.choices[0].message.content)