Qwen3 4B

qwen3-4b · Qwen

Achieves effective integration of thinking and non-thinking modes, allowing mode switching during conversations. Its reasoning ability reaches state-of-the-art (SOTA) levels among models of the same scale, with significantly enhanced human preference alignment. There are notable improvements in creative writing, role-playing, multi-turn dialogue, and instruction following, resulting in a noticeably better user experience.

API Pricing

Input$0.046 / 1M tokens
Output$0.46 / 1M tokens

Specifications

Output modalitiestext

Frequently asked questions

What is Qwen3 4B?

Achieves effective integration of thinking and non-thinking modes, allowing mode switching during conversations. Its reasoning ability reaches state-of-the-art (SOTA) levels among models of the same scale, with significantly enhanced human preference alignment. There are notable improvements in creative writing, role-playing, multi-turn dialogue, and instruction following, resulting in a noticeably better user experience.

How much does Qwen3 4B cost?

On AIHubMix, Qwen3 4B costs $0.046 per million input tokens and $0.46 per million output tokens.

How do I call Qwen3 4B via API?

Qwen3 4B is available through the AIHubMix unified API. The API is OpenAI-compatible: point your OpenAI SDK at https://aihubmix.com/v1, use your AIHubMix API key, and set the model name to qwen3-4b — no other code changes needed.

Who created Qwen3 4B?

Qwen3 4B is developed by Qwen. AIHubMix aggregates it alongside models from other providers behind one API and one bill.

More models from Qwen

See all Qwen models →

Qwen3 235B A22B 2507

by Qwen

qwen3-235b-a22b-2507 is Qwen's multilingual, instruction-tuned mixture-of-experts…

$0.35/1M in · $1.4/1M out
262,144 tokens context

Qwen3.8 27B

by Qwen

qwen3.8-27b is Qwen's open-weight dense vision-language model, designed for coding…

$0.2/1M in · $2.5/1M out
1,000,000 tokens context

Qwen4 Max

by Qwen

Qwen4-Max is Tongyi Qianwen's next-generation flagship multimodal model, integrating text…

$1.471/1M in · $4.412/1M out
1,000,000 tokens context

Coding Qwen4 Max Preview

by Qwen

Coding Qwen4 Max Preview offers lower-cost access to Alibaba Cloud’s Qwen4-Max-Preview…

$0.353/1M in · $1.059/1M out
1,000,000 tokens context

Qwen Image 2.1 Pro

by Qwen

Qwen-Image-2.1-Pro is a unified text-to-image generation and image-editing model in the…

$0.0352/image

Qwen Image 2.1 Turbo

by Qwen

Qwen-Image-2.1-Turbo is currently the best-balanced and most cost-effective open-source…

$0.0141/image

Use Qwen3 4B via the AIHubMix unified API — one interface for every major LLM.