Accuracy note: QwQ-32B is not documented as an AI companion or character model. The official sources do not attribute persistent memory, an emotional state, a permanent persona, consciousness, or cross-session recall to the checkpoint. An application may supply conversation history, persona instructions, or externally stored user data, but those are application-layer features—not built-in QwQ-32B capabilities.
Qwen-AI.chat is an independent informational website. It is not operated, authorized, or endorsed by Alibaba Cloud or the Qwen Team. This page documents the official Qwen/QwQ-32B checkpoint and does not imply that this site’s chat interface runs it.
QwQ-32B at a glance
| Official checkpoint | Qwen/QwQ-32B |
|---|---|
| Released | March 6, 2025 |
| Model type | Dense causal language model for text reasoning |
| Foundation | Based on Qwen2.5-32B |
| Parameters | 32.5B total; 31.0B excluding embeddings |
| Layers | 64 |
| Attention | Grouped-query attention: 40 query heads and 8 key/value heads |
| Input and output | Text input; text output |
| Maximum full sequence | 131,072 tokens as listed by the model card, with the documented YaRN setup required for long prompts |
| License | Apache License 2.0 |
What QwQ-32B is—and what it is not
QwQ-32B is a reasoning-focused language model. It generates text, including code represented as text. It does not natively accept images, audio, or video, and it does not generate images, speech, or video. Special tokens used by a broader tokenizer family do not turn this checkpoint into a multimodal model.
| Claim | Evidence-based treatment |
|---|---|
| Reasoning model | Supported. This is the checkpoint’s official positioning. |
| AI companion or emotional model | Not documented. It can generate emotionally worded text, but generated style is not an emotional state. |
| Persistent memory | Not built in. The host application must store and resend any conversation history or retrieved user information. |
| Permanent persona | Not built in. Prompts can guide tone or role within supplied context; they do not create a durable model identity. |
| Consciousness or self-awareness | Unsupported. A generated reasoning trace is not evidence of subjective experience. |
| Autonomous tool execution | Requires external orchestration. The application must define, authorize, execute, and validate every tool action. |
A long context window is also not long-term memory. Context is the token sequence available to a particular request. Once an application stops supplying prior messages or retrieved records, the base checkpoint has no independent store from which to recall them.
Architecture and reinforcement-learning training
QwQ-32B is a dense model, not a mixture-of-experts model. Its architecture uses RoPE positional encoding, SwiGLU activations, RMSNorm, grouped-query attention, and attention QKV bias. The model card identifies 64 layers, a hidden size of 5,120, an intermediate size of 27,648, and the Qwen2ForCausalLM architecture.[1][3]
The Qwen Team describes training as pretraining followed by supervised fine-tuning and reinforcement learning. The release post outlines an initial reinforcement-learning stage for mathematics and coding, using an accuracy verifier for mathematical answers and a code-execution server for generated programs. A later stage used a general reward model and rule-based verifiers to improve broader capabilities such as instruction following, preference alignment, and agent-related tasks.[2] This supports describing QwQ-32B as reinforcement-learning-trained; it does not justify claiming that every answer is verified.
QwQ-32B versus QwQ-32B-Preview
| Detail | QwQ-32B | QwQ-32B-Preview |
|---|---|---|
| Checkpoint | Qwen/QwQ-32B | Qwen/QwQ-32B-Preview |
| Release | March 2025 | November 2024 |
| Status | Final QwQ-32B release | Earlier experimental research checkpoint |
| Listed context | 131,072-token full sequence with documented long-context configuration | 32,768 tokens |
| License | Apache 2.0 | Apache 2.0 |
How QwQ-32B reasoning output works
The official chat template starts an assistant generation with a <think> section. A response may contain generated reasoning followed by a final-answer segment after </think>.[4] Applications can separate those portions for display or storage, but should not treat the reasoning trace as guaranteed evidence, a formal proof, or a faithful explanation of every internal computation. Both the trace and the final answer can be incomplete or wrong.
For multi-turn conversations, the official guidance recommends retaining only the final answer from a previous assistant message, not its earlier reasoning text. The shipped chat template implements this behavior when formatting message history. This is request-level history management; it is not persistent memory.
Recommended generation settings
temperature=0.6top_p=0.95top_k=20to40; the shipped generation configuration uses 40min_p=0- Avoid greedy decoding, which the official guidance warns may cause endless repetition
A presence penalty in the documented 0–2 range can sometimes reduce repeated phrases, but larger values may cause language mixing and slightly lower performance. Test settings on the exact task and serving stack rather than assuming one preset is optimal everywhere.[5][12]
Context length: 131,072 tokens and YaRN
The official model card lists a maximum full sequence length of 131,072 tokens. That number needs an operational qualification: Qwen instructs deployers to enable YaRN for prompts longer than 8,192 tokens. Its example uses a scaling factor of 4 and an original_max_position_embeddings value of 32,768. The current packaged config.json separately reports max_position_embeddings as 40,960.[1][3]
Practical interpretation: describe 131,072 tokens as the model card’s maximum full sequence with the documented YaRN configuration—not as an automatic “native 128K input” promise for every deployment. Usable input also depends on the output allowance, KV-cache memory, batch size, concurrency, inference backend, and provider limits. Static YaRN can reduce performance on shorter text, so Qwen recommends enabling it only when long context is needed.
Tools and agent workflows
QwQ-32B can participate in tool-calling workflows. Its tokenizer template accepts tool definitions and can format a requested call using structured text markers.[4] The checkpoint itself does not browse the web, execute code, query a database, control a device, or receive private-system permissions.
- The application supplies an allow-listed tool definition.
- The model proposes a tool call as generated text.
- The application validates arguments, permissions, and risk.
- External software executes the approved action.
- The application returns the observation to the model for the next response.
Tool access should therefore be described as an integration capability, not autonomous access or guaranteed execution accuracy. Sensitive actions need authentication, least-privilege permissions, validation, and human approval where appropriate.
How to read QwQ-32B benchmark claims
At launch, Qwen reported results for QwQ-32B across selected mathematics, coding, general-problem-solving, instruction-following, and agent benchmarks, comparing it with systems including DeepSeek-R1 and o1-mini.[2] Those March 2025 figures are vendor-reported, test-specific snapshots. They are useful for understanding the release claim, but they do not establish universal superiority, production reliability, or present-day leadership.
| Benchmark | QwQ-32B score reported by Qwen |
|---|---|
| AIME 2024 | 79.5 |
| LiveCodeBench, August 2024–February 2025 | 63.4 |
| LiveBench | 73.1 |
| IFEval | 83.9 |
| BFCL | 66.4 |
For a deployment decision, test the exact prompt distribution, languages, latency budget, answer format, tool definitions, and safety requirements. A reasoning model can score well on a benchmark while still hallucinating facts, mishandling ambiguous instructions, or producing unnecessarily long outputs.
Official checkpoints and licenses
| Repository | Format | Use case |
|---|---|---|
Qwen/QwQ-32B | Base checkpoint | Transformers and supported inference servers |
Qwen/QwQ-32B-AWQ | Official 4-bit AWQ quantization | Lower-memory GPU inference with an AWQ-compatible backend |
Qwen/QwQ-32B-GGUF | Official GGUF files in several quantizations | Compatible llama.cpp and Ollama workflows |
The official repositories use the Apache License 2.0.[6] The license generally permits use, modification, and distribution, including commercial use, subject to its conditions. Retain required copyright, license, attribution, and notice information, mark modified files where required, and review the license for the specific distribution. A model license does not remove obligations under privacy, consumer-protection, sector-specific, export, or other applicable laws.
Run QwQ-32B locally with Transformers
The model card recommends a recent Transformers release and warns that versions earlier than 4.37 can fail with KeyError: 'qwen2'. Install the dependencies in an isolated environment:
python -m pip install -U "transformers>=4.37.0" accelerate
This example loads the exact checkpoint, applies its official chat template, generates with the documented sampling values, and extracts the final-answer portion:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "Qwen/QwQ-32B"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype="auto",
device_map="auto",
)
messages = [
{
"role": "user",
"content": "Solve x^2 - 5x + 6 = 0 and verify both roots.",
}
]
prompt = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
)
model_inputs = tokenizer([prompt], return_tensors="pt").to(model.device)
generated_ids = model.generate(
**model_inputs,
max_new_tokens=4096,
do_sample=True,
temperature=0.6,
top_p=0.95,
top_k=40,
)
new_tokens = generated_ids[:, model_inputs.input_ids.shape[1]:]
raw_response = tokenizer.batch_decode(
new_tokens,
skip_special_tokens=True,
)[0]
reasoning, separator, final_answer = raw_response.partition("</think>")
if not separator:
raise RuntimeError("Generation ended before the final-answer delimiter.")
print(final_answer.strip())
max_new_tokens=4096 is an application choice in this example, not a universal model limit. Set an appropriate bound for the task, and handle truncated generations instead of assuming that the closing delimiter will always arrive.
Serving and hardware considerations
Qwen also documents vLLM and SGLang serving paths, while the official AWQ and GGUF repositories offer lower-bit alternatives. A basic vLLM launch uses:
vllm serve "Qwen/QwQ-32B"
There is no single honest RAM or VRAM number for every setup. Requirements change with weight precision, quantization, context length, KV-cache allocation, batch size, concurrency, backend, and CPU/GPU offloading. Quantized file size is not total runtime memory, and a machine that loads the model may still lack enough memory for long context or concurrent requests. Measure the target configuration before making capacity or latency promises.
Hosted availability and newer Qwen models
The open Qwen/QwQ-32B weights remain available for download. Hosted product identifiers are a separate matter: the March 2025 release post used qwq-32b in a historical DashScope example, but Alibaba Cloud’s catalog checked on July 26, 2026 marks that hosted identifier offline. The catalog lists the different qwq-plus service under Legacy Qwen, while Alibaba Cloud’s decommission notice schedules qwq-plus for October 10, 2026.[10][13]
Do not assume that qwq-plus is byte-identical to the open checkpoint. Confirm the model ID, region, endpoint, feature support, pricing, and lifecycle in the provider’s documentation at implementation time. See our Qwen API guide for API-oriented setup rather than copying the 2025 launch snippet into a new integration.
QwQ-32B is also not the latest Qwen reasoning generation. Qwen3 followed in April 2025 and introduced later reasoning models and hybrid thinking behavior.[11] Read the Qwen3 thinking models guide when choosing a newer model, or browse the Qwen model directory. For QwQ-32B’s foundation family, see Qwen2.5.
Limitations and responsible use
- Reasoning can fail: a longer trace may still contain false assumptions, arithmetic errors, circular steps, or fabricated facts.
- Outputs can be verbose: reasoning tokens increase latency and compute cost and may be unnecessary for simple requests.
- Decoding matters: greedy decoding can repeat indefinitely; aggressive presence penalties may mix languages or reduce quality.
- Long context is conditional: YaRN and sufficient runtime memory are required for the documented extended range, and static scaling can affect short-input performance.
- Tools need controls: external software—not the base model—executes actions. Validate arguments and permissions before execution.
- No persistent identity: apparent empathy, personality, or recollection comes from generated language and supplied context, not a documented emotional state or built-in long-term memory.
- High-stakes answers require review: qualified humans should verify medical, legal, financial, safety-critical, or consequential decisions.
Official sources
- QwQ-32B official model card
- Qwen’s QwQ-32B release post
- Official model configuration
- Official tokenizer and chat template
- Official generation configuration
- Apache 2.0 license file for QwQ-32B
- QwQ-32B-Preview official model card
- Official QwQ-32B-AWQ checkpoint
- Official QwQ-32B-GGUF checkpoint
- Alibaba Cloud Model Studio text-model catalog
- Official Qwen3 release post
- Official QwQ repository
- Alibaba Cloud Model Studio decommission notices
Facts on this page were last cross-checked against the official sources above on July 26, 2026.
Frequently asked questions
What is QwQ-32B?
QwQ-32B is Qwen’s open-weight, text-only reasoning model released in March 2025. The official Qwen/QwQ-32B checkpoint contains 32.5 billion parameters and is based on Qwen2.5-32B.
Is QwQ-32B the same as QwQ-32B-Preview?
No. QwQ-32B-Preview is an earlier experimental checkpoint released in November 2024. QwQ-32B is the separate March 2025 release, with different documented context and post-training information.
Is QwQ-32B an emotional companion model?
No official QwQ-32B source describes it as an emotional companion or character model. It can generate emotionally styled language, but that does not establish feelings, consciousness, or an emotional state.
Does QwQ-32B have persistent memory or a built-in persona?
No persistent memory store or permanent persona is documented for the checkpoint. A host application may save conversation history, retrieve user information, or supply persona instructions, but those are external application features.
What are QwQ-32B’s inputs and outputs?
QwQ-32B accepts text and generates text, including code represented as text. It does not natively process images, audio, or video, and it does not generate images, speech, or video.
What is the QwQ-32B context length?
The model card lists a maximum full sequence length of 131,072 tokens. Qwen instructs deployers to enable YaRN for prompts above 8,192 tokens. Actual usable context also depends on serving configuration, output allowance, KV-cache memory, and provider limits.
Can QwQ-32B be used commercially?
The official checkpoint uses the Apache License 2.0, which generally permits commercial use, modification, and distribution subject to its conditions. Review and comply with the license and all laws that apply to the intended product and jurisdiction.
Can QwQ-32B run locally?
Yes, if the system has sufficient compute and memory. Official routes include Transformers, vLLM, SGLang, the 4-bit AWQ checkpoint, and GGUF files. Requirements vary substantially with quantization, context, KV cache, batch size, concurrency, and backend.
Which official quantized QwQ-32B checkpoints are available?
Qwen publishes Qwen/QwQ-32B-AWQ as an official 4-bit AWQ checkpoint and Qwen/QwQ-32B-GGUF with several GGUF quantizations. Use the repository name and format that match the chosen inference backend.
Is the qwq-32b API model ID still current?
No. Alibaba Cloud’s catalog checked on July 26, 2026 marks the historical qwq-32b hosted identifier offline. It lists the different qwq-plus service under Legacy Qwen, with decommission scheduled for October 10, 2026. Confirm current provider documentation before deployment.
Can QwQ-32B thinking be turned off?
The official QwQ-32B documentation presents it as a reasoning-focused checkpoint and does not document a Qwen3-style thinking on/off switch. Applications can control output length and display, but should not claim an official non-thinking mode for this checkpoint.

