Qwen/qwen3-4b/Released Apr 2025

Qwen/Qwen3-4B

Open model, 256K context

Fine-tunableCommercial use
Text

About Qwen/Qwen3-4B

Qwen/Qwen3-4B is an LLM. It excels in efficient general-purpose dialogue, instruction following, coding, mathematics, and multilingual tasks, while maintaining a compact parameter size suitable for resource-constrained environments.

Some other noteworthy features of Qwen/Qwen3-4B include robust support for over 100 languages and dialects, long-context processing up to 262,144 tokens, and strong performance in both creative writing and technical applications.

MetricValue
Parameter Count4 billion
Mixture of ExpertsNo
Context Length262,144 tokens
MultilingualYes
Quantized*No

*Quantization is specific to the inference provider and the model may be offered with different quantization levels by other providers.

Ready to build with Qwen/Qwen3-4B?

Try Qwen/Qwen3-4B in the Workbench to prompt it, compare outputs, and iterate on prompts without writing any code. When you're ready to ship, call the same model from our API and build your own apps on top of it.

curl -sSf -X POST https://hub.oxen.ai/api/ai/chat/completions \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $OXEN_API_KEY" \
    -d '{
  "model": "qwen3-4b",
  "messages": [
    {
      "role": "user",
      "content": "Try sending a message."
    }
  ]
}'

API endpoint

See the API reference for request and response formats.

POSThttps://hub.oxen.ai/api/ai/chat/completions