Skip to navigation
Qwen3.6 27B
Alibaba Cloud · Text Generation
POST /v1/chat/completions

Qwen3.6 27B improves agentic coding, STEM reasoning, spatial vision, OCR, and text, image, and video understanding on 256K context.

At a glance

FieldValue
Model idqwen3-6-27b
Model release date2026-04-22
Input modalitiesText, Image, Video
Output modalitiesText
Context window224K
Weight precision-
Max output tokens64,000
RegionChina
Featuresreasoning, vision, web_search, function_calling, multimodal
Native inferenceNo
NewNo
Structured outputJSON Mode
Supported endpointsPOST /v1/chat/completions, POST /v1/responses, POST /v1/messages, POST /v1beta/models/qwen3-6-27b:generateContent
Alternate model idsqwen3.6-27b

Pricing

ChargeSpecRate
Inputper 1M prompt tokens$0.60 $0.412564
Outputper 1M generated tokens$3.60 $2.475384
Web searchper request when enabled$0.01

Example request

curl https://api.empiriolabs.ai/v1/chat/completions \
-H 'Authorization: Bearer $EMPIRIOLABS_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"model": "qwen3-6-27b", "messages": [{"role":"user","content":"Hello"}]}'

Parameters

ParameterTypeRequiredDefaultDescription
temperaturenumberno0.7Sampling temperature. 0 is deterministic and 1.99 is maximum randomness. · Range: 0 – 1.99
top_pnumberno0.9Nucleus sampling probability mass. Lower values make outputs more focused. · Range: 0 – 1
max_tokensnumberno-Maximum output tokens. When omitted, the model’s own default applies. · Range: 1 – 64000
stopstringno-Up to 4 strings where the model will stop generating further tokens.
enable_thinkingbooleannotrueEnable reasoning before answering. A request that forces a tool call runs without reasoning unless it sets enable_thinking.
reasoning_effortenumno-Reasoning effort level. none disables thinking. low, medium, high, and max set bounded thinking budgets sized to the selected model. · Allowed: none, low, medium, high, max
thinking_budgetnumberno-Maximum tokens reserved for reasoning when thinking is enabled. When omitted, the model decides how long to reason. · Range: 1 – 131072
preserve_thinkingbooleannofalseInclude the reasoning of earlier assistant turns in the model’s input on /v1/chat/completions. Return each turn’s reasoning unchanged in that assistant message’s reasoning_content field. The earlier reasoning is billed as input tokens.
seedintegerno-Random seed for more reproducible sampling. Reusing a seed with the same request returns similar, not always identical, output. · Range: 0 – 2147483647
top_kintegerno-Sample only from the K most likely tokens. When omitted, the model’s own default applies. · Range: 1 – 100
presence_penaltynumberno-Penalty for tokens that already appeared in the generated text. Positive values encourage new topics. When omitted, the model’s own default applies. · Range: -2 – 2
repetition_penaltynumberno-Higher values discourage repeated phrasing, and 1 applies no penalty. When omitted, the model’s own default applies. · Range: 0.1 – 2
nintegerno1Number of answers to return. Above 1 runs only on /v1/chat/completions, with enable_thinking false and without tools, web search or logprobs. The output tokens of every answer are billed. · Range: 1 – 4
logprobsbooleannofalseReturn the log probabilities of the answer tokens, not the reasoning, on /v1/chat/completions.
top_logprobsintegerno0Return up to this many most likely alternatives for each answer token. Needs logprobs set to true. · Range: 0 – 5
vl_high_resolution_imagesbooleannotrueUse higher resolution processing for image inputs.
max_pixelsnumberno2621440Maximum pixel count per image when high resolution processing is disabled. · Range: 4096 – 16777216
video_fpsnumberno2Frames per second to sample from video inputs. · Range: 0.1 – 10
tool_web_searchbooleannofalseSearch the web for real-time information. Adds $0.01 to the request cost when enabled.
parallel_tool_callsbooleanno-Allow multiple tool calls in a single assistant turn. When omitted, the model’s own default applies.
response_formatenumno-Return the output as a valid JSON object (JSON mode). Describe the fields you want in your prompt.

Notes

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.


Machine-readable schema: GET https://api.empiriolabs.ai/v1/models/qwen3-6-27b.