SAVRN
Search Contact SAVRN

Open-weight model · Text generation

Qwen3-235B-A22B-Thinking-2507

by Zachary Howard servantofares/Qwen3-235B-A22B-Thinking-2507

Qwen3-235B-A22B-Thinking-2507 is an open-weight model for text generation from Zachary Howard, released under Apache License 2.0. It has 235.1B parameters and a 262,144-token context. At 16-bit it needs about 564.2 GB of GPU memory, which fits on 2x MI355X from $5.18 an hour; at 4-bit, 141.1 GB on 1x MI300X from $1.85, at the lowest prices in the SAVRN Index.

Over the past three months, we have continued to scale the thinking capability of Qwen3-235B-A22B, improving both the quality and depth of reasoning.

Parameters235.1B
Context262,144
Weights470.2 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads—

Runs On

What it takes to serve Qwen3-235B-A22B-Thinking-2507 (235.1B parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 470.2 GB 564.2 GB 2x MI355X (288 GB)
Vultr
$5.18 3x MI300X $5.55 · 3x MI325X $6.00
8-bit 235.1 GB 282.1 GB 1x MI355X (288 GB)
Vultr
$2.59 2x MI300X $3.70 · 2x MI325X $4.00
4-bit 117.5 GB 141.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x MI325X $2.00 · 1x MI355X $2.59

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Oct 7, 2026.

Qwen3-235B-A22B-Thinking-2507 on every accelerator the SAVRN Index prices, at every precision

Model Card

By Zachary Howard, published under apache-2.0, revision 4d8b3f252bb2.

Over the past three months, we have continued to scale the thinking capability of Qwen3-235B-A22B, improving both the quality and depth of reasoning. We are pleased to introduce Qwen3-235B-A22B-Thinking-2507, featuring the following key enhancements: - Significantly improved performance on reasoning tasks, including logical reasoning, mathematics, science, coding, and academic benchmarks that typically require human expertise — achieving state-of-the-art results among open-source thinking models. - Markedly better general capabilities, such as instruction following, tool usage, text generation, and alignment with human preferences. - Enhanced 256K long-context understanding capabilities.…

Read Zachary Howard's full model card

Highlights

Over the past three months, we have continued to scale the thinking capability of Qwen3-235B-A22B, improving both the quality and depth of reasoning. We are pleased to introduce Qwen3-235B-A22B-Thinking-2507, featuring the following key enhancements: - Significantly improved performance on reasoning tasks, including logical reasoning, mathematics, science, coding, and academic benchmarks that typically require human expertise — achieving state-of-the-art results among open-source thinking models. - Markedly better general capabilities, such as instruction following, tool usage, text generation, and alignment with human preferences. - Enhanced 256K long-context understanding capabilities.

NOTE: This version has an increased thinking length. We strongly recommend its use in highly complex reasoning tasks.

Model Overview

Qwen3-235B-A22B-Thinking-2507 has the following features: - Type: Causal Language Models - Training Stage: Pretraining & Post-training - Number of Parameters: 235B in total and 22B activated - Number of Paramaters (Non-Embedding): 234B - Number of Layers: 94 - Number of Attention Heads (GQA): 64 for Q and 4 for KV - Number of Experts: 128 - Number of Activated Experts: 8 - Context Length: 262,144 natively.

NOTE: This model supports only thinking mode.

Additionally, to enforce model thinking, the default chat template automatically includes <think>. Therefore, it is normal for the model's output to contain only </think> without an explicit opening <think> tag.

For more details, including benchmark evaluation, hardware requirements, and inference performance, please refer to our blog, GitHub, and Documentation.

Performance

Deepseek-R1-0528 OpenAI O4-mini OpenAI O3 Gemini-2.5 Pro Claude4 Opus Thinking Qwen3-235B-A22B Thinking Qwen3-235B-A22B-Thinking-2507
Knowledge
MMLU-Pro 85.0 81.9 85.9 85.6 - 82.8 84.4
MMLU-Redux 93.4 92.8 94.9 94.4 94.6 92.7 93.8
GPQA 81.0 81.4* 83.3* 86.4 79.6 71.1 81.1
SuperGPQA 61.7 56.4 - 62.3 - 60.7 64.9
Reasoning
AIME25 87.5 92.7* 88.9* 88.0 75.5 81.5 92.3
HMMT25 79.4 66.7 77.5 82.5 58.3 62.5 83.9
LiveBench 20241125 74.7 75.8 78.3 82.4 78.2 77.1 78.4
HLE 17.7# 18.1* 20.3 21.6 10.7 11.8# 18.2#
Coding
LiveCodeBench v6 (25.02-25.05) 68.7 71.8 58.6 72.5 48.9 55.7 74.1
CFEval 2099 1929 2043 2001 - 2056 2134
OJBench 33.6 33.3 25.4 38.9 - 25.6 32.5
Alignment
IFEval 79.1 92.4 92.1 90.8 89.7 83.4 87.8
Arena-Hard v2$ 72.2 59.3 80.8 72.5 59.1 61.5 79.7
Creative Writing v3 86.3 78.8 87.7 85.9 83.8 84.6 86.1
WritingBench 83.2 78.4 85.3 83.1 79.1 80.3 88.3
Agent
BFCL-v3 63.8 67.2 72.4 67.2 61.8 70.8 71.9
TAU1-Retail 63.9 71.8 73.9 74.8 - 54.8 67.8
TAU1-Airline 53.5 49.2 52.0 52.0 - 26.0 46.0
TAU2-Retail 64.9 71.0 76.3 71.3 - 40.4 71.9
TAU2-Airline 60.0 59.0 70.0 60.0 - 30.0 58.0
TAU2-Telecom 33.3 42.0 60.5 37.4 - 21.9 45.6
Multilingualism
MultiIF 63.5 78.0 80.3 77.8 - 71.9 80.6
MMLU-ProX 80.6 79.0 83.3 84.7 - 80.0 81.0
INCLUDE 79.4 80.8 86.6 85.1 - 78.7 81.0
PolyMATH 46.9 48.7 49.7 52.2 - 54.7 60.1

* For OpenAI O4-mini and O3, we use a medium reasoning effort, except for scores marked with *, which are generated using high reasoning effort.

# According to the official evaluation criteria of HLE, scores marked with # refer to models that are not multi-modal and were evaluated only on the text-only subset.

$ For reproducibility, we report the win rates evaluated by GPT-4.1.

\& For highly challenging tasks (including PolyMATH and all reasoning and coding tasks), we use an output length of 81,920 tokens. For all other tasks, we set the output length to 32,768.

Quickstart

The code of Qwen3-MoE has been in the latest Hugging Face transformers and we advise you to use the latest version of transformers.

With transformers<4.51.0, you will encounter the following error:

KeyError: 'qwen3_moe'

The following contains a code snippet illustrating how to use the model generate content based on given inputs.

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "Qwen/Qwen3-235B-A22B-Thinking-2507"

# load the tokenizer and the model
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype="auto",
    device_map="auto"
)

# prepare the model input
prompt = "Give me a short introduction to large language model."
messages = [
    {"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)

# conduct text completion
generated_ids = model.generate(
    **model_inputs,
    max_new_tokens=32768
)
output_ids = generated_ids[0][len(model_inputs.input_ids[0]):].tolist() 

# parsing thinking content
try:
    # rindex finding 151668 (</think>)
    index = len(output_ids) - output_ids[::-1].index(151668)
except ValueError:
    index = 0

thinking_content = tokenizer.decode(output_ids[:index], skip_special_tokens=True).strip("\n")
content = tokenizer.decode(output_ids[index:], skip_special_tokens=True).strip("\n")

print("thinking content:", thinking_content) # no opening <think> tag
print("content:", content)

For deployment, you can use sglang>=0.4.6.post1 or vllm>=0.8.5 or to create an OpenAI-compatible API endpoint: - SGLang: shell python -m sglang.launch_server --model-path Qwen/Qwen3-235B-A22B-Thinking-2507 --tp 8 --context-length 262144 --reasoning-parser deepseek-r1 - vLLM: shell vllm serve Qwen/Qwen3-235B-A22B-Thinking-2507 --tensor-parallel-size 8 --max-model-len 262144 --enable-reasoning --reasoning-parser deepseek_r1

Note: If you encounter out-of-memory (OOM) issues, you may consider reducing the context length to a smaller value. However, since the model may require longer token sequences for reasoning, we strongly recommend using a context length greater than 131,072 when possible.

For local use, applications such as Ollama, LMStudio, MLX-LM, llama.cpp, and KTransformers have also supported Qwen3.

Agentic Use

Qwen3 excels in tool calling capabilities. We recommend using Qwen-Agent to make the best use of agentic ability of Qwen3. Qwen-Agent encapsulates tool-calling templates and tool-calling parsers internally, greatly reducing coding complexity.

To define the available tools, you can use the MCP configuration file, use the integrated tool of Qwen-Agent, or integrate other tools by yourself.

from qwen_agent.agents import Assistant

# Define LLM
# Using Alibaba Cloud Model Studio
llm_cfg = {
    'model': 'qwen3-235b-a22b-thinking-2507',
    'model_type': 'qwen_dashscope',
}

# Using OpenAI-compatible API endpoint. It is recommended to disable the reasoning and the tool call parsing
# functionality of the deployment frameworks and let Qwen-Agent automate the related operations. For example, 
# `VLLM_USE_MODELSCOPE=true vllm serve Qwen/Qwen3-235B-A22B-Thinking-2507 --served-model-name Qwen3-235B-A22B-Thinking-2507 --tensor-parallel-size 8 --max-model-len 262144`.
#
# llm_cfg = {
#     'model': 'Qwen3-235B-A22B-Thinking-2507',
# 
#     # Use a custom endpoint compatible with OpenAI API:
#     'model_server': 'http://localhost:8000/v1',  # api_base without reasoning and tool call parsing
#     'api_key': 'EMPTY',
#     'generate_cfg': {
#         'thought_in_content': True,
#     },
# }

# Define Tools
tools = [
    {'mcpServers': {  # You can specify the MCP configuration file
            'time': {
                'command': 'uvx',
                'args': ['mcp-server-time', '--local-timezone=Asia/Shanghai']
            },
            "fetch": {
                "command": "uvx",
                "args": ["mcp-server-fetch"]
            }
        }
    },
  'code_interpreter',  # Built-in tools
]

# Define Agent
bot = Assistant(llm=llm_cfg, function_list=tools)

# Streaming generation
messages = [{'role': 'user', 'content': 'https://qwenlm.github.io/blog/ Introduce the latest developments of Qwen'}]
for responses in bot.run(messages=messages):
    pass
print(responses)

Processing Ultra-Long Texts

To support ultra-long context processing (up to 1 million tokens), we integrate two key techniques:

  • Dual Chunk Attention (DCA): A length extrapolation method that splits long sequences into manageable chunks while preserving global coherence.
  • MInference: A sparse attention mechanism that reduces computational overhead by focusing on critical token interactions.

Together, these innovations significantly improve both generation quality and inference efficiency for sequences beyond 256K tokens. On sequences approaching 1M tokens, the system achieves up to a 3× speedup compared to standard attention implementations.

For full technical details, see the Qwen2.5-1M Technical Report.

How to Enable 1M Token Context

[!NOTE] To effectively process a 1 million token context, users will require approximately 1000 GB of total GPU memory. This accounts for model weights, KV-cache storage, and peak activation memory demands.

Step 1: Update Configuration File

Download the model and replace the content of your config.json with config_1m.json, which includes the config for length extrapolation and sparse attention.

export MODELNAME=Qwen3-235B-A22B-Thinking-2507
huggingface-cli download Qwen/${MODELNAME} --local-dir ${MODELNAME}
mv ${MODELNAME}/config.json ${MODELNAME}/config.json.bak
mv ${MODELNAME}/config_1m.json ${MODELNAME}/config.json
Step 2: Launch Model Server

After updating the config, proceed with either vLLM or SGLang for serving the model.

Option 1: Using vLLM

To run Qwen with 1M context support:

pip install -U vllm \
    --torch-backend=auto \
    --extra-index-url https://wheels.vllm.ai/nightly

Then launch the server with Dual Chunk Flash Attention enabled:

VLLM_ATTENTION_BACKEND=DUAL_CHUNK_FLASH_ATTN VLLM_USE_V1=0 \
vllm serve ./Qwen3-235B-A22B-Thinking-2507 \
  --tensor-parallel-size 8 \
  --max-model-len 1010000 \
  --enable-chunked-prefill \
  --max-num-batched-tokens 131072 \
  --enforce-eager \
  --max-num-seqs 1 \
  --gpu-memory-utilization 0.85 \
  --enable-reasoning --reasoning-parser deepseek_r1
Key Parameters
Parameter Purpose
VLLM_ATTENTION_BACKEND=DUAL_CHUNK_FLASH_ATTN Enables the custom attention kernel for long-context efficiency
--max-model-len 1010000 Sets maximum context length to ~1M tokens
--enable-chunked-prefill Allows chunked prefill for very long inputs (avoids OOM)
--max-num-batched-tokens 131072 Controls batch size during prefill; balances throughput and memory
--enforce-eager Disables CUDA graph capture (required for dual chunk attention)
--max-num-seqs 1 Limits concurrent sequences due to extreme memory usage
--gpu-memory-utilization 0.85 Set the fraction of GPU memory to be used for the model executor
Option 2: Using SGLang

First, clone and install the specialized branch:

git clone https://github.com/sgl-project/sglang.git
cd sglang
pip install -e "python[all]"

Launch the server with DCA support:

python3 -m sglang.launch_server \
    --model-path ./Qwen3-235B-A22B-Thinking-2507 \
    --context-length 1010000 \
    --mem-frac 0.75 \
    --attention-backend dual_chunk_flash_attn \
    --tp 8 \
    --chunked-prefill-size 131072 \
    --reasoning-parser deepseek-r1
Key Parameters
Parameter Purpose
--attention-backend dual_chunk_flash_attn Activates Dual Chunk Flash Attention
--context-length 1010000 Defines max input length
--mem-frac 0.75 The fraction of the memory used for static allocation (model weights and KV cache memory pool). Use a smaller value if you see out-of-memory errors.
--tp 8 Tensor parallelism size (matches model sharding)
--chunked-prefill-size 131072 Prefill chunk size for handling long inputs without OOM
Troubleshooting:
  1. Encountering the error: "The model's max sequence length (xxxxx) is larger than the maximum number of tokens that can be stored in the KV cache." or "RuntimeError: Not enough memory. Please try to increase --mem-fraction-static."

    The VRAM reserved for the KV cache is insufficient. - vLLM: Consider reducing the max_model_len or increasing the tensor_parallel_size and gpu_memory_utilization. Alternatively, you can reduce max_num_batched_tokens, although this may significantly slow down inference. - SGLang: Consider reducing the context-length or increasing the tp and mem-frac. Alternatively, you can reduce chunked-prefill-size, although this may significantly slow down inference.

  2. Encountering the error: "torch.OutOfMemoryError: CUDA out of memory."

    The VRAM reserved for activation weights is insufficient. You can try lowering gpu_memory_utilization or mem-frac, but be aware that this might reduce the VRAM available for the KV cache.

  3. Encountering the error: "Input prompt (xxxxx tokens) + lookahead slots (0) is too long and exceeds the capacity of the block manager." or "The input (xxx xtokens) is longer than the model's context length (xxx tokens)."

    The input is too lengthy. Consider using a shorter sequence or increasing the max_model_len or context-length.

Long-Context Performance

We test the model on an 1M version of the RULER benchmark.

Model Name Acc avg 4k 8k 16k 32k 64k 96k 128k 192k 256k 384k 512k 640k 768k 896k 1000k
Qwen3-235B-A22B (Thinking) 82.9 97.3 95.9 95.3 88.7 91.7 91.5 87.9 85.4 78.4 75.6 73.7 73.6 70.6 69.9 67.6
Qwen3-235B-A22B-Thinking-2507 (Full Attention) 95.4 99.6 100.0 99.5 99.6 99.1 100.0 98.8 98.1 96.1 95.2 90.0 91.7 89.7 87.9 85.9
Qwen3-235B-A22B-Thinking-2507 (Sparse Attention) 95.5 100.0 100.0 100.0 100.0 98.6 99.5 98.8 98.1 95.4 93.0 90.7 91.9 91.7 87.8 86.6
  • All models are evaluated with Dual Chunk Attention enabled.
  • Since the evaluation is time-consuming, we use 260 samples for each length (13 sub-tasks, 20 samples for each).
  • To avoid overly verbose reasoning, we set the thinking budget to 8,192 tokens.

Best Practices

To achieve optimal performance, we recommend the following settings:

  1. Sampling Parameters: - We suggest using Temperature=0.6, TopP=0.95, TopK=20, and MinP=0. - For supported frameworks, you can adjust the presence_penalty parameter between 0 and 2 to reduce endless repetitions. However, using a higher value may occasionally result in language mixing and a slight decrease in model performance.

  2. Adequate Output Length: We recommend using an output length of 32,768 tokens for most queries. For benchmarking on highly complex problems, such as those found in math and programming competitions, we suggest setting the max output length to 81,920 tokens. This provides the model with sufficient space to generate detailed and comprehensive responses, thereby enhancing its overall performance.

  3. Standardize Output Format: We recommend using prompts to standardize model outputs when benchmarking. - Math Problems: Include "Please reason step by step, and put your final answer within \boxed{}." in the prompt. - Multiple-Choice Questions: Add the following JSON structure to the prompt to standardize responses: "Please show your choice in the answer field with only the choice letter, e.g., "answer": "C"."

  4. No Thinking Content in History: In multi-turn conversations, the historical model output should only include the final output part and does not need to include the thinking content. It is implemented in the provided chat template in Jinja2. However, for frameworks that do not directly use the Jinja2 chat template, it is up to the developers to ensure that the best practice is followed.

Citation

If you find our work helpful, feel free to give us a cite.

@misc{qwen3technicalreport,
      title={Qwen3 Technical Report}, 
      author={Qwen Team},
      year={2025},
      eprint={2505.09388},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2505.09388}, 
}

Configuration

Architecture
Qwen3MoeForCausalLM
Context length (tokens)
262,144
Layers
94
Hidden size
4,096
Feed-forward size
12,288
Attention heads
64
Key/value heads
4
Head dimension
128
Vocabulary size
151,936
Experts
128
Experts active per token
8
RoPE base
5,000,000
Stored precision
bfloat16
Model type
qwen3_moe

Identity and Version

Repository
servantofares/Qwen3-235B-A22B-Thinking-2507
Publisher
Zachary Howard
Task
Text generation
Modality
Text
Library
transformers
Parameters
235.1B parameters
Languages
Not stated by the source
Revision
4d8b3f252bb23b8ae3d7e76aed437734e31b5a6d
First published
2026-10-03
Last updated
2026-10-03

Files and Weights

129 files, 470.2 GB in total. The weights are 118 files totalling 470.2 GB in safetensors.

Weights118 files · 470.2 GB
Configuration4 files · 3.7 MB
Tokenizer4 files · 11.5 MB
Documentation2 files · 29.6 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
model-00001-of-00118.safetensorsWeights4.0 GB c6ee892b9698
model-00002-of-00118.safetensorsWeights4.0 GB 50f3690d9ca2
model-00003-of-00118.safetensorsWeights4.0 GB a7abec76f18b
model-00004-of-00118.safetensorsWeights4.0 GB 0907c3204f7a
model-00005-of-00118.safetensorsWeights4.0 GB 5c40ca3e0450
model-00006-of-00118.safetensorsWeights4.0 GB 0792ddfc132f
model-00007-of-00118.safetensorsWeights4.0 GB 5e3af0e36505
model-00008-of-00118.safetensorsWeights4.0 GB 18bce9478549
model-00009-of-00118.safetensorsWeights4.0 GB 876a530bb2f1
model-00010-of-00118.safetensorsWeights4.0 GB 4db039290306
model-00011-of-00118.safetensorsWeights4.0 GB 03028ca3c973
model-00012-of-00118.safetensorsWeights4.0 GB d8e514e48ae0
model-00013-of-00118.safetensorsWeights4.0 GB 7a57ba3900a6
model-00014-of-00118.safetensorsWeights4.0 GB c342f94a08e9
model-00015-of-00118.safetensorsWeights4.0 GB 7b00942677bf
model-00016-of-00118.safetensorsWeights4.0 GB 5b5a535d7ac5
model-00017-of-00118.safetensorsWeights4.0 GB 135c454ab660
model-00018-of-00118.safetensorsWeights4.0 GB b5323a2c977d
model-00019-of-00118.safetensorsWeights4.0 GB 58b9be7051da
model-00020-of-00118.safetensorsWeights4.0 GB b503c8a0d916
model-00021-of-00118.safetensorsWeights4.0 GB 4a0b41f3f89a
model-00022-of-00118.safetensorsWeights4.0 GB c952bbbd0300
model-00023-of-00118.safetensorsWeights4.0 GB 315abaf08128
model-00024-of-00118.safetensorsWeights3.9 GB 05666d803688
model-00025-of-00118.safetensorsWeights4.0 GB 9d6fecef7d06
model-00026-of-00118.safetensorsWeights4.0 GB dcc0c8b1b5b7
model-00027-of-00118.safetensorsWeights4.0 GB fba38162368a
model-00028-of-00118.safetensorsWeights4.0 GB c6d86f488816
model-00029-of-00118.safetensorsWeights4.0 GB 607ed19a00bb
model-00030-of-00118.safetensorsWeights4.0 GB a5aaea852a80
model-00031-of-00118.safetensorsWeights4.0 GB 8d6b5cd3ab1e
model-00032-of-00118.safetensorsWeights4.0 GB c5a66bcb5cc8
model-00033-of-00118.safetensorsWeights4.0 GB 21db193b373d
model-00034-of-00118.safetensorsWeights4.0 GB 8e06bde20e52
model-00035-of-00118.safetensorsWeights4.0 GB 0c0715d00097
model-00036-of-00118.safetensorsWeights4.0 GB b4157226ad6f
model-00037-of-00118.safetensorsWeights4.0 GB a89bdb910881
model-00038-of-00118.safetensorsWeights4.0 GB 557c3c9f000a
model-00039-of-00118.safetensorsWeights4.0 GB 10d8c34441a5
model-00040-of-00118.safetensorsWeights4.0 GB 44cb269ce442
model-00041-of-00118.safetensorsWeights4.0 GB 87c5e1830ece
model-00042-of-00118.safetensorsWeights4.0 GB df37f6a28d20
model-00043-of-00118.safetensorsWeights4.0 GB 665987ad9c57
model-00044-of-00118.safetensorsWeights4.0 GB a9b5fe4a1265
model-00045-of-00118.safetensorsWeights4.0 GB 2b4843915f91
model-00046-of-00118.safetensorsWeights4.0 GB 862d5bbeb3ed
model-00047-of-00118.safetensorsWeights4.0 GB 24ba014679b0
model-00048-of-00118.safetensorsWeights4.0 GB 7bd9ff730343
model-00049-of-00118.safetensorsWeights4.0 GB e270d253f766
model-00050-of-00118.safetensorsWeights4.0 GB ac2158364d2d
model-00051-of-00118.safetensorsWeights4.0 GB e419b694eba3
model-00052-of-00118.safetensorsWeights4.0 GB 294b250a7896
model-00053-of-00118.safetensorsWeights4.0 GB 17a413602f9c
model-00054-of-00118.safetensorsWeights4.0 GB 3c9e4ebfc2e9
model-00055-of-00118.safetensorsWeights4.0 GB ede464e5e3d4
model-00056-of-00118.safetensorsWeights4.0 GB 6a72daf48a9e
model-00057-of-00118.safetensorsWeights4.0 GB 3d4a2fda2f12
model-00058-of-00118.safetensorsWeights4.0 GB d2ed0d11e3f2
model-00059-of-00118.safetensorsWeights4.0 GB f2c7ea9b6e81
model-00060-of-00118.safetensorsWeights4.0 GB a001e14c5fe5
model-00061-of-00118.safetensorsWeights4.0 GB 61b9e8046535
model-00062-of-00118.safetensorsWeights4.0 GB 4e677fa8ccfa
model-00063-of-00118.safetensorsWeights4.0 GB 47e329a074e4
model-00064-of-00118.safetensorsWeights4.0 GB 0e0115ebcbdc
model-00065-of-00118.safetensorsWeights4.0 GB e8fb58be66b2
model-00066-of-00118.safetensorsWeights4.0 GB 67552258cf30
model-00067-of-00118.safetensorsWeights4.0 GB 5af9d4e06d42
model-00068-of-00118.safetensorsWeights4.0 GB 600bb1aa0bc8
model-00069-of-00118.safetensorsWeights4.0 GB 8f1b7d90d0b4
model-00070-of-00118.safetensorsWeights4.0 GB 6a00088ee828
model-00071-of-00118.safetensorsWeights4.0 GB 2d937b284e5f
model-00072-of-00118.safetensorsWeights4.0 GB 3b82e54cffee
model-00073-of-00118.safetensorsWeights4.0 GB f81442ddb8f8
model-00074-of-00118.safetensorsWeights4.0 GB 4494d7f764a3
model-00075-of-00118.safetensorsWeights4.0 GB 064e39103260
model-00076-of-00118.safetensorsWeights4.0 GB 6db3a0953a6c
model-00077-of-00118.safetensorsWeights4.0 GB 5731671c0ff1
model-00078-of-00118.safetensorsWeights4.0 GB a011dee88e1e
model-00079-of-00118.safetensorsWeights4.0 GB bf30913ddfcb
model-00080-of-00118.safetensorsWeights4.0 GB 7568e3b82396
model-00081-of-00118.safetensorsWeights4.0 GB 41944b9e79c9
model-00082-of-00118.safetensorsWeights4.0 GB f23239ebeeac
model-00083-of-00118.safetensorsWeights4.0 GB 5ede548f4057
model-00084-of-00118.safetensorsWeights4.0 GB e188bdd2fbd3
model-00085-of-00118.safetensorsWeights4.0 GB 992110020f91
model-00086-of-00118.safetensorsWeights4.0 GB b13aac3cbffa
model-00087-of-00118.safetensorsWeights4.0 GB 696bb039fa5f
model-00088-of-00118.safetensorsWeights4.0 GB e195228bbf01
model-00089-of-00118.safetensorsWeights4.0 GB 6594c26eb64b
model-00090-of-00118.safetensorsWeights4.0 GB 091c836bf6ef
model-00091-of-00118.safetensorsWeights4.0 GB b2f0b6f7edd4
model-00092-of-00118.safetensorsWeights4.0 GB fc36425c2568
model-00093-of-00118.safetensorsWeights4.0 GB caf3b65bfd63
model-00094-of-00118.safetensorsWeights4.0 GB c6f69fb70923
model-00095-of-00118.safetensorsWeights4.0 GB 6e14aff9a0e4
model-00096-of-00118.safetensorsWeights4.0 GB ae4eb0dd0015
model-00097-of-00118.safetensorsWeights4.0 GB 9763804cd594
model-00098-of-00118.safetensorsWeights4.0 GB ac07288eb9b5
model-00099-of-00118.safetensorsWeights4.0 GB 25cf83150562
model-00100-of-00118.safetensorsWeights4.0 GB b498cbb84c12
model-00101-of-00118.safetensorsWeights4.0 GB cb961d73bf7b
model-00102-of-00118.safetensorsWeights4.0 GB de7b88ee376d
model-00103-of-00118.safetensorsWeights4.0 GB edffec21f818
model-00104-of-00118.safetensorsWeights4.0 GB 9b31e6b1d5a1
model-00105-of-00118.safetensorsWeights4.0 GB 9b7a46a81b96
model-00106-of-00118.safetensorsWeights4.0 GB 343dfb8da087
model-00107-of-00118.safetensorsWeights4.0 GB 6df2cd69be96
model-00108-of-00118.safetensorsWeights4.0 GB 2ede9bc09c7b
model-00109-of-00118.safetensorsWeights4.0 GB db1c1d072a8a
model-00110-of-00118.safetensorsWeights4.0 GB bfccfd2e2e47
model-00111-of-00118.safetensorsWeights4.0 GB 1e23cf3cbccf
model-00112-of-00118.safetensorsWeights4.0 GB adcb24ad2669
model-00113-of-00118.safetensorsWeights4.0 GB b67cdfbaa130
model-00114-of-00118.safetensorsWeights4.0 GB 171ea891547f
model-00115-of-00118.safetensorsWeights4.0 GB d642c6ce2fcd
model-00116-of-00118.safetensorsWeights4.0 GB 73a61ef2523f
model-00117-of-00118.safetensorsWeights4.0 GB b5777f15713c
model-00118-of-00118.safetensorsWeights3.1 GB ec0f35b60581
config.jsonConfiguration964 B —
config_1m.jsonConfiguration384.7 KB —
generation_config.jsonConfiguration239 B —
model.safetensors.index.jsonConfiguration3.3 MB —
LICENSEDocumentation11.3 KB —
README.mdDocumentation18.3 KB —
.gitattributesRepository1.5 KB —
merges.txtTokenizer1.7 MB —
tokenizer.jsonTokenizer7.0 MB —
tokenizer_config.jsonTokenizer10.8 KB —
vocab.jsonTokenizer2.8 MB —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
470.2 GB
Download from Zachary Howard

Released by Zachary Howard through its official repository on Hugging Face. Read the license.

Built From

  • Described by arXiv:2402.17463
  • Described by arXiv:2404.06654
  • Described by arXiv:2407.02490
  • Described by arXiv:2501.15383
  • Described by arXiv:2505.09388

Memory Requirements

PrecisionWeights in memory
As published470.2 GB
16-bit470.2 GB
8-bit235.1 GB
4-bit117.5 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About Qwen3-235B-A22B-Thinking-2507

How much GPU memory does Qwen3-235B-A22B-Thinking-2507 need?

About 564.2 GB at 16-bit and 141.1 GB at 4-bit: the weights (235.1B parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run Qwen3-235B-A22B-Thinking-2507 on?

At 16-bit, 2x MI355X from $5.18 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use Qwen3-235B-A22B-Thinking-2507 commercially?

Yes. Qwen3-235B-A22B-Thinking-2507 is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

What is Qwen3-235B-A22B-Thinking-2507's context length?

262,144 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Text generation

MiniMax-M2.7

MiniMax

Join Our WeChat Discord community. MiniMax Agent API CLI MiniMax Website Hugging Face GitHub ModelScope LICENSE MiniMax-M2.7 is our first model deeply participating in its own evolution. M2.7 is capable of building complex agent harnesses and completing highly elaborate productivity tasks, leveraging Agent Teams, complex Skills, and dynamic tool search. For more details, see our blog post. M2.7 initiates a cycle of model self-evolution: during development, we let the model update its own memory, build dozens of complex skills for RL experiments, and improve its own learning process based on experiment results. An internal version of M2.7 autonomously optimized a programming scaffold over…

Open weights other 228.7B parameters 204,800 tokens transformers

Model · Text generation

Hy3-Razor-226B-A18B-E144of192

Mingyang Song

Hy3 with a quarter of its routed experts removed by RAZOR, a training-free expert pruning method. Every MoE layer keeps 144 of its original 192 routed experts. No gradient updates or recovery training were applied: the retained weights are the base model's own weights. Pruning touches only the routed expert pool. Attention, shared experts, the embedding and the LM head are untouched, so the compute per token drops only by the share of expert FLOPs that the removed experts would have contributed. The other budget is Requires a Transformers build containing the native hyv3 implementation. Weights are bfloat16. RAZOR asks whether the surviving computation can replace an expert's function…

Open weights apache-2.0 226.3B parameters 262,144 tokens transformers

DeepSeek-V4.1-Flash, ready to serve on two RTX PRO 6000 Blackwell cards (sm120, 96 GB each) with vLLM at tensor-parallel 2. The routed experts are - int4 Engram tables; - a 3-bit DSpark drafter; - a serving stack that keeps 30% of the routed experts (the ones agentic coding uses least) in pinned host RAM and runs them next to the VRAM experts; - a decode-once prefill kernel for the 3-bit experts. The recipe/ folder has the image build, the sm120 patches, the MoE kernel, and the serving, benchmark, KL and quantization scripts. We measured KL against the original model with uses the original model's top-512 logprobs on three corpora, 49,152 scored positions each. The neutral corpus is…

Open weights mit 219B parameters 1,048,576 tokens

Model · Text generation

DeepSeek-V4-Flash

DeepSeek

We present a preview version of DeepSeek-V4 series, including two strong Mixture-of-Experts (MoE) language models — DeepSeek-V4-Pro with 1.6T parameters (49B activated) and DeepSeek-V4-Flash with 284B parameters (13B activated) — both supporting a context length of one million tokens. DeepSeek-V4 series incorporate several key upgrades in architecture and optimization: 1. Hybrid Attention Architecture: We design a hybrid attention mechanism combining Compressed Sparse Attention (CSA) and Heavily Compressed Attention (HCA) to dramatically improve long-context efficiency. In the 1M-token context setting, DeepSeek-V4-Pro requires only 27% of single-token inference FLOPs and 10% of KV cache…

Open weights mit 290.9B parameters 1,048,576 tokens transformers

Model · Text generation

DeepSeek-V4-Flash-0731

DeepSeek

DeepSeek-V4-Flash-0731 is the official release of DeepSeek-V4-Flash, superseding the preview version, with substantially enhanced agentic capabilities. It has the same model structure as DeepSeek-V4-Flash-DSpark, i.e. it comes with a speculative decoding module attached. DeepSeek-V4-Flash-0731 outperforms DeepSeek-V4-Pro (Preview) on benchmarks listed below despite its far smaller activated parameter count, and is broadly competitive with the strongest proprietary models available. 1. For the Code Agent tasks among the public benchmarks above, DeepSeek-V4-Flash-0731 is evaluated with the minimal mode of DeepSeek Harness (to be released) as the agent framework, using the max reasoning effort…

Open weights mit 304.2B parameters 1,048,576 tokens transformers

Model · Text generation

DeepSeek-V4-Flash-DSpark

DeepSeek

Note: DeepSeek-V4-Flash-DSpark is not a new model. It is the same checkpoint with an additional speculative decoding module attached. A minimal inference example is available in the inference folder. For more details, refer to: https://github.com/deepseek-ai/DeepSpec We present a preview version of DeepSeek-V4 series, including two strong Mixture-of-Experts (MoE) language models — DeepSeek-V4-Pro with 1.6T parameters (49B activated) and DeepSeek-V4-Flash with 284B parameters (13B activated) — both supporting a context length of one million tokens. DeepSeek-V4 series incorporate several key upgrades in architecture and optimization: 1. Hybrid Attention Architecture: We design a hybrid…

Open weights mit 165.3B parameters 1,048,576 tokens transformers