Speed
Output tokens / second
Custom pricing for production workloads
Qwen3.6-27B is the first fully dense open-weight model in the Qwen3.6 series and it just beat a 397-billion-parameter model on agentic coding benchmarks.
Whether you are building complex agentic workflows, high-volume customer support bots, or sophisticated code assistants, Qwen 3.6-27B provides the optimal infrastructure for next-generation AI products.
alibaba/qwen3.6-27bhttps://api.aimlapi.com/v1Benchmark-tested across coding (HumanEval), math (GSM8K), and reasoning (MMLU) tasks, this 27B-parameter model from Alibaba Cloud's Tongyi Lab delivers performance rivaling 70B-class systems, with 3–5× faster token throughput. Integrated via a low-latency API endpoint, it's the go-to choice for applications where every millisecond and every token budget matters, from real-time translation engines to autonomous decision agents.
Benchmark results are only useful when they correlate with real tasks. Qwen's team shaped this release around direct community feedback, targeting agentic coding workflows rather than chasing leaderboard novelty. Here's how it stacks up.
Most models at this size either sacrifice depth for speed or pay the quadratic cost of full self-attention at every layer. Qwen3.6-27B takes a different approach, a layered hybrid that keeps computation linear for most of the stack, reserving full attention for where it counts.
Three out of every four sublayers use Gated DeltaNet, a linear attention mechanism with O(n) complexity instead of the O(n²) scaling of standard self-attention. This is what makes 262K-token contexts tractable without ballooning memory requirements.
The model's hidden layout repeats a specific pattern across 64 layers: three Gated DeltaNet → FFN blocks followed by one Gated Attention → FFN block. This 3:1 ratio is deliberate, it balances efficiency with expressiveness throughout the depth of the network.
The attention layers use asymmetric query and key/value head configurations, reducing memory bandwidth at inference time without losing the representational capacity that matters for complex reasoning tasks.
Qwen3.6 27B is documented as suited to agentic coding and repository-level reasoning, including building coding assistants and multi-step software workflows.
It is also suited to multimodal reasoning over text, images, and video, including document understanding and visual question answering.
The model is documented for frontend generation and UI-focused workflows, where it can inspect screenshots or other visual inputs and help diagnose or fix interface issues.
It is additionally suited to long-context understanding, including work over large codebases and other extended multimodal inputs.
See how Qwen 3.6 27B compares in generation speed and latency. Data retrieved Nov 3, 2026.
Output tokens / second
Compare 9 models available on AI/ML API across 5 independent benchmarks.
Expert-written questions across academic subjects.
Graduate-level science questions written to resist web search.
Agentic tasks completed in a command-line environment.
Reasoning across long documents of about 100k tokens.
Python coding tasks drawn from scientific research.
| Usage | Price | Unit |
|---|---|---|
| Input | $0.6 | 1M tokens |
| Output | $3.6 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $0.6 | $3.6 | |
| $0.15 | $0.47 | |
| $0.16 | $0.47 | |
| $0.4761 | $3.39 | |
| $4.23 | $12.7 |
Give your agent the model details, code and documentation.
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"curl 'https://api.aimlapi.com/v1/chat/completions' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "alibaba/qwen3.6-27b",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "alibaba/qwen3.6-27b",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}
response = requests.post("https://api.aimlapi.com/v1/chat/completions", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "alibaba/qwen3.6-27b",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Qwen 3.6 27B has a 256,000 tokens context window and can return up to 252,000 tokens.
Qwen 3.6 27B takes image, text as input and returns text.
Use alibaba/qwen3.6-27b as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
Qwen 3.6 27B became available on April 23, 2026.
Qwen 3.6 27B costs $0.6 input and $3.6 output per 1M tokens on AI/ML API, billed as you go with no subscription.
Yes, Qwen 3.6 27B can stream responses as they are generated.
Yes, Qwen 3.6 27B accepts image input alongside text.
Qwen 3.6 27B was built by Alibaba Cloud.