Qwen3 235B A22B

Alibaba Qwen chatcodereasoningtool_use

API ID: qwen/qwen3-235b-a22b-04-28

Input Price
$0.18
/1M tokens
Output Price
$0.54
/1M tokens

About Qwen3 235B A22B

Qwen3-235B-A22B is a 235B parameter mixture-of-experts (MoE) model developed by Qwen, activating 22B parameters per forward pass. It supports seamless switching between a "thinking" mode for complex reasoning, math, and code tasks, and a "non-thinking" mode for general conversational efficiency. The model demonstrates strong reasoning ability, multilingual support (100+ languages and dialects), advanced instruction-following, and agent tool-calling capabilities. It natively handles a 32K token context window and extends up to 131K tokens using YaRN-based scaling.

๐Ÿ’ฐ
Price Ranking
#777 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.24
/month
50 conversations/day, ~500 tokens each
Code Copilot
$2.16
/month
200 completions/day, ~1k tokens each
Customer Service Bot
$7.56
/month
1000 tickets/day, ~800 tokens each
Data Analysis Pipeline
$10.53
/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 235B A22B 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

Tencent Hy3
Input: $0.14
Output: $0.58
Context: 262k
OpenAI GPT-5.4 Nano (batch)
Input: $0.10
Output: $0.63
Context: 400k
Tencent Hunyuan A13B Instruct
Input: $0.14
Output: $0.57
Context: 131k
Baidu ERNIE 4.5 VL 28B A3B
Input: $0.14
Output: $0.56
Context: 30k

๐Ÿš€ Quick Start

Get started with Qwen3 235B A22B 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-235b-a22b-04-28",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)
print(response.choices[0].message.content)