Skip to content
llmmodels

Phi 4 Mini vs Qwen3-4B-Base

Phi 4 Mini is made by Microsoft and Qwen3-4B-Base by Alibaba (Qwen). See the full spec comparison below.

SpecPhi 4 MiniQwen3-4B-Base
ProviderMicrosoftAlibaba (Qwen)
ReleasedFeb 26, 2025Apr 28, 2025 (better)
TypeChat LLMChat LLM
Parameters3.8B4B
Context window8K—
Max output4K—
Input price / 1M$0.17—
Output price / 1M$0.68—
Input modalitiestexttext
Open weightsYesYes
Licensemitapache-2.0
Reasoning modeNoNo
Tool callingNoNo
API providers1 (better)—

About Phi 4 Mini

Phi 4 Mini is an open-weight chat llm from Microsoft, released Feb 26, 2025. It has 3.8B parameters and a 8K-token context window. API pricing starts at $0.17 per million input tokens and $0.68 per million output tokens. Full Phi 4 Mini specs →

About Qwen3-4B-Base

Qwen3-4B-Base is an open-weight chat llm from Alibaba (Qwen), released Apr 28, 2025. It has 4B parameters. Full Qwen3-4B-Base specs →

Compare other models

FAQ

Which is better, Phi 4 Mini or Qwen3-4B-Base?

Phi 4 Mini is made by Microsoft and Qwen3-4B-Base by Alibaba (Qwen). See the full spec comparison below.

Are Phi 4 Mini and Qwen3-4B-Base open source?

Phi 4 Mini is open-weight; Qwen3-4B-Base is open-weight.