Qwen3 4B Base
Qwen3 4B Base is a reasoning model from Qwen released on Mar 31, 2025. It reads text and writes text, with a 33K token context window and up to 33K tokens per reply.
Show moreShow less
It costs $0.15 per million input tokens and $0.15 per million output tokens. Cached input bills at $0.15, 0% less than fresh input.
It supports tool calling and prompt caching.
- Modalities
- In / out price
- $0.15 / $0.15 per 1M
- Context
- 33K
- Max output
- 33K
- Released
- Mar 31, 2025
- Knowledge cutoff
- n/a
- Tool calling
- Structured output
- Reasoning
- Prompt caching
- Open weights
- Free to use
Qwen3 4B Base pricing
USD, as listed on Oct 15, 2026. Most bills are input heavy, so the cached input rate matters as much as the headline price.
| Input | $0.15 / 1M tokens | |
|---|---|---|
| Output | $0.15 / 1M tokens | |
| Cached input (read) | $0.15 / 1M tokens | 0% off input |
| Cache write | $0.15 / 1M tokens |
What Qwen3 4B Base costs per month
Pick a workload close to yours or type your own volumes.
Supported request parameters
What you can set when you call Qwen3 4B Base through an OpenAI compatible API.
- Tools
tools - Reasoning
reasoning - Temperature
temperature
Alternatives to Qwen3 4B Base
Models that take the same inputs and call tools, closest in price, cheaper ones first.
- Index 10
Reads text. Tool calling, structured output, reasoning. Served by 35 providers.
by openaiJun 1, 2024128K context$0.07/M input tokens$0.30/M output tokens35 providers
- 256K context
Reads text. Tool calling, structured output, reasoning. Served by 6 providers.
by stepfunApr 2, 2026$0.10/M input tokens$0.30/M output tokens6 providers
- 256K context
Reads text. Tool calling, structured output, reasoning. Served by 13 providers.
by stepfunJan 29, 2026$0.10/M input tokens$0.30/M output tokens13 providers
- 262K context
Reads text. Tool calling, reasoning. Served by 2 providers.
by xiaomiDec 16, 2025$0.10/M input tokens$0.30/M output tokens2 providers
- 33K context
Reads text. Tool calling, reasoning.
by googleFeb 28, 2025$0.15/M input tokens$0.15/M output tokens
- 256K context
Reads text, images, audio and video. Tool calling, structured output, reasoning. Served by 7 providers.
by nvidiaApr 28, 2026$0.10/M input tokens$0.25/M output tokens7 providers
More from Qwen
- 262K context
Reads text and images. Tool calling, reasoning.
by qwenOct 5, 2026$0.10/M input tokens$0.60/M output tokens
- 262K context
Reads text and images. Tool calling, reasoning.
by qwenOct 5, 2026$0.10/M input tokens$0.60/M output tokens
- 262K context
Reads text and images. Tool calling, reasoning.
by qwenOct 5, 2026$0.10/M input tokens$0.60/M output tokens
- 262K context
Reads text and images. Tool calling, reasoning.
by qwenOct 5, 2026$0.10/M input tokens$0.60/M output tokens
- 262K context
Reads text and images. Tool calling, reasoning.
by qwenOct 5, 2026$0.10/M input tokens$0.60/M output tokens
- 262K context
Reads text and images. Tool calling, reasoning.
by qwenOct 5, 2026$0.10/M input tokens$0.60/M output tokens
Qwen3 4B Base questions
How much does the Qwen3 4B Base API cost?
$0.15 per million input tokens and $0.15 per million output tokens, with cached input at $0.15. The estimator on this page turns that into a monthly bill for your own workload.
What is the context window of Qwen3 4B Base?
32,768 tokens of input, and it can write up to 32,768 tokens in one reply. As a rough guide, a million tokens is around 750,000 English words.
Does Qwen3 4B Base support tool calling?
Yes. It accepts tool definitions, which is what an agent needs to call your APIs.
Is Qwen3 4B Base open source?
No. Qwen serves it through an API only, so you cannot download the weights or host it yourself.
When was Qwen3 4B Base released?
Mar 31, 2025.
Catalog data from models.dev (MIT licensed), refreshed daily, last on Oct 15, 2026. The summary is written from these facts.
Building on Qwen3 4B Base?
I test your real tasks on it and the two closest alternatives, then ship the agent on whichever wins on cost and accuracy.
Book Meeting