Qwen3.8 27B: coding gains over Qwen 3.6, plus Qwen3.8 Max, on a private API
The Morse teamPublished Facts checked 3 min read
Qwen3.8 27B is the Qwen team's August 2026 dense model: 27 billion parameters, built on the Qwen 3.5 architecture, with three reasoning effort levels and an Apache 2.0 license. On the team's own table it beats Qwen3.6 27B by a wide margin on coding. Morse serves it on a private, OpenAI-compatible API as qwen/qwen3.8-27b, at $0.50 per million input tokens and $3 per million output tokens, along with the generation's 2.4-trillion-parameter flagship, Qwen3.8 Max.
Sources: the Qwen team's Qwen3.8-27B and Qwen3.8-2.4T-A95B cards and Morse's model pages, read December 3, 2026. Scores are the Qwen team's.
What is Qwen3.8 27B?
The card calls it "a compact, deployment-friendly dense model," with "comprehensive improvements across coding, professional work, research, and long-horizon agentic tasks." It keeps a native 262,144-token context that extends to about a million, and adds finer control over thinking: reasoning_effort takes low, medium, or xhigh, the default, and preserved thinking, which carries reasoning across turns, is on unless you switch it off.
How much better is it than Qwen 3.6?
| Benchmark | Qwen3.8 27B | Qwen3.6 27B |
|---|---|---|
| Terminal Bench 2.1 (Terminus) | 73.0 | 63.4 |
| SWE-bench Pro | 61.7 | 53.5 |
| QwenSWEBench | 79.0 | 49.3 |
| NL2Repo-Bench | 42.3 | 36.2 |
| LiveCodeBench v6 | 90.3 | 83.9 |
| IFBench | 79.5 | 69.1 |
| GPQA Diamond | 89.2 | 87.8 |
| HLE | 30.8 | 24.0 |
Source: Qwen3.8-27B model card, read December 3, 2026.
At the same size, coding moved most: SWE-bench Pro rises 8 points and the team's own QwenSWEBench nearly 30. Instruction following (IFBench) gains 10. For anyone on Qwen 3.6, these are the reasons to switch.
What settings does the card recommend?
With thinking on, a temperature of 1.0, top_p of 0.95, and top_k of 20; with thinking off, a temperature of 0.7, top_p of 0.8, and a presence penalty of 1.5. Turning thinking off suits short, structured calls like the one below; leave it on, at medium or xhigh, for multi-step coding. On Morse the 27B can write a reply as long as its whole 256K tokens context, so long generated files fit in one call.
What is Qwen3.8 Max?
The flagship of the generation, and in the card's words, "for the first time, Qwen3.8 brings a Qwen-Max-class model to open release." It has 2.4 trillion parameters with 95 billion active, reads text only, and always thinks, at an effort of low, medium, or xhigh. Its license is the Qwen team's own "qwen3.8-max" license, not Apache, so read it before building on the weights. Against the previous Max, its card reports Terminal Bench 2.1 at 86.6 against 74.5, SWE-bench Pro at 67.7 against 60.6, and IFBench at 82.8 against 79.1. On Morse it's qwen/qwen3.8-2.4t-a95b, at $2 per million input tokens and $6 per million output tokens, with 1M tokens of context.
How do you call Qwen3.8 27B?
Point any OpenAI client at https://inference.trymorse.ai/v1, pass your Morse key, and name qwen/qwen3.8-27b. The sample hands it a brute-force log line and a firewall function at low effort:
import json
import os
from openai import OpenAI
client = OpenAI(
base_url="https://inference.trymorse.ai/v1",
api_key=os.environ["MORSE_API_KEY"],
)
tools = [
{
"type": "function",
"function": {
"name": "block_ip",
"description": "Add an IP address to the firewall's block list",
"parameters": {
"type": "object",
"properties": {
"ip": {"type": "string"},
"minutes": {"type": "integer"},
},
"required": ["ip", "minutes"],
},
},
}
]
log = "Dec 3 03:12:44 web-2 sshd[811]: Failed password for root from 198.51.100.23 port 40122 ssh2 (x240 in 5m)"
reply = client.chat.completions.create(
model="qwen/qwen3.8-27b",
reasoning_effort="low",
tools=tools,
messages=[
{"role": "system", "content": "You triage server logs. Block clear brute-force sources for 60 minutes."},
{"role": "user", "content": log},
],
)
for call in reply.choices[0].message.tool_calls or []:
print(call.function.name, json.loads(call.function.arguments))
On December 3, 2026, it called block_ip for 198.51.100.23, 60 minutes, in about 4.2 seconds. Qwen3.8 Max, with the id changed, made the same call in about 6 seconds at low effort. Morse's model pages measured the 27B on December 1 at 0.32 s to the first token and 62 tokens per second, and Max at 2.23 s and 37. Both accept the parallel_tool_calls setting coding agents send, so Morse's Codex and Claude Code guides take these ids.
27B or Max?
| Qwen3.8 27B | Qwen3.8 Max | |
|---|---|---|
| Model id | qwen/qwen3.8-27b | qwen/qwen3.8-2.4t-a95b |
| Context | 256K tokens | 1M tokens |
| Longest reply | 262,144 tokens | 131,072 tokens |
| Price | $0.50 per million input tokens and $3 per million output tokens | $2 per million input tokens and $6 per million output tokens |
Read from Morse's catalog when this page was built.
The 27B handles most coding and agent work at a fraction of Max's price, with replies as long as its whole context. Max is for the hardest problems and the million-token window.
Is there an uncensored Qwen3.8 27B?
Yes: Qwen3.8 27B Uncensored, built on this model and served for Morse's four uncensored use cases: cybersecurity, agent security, AI and ML research, and training data. To run it in a coding agent, see Qwen3.8 27B Uncensored for coding.
Privacy and cost
It runs in attested hardware enclaves, under zero-data-retention terms. Morse serves the open weights from its own providers; our Qwen Chat review covers the Qwen team's own app, and the privacy page covers each Morse tier. Both models bill per token against prepaid credits. Make a key and run the sample.
Common questions
When was Qwen3.8 27B released?
August 2026, by the Qwen team's card, four months after Qwen 3.6.
How do you set Qwen3.8 27B's reasoning?
With reasoning_effort: low, medium, or xhigh, which is the default. Thinking is on unless you turn it off per request. On Morse, reasoning_effort takes "low", "medium", or "xhigh".
What is Qwen3.8 Max?
The open-weight 2.4-trillion-parameter model of the Qwen 3.8 generation, with 95 billion active. The card says it brings a Max-class Qwen model to open release for the first time. It reads text only and always thinks.
Is there an uncensored Qwen3.8 27B?
Yes. Qwen3.8 27B Uncensored is on Morse for cybersecurity, agent security, AI and ML research, and training data.