Qwen3.5 4B vs Qwen3.5 27B

Qwen3.5 4B and Qwen3.5 27B side by side: specs, capabilities, parameters, and live pricing from the EmpirioLabs catalog.

Alibaba Cloud Text Generation

Qwen3.5 4B vs Qwen3.5 27B at a glance

Qwen3.5 4B and Qwen3.5 27B are both Alibaba Cloud models in the Text Generation category, available through the EmpirioLabs API.

Key differences

  • Qwen3.5 4B is the newer release (Mar 2, 2026); Qwen3.5 27B was released on Feb 24, 2026.
  • Qwen3.5 4B has the larger context window: 256K tokens, against 258K for Qwen3.5 27B.
  • Qwen3.5 27B returns up to 64,000 output tokens per response, Qwen3.5 4B up to 32,768.
  • Capabilities listed only for Qwen3.5 4B: video, cache, json mode, logprobs.
  • Capabilities listed only for Qwen3.5 27B: web search.

Qwen3.5 4B vs Qwen3.5 27B: specs

SpecQwen3.5 4BQwen3.5 27B
Model IDqwen3-5-4bqwen3-5-27b
AuthorAlibaba CloudAlibaba Cloud
ReleasedMar 2, 2026Feb 24, 2026
Context window256K tokens258K tokens
Max output32,768 tokens64,000 tokens
Input
Text Image Video
Text Image Video
Output
Text
Text
Structured outputJSON SchemaJSON Mode
Region-China
Endpoints
POST /v1/chat/completions POST /v1/responses POST /v1/messages POST /v1/completions POST /v1beta/models/qwen3-5-4b:generateContent
POST /v1/chat/completions POST /v1/responses POST /v1/messages POST /v1beta/models/qwen3-5-27b:generateContent
Capabilities
reasoning vision video function calling cache multimodal json mode logprobs
reasoning vision web search function calling multimodal

Qwen3.5 4B vs Qwen3.5 27B: API pricing

Live rates from the EmpirioLabs catalog for both models. Each rate card always matches what the API charges.

Qwen3.5 4B vs Qwen3.5 27B: API parameters

Request parameters each model lists on EmpirioLabs, with the allowed values or range where one applies. A dash marks a parameter the model does not list.

ParameterQwen3.5 4BQwen3.5 27B
temperature0 to 2 Default: 0.70 to 1.99 Default: 0.7
top_p0.01 to 1 Default: 0.950 to 1 Default: 0.9
max_tokens1 to 32768 Default: 81921 to 64000
stopstringstring
enable_thinkingboolean Default: trueboolean Default: true
reasoning_effortnone, low, medium, high, max Default: mediumnone, low, medium, high, max
thinking_budget1024 to 32768 Default: 40961 to 81920
top_kmin 1 Default: 201 to 100
min_p0 to 1 Default: 0-
frequency_penalty-2 to 2 Default: 0-
presence_penalty-2 to 2 Default: 0-2 to 2
repetition_penaltymin 0.1 Default: 10.1 to 2
seed0 to 21474836470 to 2147483647
logprobsboolean Default: falseboolean Default: false
top_logprobs0 to 200 to 5 Default: 0
logit_biasobject-

Qwen3.5 4B vs Qwen3.5 27B: limits and notes

Qwen3.5 4B

Supports text, image, and video input, streaming, function tools, structured JSON output, seed control, and thinking mode on by default. Use reasoning_effort or thinking_budget for bounded thinking, or enable_thinking=false for direct answers. Automatic cache reads are billed at the cached-input rate when reported by the model service. Explicit cache controls are not supported.

Qwen3.5 27B

Supports text, image, and video input. Web search is available through tool_web_search and adds $0.01 per request when enabled. Thinking tokens are billed as output tokens.

How to call Qwen3.5 4B and Qwen3.5 27B

Qwen3.5 4B serves the OpenAI-compatible Chat Completions API. Point any OpenAI SDK at https://api.empiriolabs.ai/v1 with your EmpirioLabs API key and use the model id qwen3-5-4b. Both models are called through the same endpoint. Set model to qwen3-5-4b or qwen3-5-27b. Get an API key from the EmpirioLabs dashboard.

cURL
curl https://api.empiriolabs.ai/v1/chat/completions \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3-5-4b",
    "messages": [
      {"role": "user", "content": "Write a haiku about the ocean."}
    ]
  }'

Qwen3.5 4B vs Qwen3.5 27B: common questions

What is the difference between Qwen3.5 4B and Qwen3.5 27B?

Qwen3.5 4B is the newer release (Mar 2, 2026); Qwen3.5 27B was released on Feb 24, 2026. Qwen3.5 4B has the larger context window: 256K tokens, against 258K for Qwen3.5 27B. Qwen3.5 27B returns up to 64,000 output tokens per response, Qwen3.5 4B up to 32,768. The specs, rate cards, and parameters on this page come from the live EmpirioLabs catalog.

Which is newer, Qwen3.5 4B or Qwen3.5 27B?

Qwen3.5 4B is the newer release (Mar 2, 2026); Qwen3.5 27B was released on Feb 24, 2026.

Which has the lower rate, Qwen3.5 4B or Qwen3.5 27B?

The two models are priced on different units or tiers, so compare the live rate cards on this page. They always match what the API charges.

Can I switch between Qwen3.5 4B and Qwen3.5 27B without rebuilding my integration?

Yes. Both models use POST /v1/chat/completions with the same EmpirioLabs API key, so most integrations switch by changing the model value. Check the parameters table on this page first if you rely on a model-specific parameter.

Can I try Qwen3.5 4B and Qwen3.5 27B in the browser before integrating?

Yes. Open each model in the EmpirioLabs playground and run the same prompt on both, with the parameters the API exposes.

Ready to use better endpoints?

Check out our pricing or reach out if you want your own model deployed on our stack.