SAVRN
Search Contact SAVRN

Open-weight model · Text generation

Qwen3-Coder-480B-A35B-Instruct-FP8

by Qwen Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8

Today, we're announcing Qwen3-Coder, our most agentic code model to date. Qwen3-Coder is available in multiple sizes, but we're excited to introduce its most powerful variant first: Qwen3-Coder-480B-A35B-Instruct.

Parameters480.2B
Context262,144
Weights482.1 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads768.2k

Runs On

What it takes to serve Qwen3-Coder-480B-A35B-Instruct-FP8 (480.2B 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 960.4 GB 1152.4 GB 5x MI325X (256 GB)
Vultr
$10.00 5x MI355X $12.95 · 7x MI300X $12.95
8-bit 480.2 GB 576.2 GB 3x MI325X (256 GB)
Vultr
$6.00 4x MI300X $7.40 · 3x MI355X $7.77
4-bit 240.1 GB 288.1 GB 2x MI300X (192 GB)
Vultr
$3.70 2x MI325X $4.00 · 2x MI355X $5.18

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 Sep 18, 2026.

Model Card

By Qwen, published under apache-2.0, revision 003f183a92fb.

Today, we're announcing Qwen3-Coder, our most agentic code model to date. Qwen3-Coder is available in multiple sizes, but we're excited to introduce its most powerful variant first: Qwen3-Coder-480B-A35B-Instruct. featuring the following key enhancements: - Significant Performance among open models on Agentic Coding, Agentic Browser-Use, and other foundational coding tasks, achieving results comparable to Claude Sonnet. - Long-context Capabilities with native support for 256K tokens, extendable up to 1M tokens using Yarn, optimized for repository-scale understanding. - Agentic Coding supporting for most platform such as Qwen Code, CLINE, featuring a specially designed function call format.…

Read Qwen's full model card

Highlights

Today, we're announcing Qwen3-Coder, our most agentic code model to date. Qwen3-Coder is available in multiple sizes, but we're excited to introduce its most powerful variant first: Qwen3-Coder-480B-A35B-Instruct. featuring the following key enhancements:

  • Significant Performance among open models on Agentic Coding, Agentic Browser-Use, and other foundational coding tasks, achieving results comparable to Claude Sonnet.
  • Long-context Capabilities with native support for 256K tokens, extendable up to 1M tokens using Yarn, optimized for repository-scale understanding.
  • Agentic Coding supporting for most platform such as Qwen Code, CLINE, featuring a specially designed function call format.

Model Overview

Qwen3-480B-A35B-Instruct has the following features: - Type: Causal Language Models - Training Stage: Pretraining & Post-training - Number of Parameters: 480B in total and 35B activated - Number of Layers: 62 - Number of Attention Heads (GQA): 96 for Q and 8 for KV - Number of Experts: 160 - Number of Activated Experts: 8 - Context Length: 262,144 natively.

NOTE: This model supports only non-thinking mode and does not generate <think></think> blocks in its output. Meanwhile, specifying enable_thinking=False is no longer required.

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

Quickstart

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-480B-A35B-Instruct"

# 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 = "Write a quick sort algorithm."
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=65536
)
output_ids = generated_ids[0][len(model_inputs.input_ids[0]):].tolist() 

content = tokenizer.decode(output_ids, skip_special_tokens=True)

print("content:", content)

Note: If you encounter out-of-memory (OOM) issues, consider reducing the context length to a shorter value, such as 32,768.

Note on FP8

For convenience and performance, we have provided fp8-quantized model checkpoint for Qwen3, whose name ends with -FP8. The quantization method is fine-grained fp8 quantization with block size of 128. You can find more details in the quantization_config field in config.json.

You can use the Qwen3-480B-A35B-Instruct-FP8 model with serveral inference frameworks, including transformers, sglang, and vllm, as the original bfloat16 model. However, please pay attention to the following known issues: - transformers: - there are currently issues with the "fine-grained fp8" method in transformers for distributed inference. You may need to set the environment variable CUDA_LAUNCH_BLOCKING=1 if multiple devices are used in inference.

Agentic Coding

Qwen3-Coder excels in tool calling capabilities.

You can simply define or use any tools as following example.

# Your tool implementation
def square_the_number(num: float) -> dict:
    return num ** 2

# Define Tools
tools=[
    {
        "type":"function",
        "function":{
            "name": "square_the_number",
            "description": "output the square of the number.",
            "parameters": {
                "type": "object",
                "required": ["input_num"],
                "properties": {
                    'input_num': {
                        'type': 'number', 
                        'description': 'input_num is a number that will be squared'
                        }
                },
            }
        }
    }
]

import OpenAI
# Define LLM
client = OpenAI(
    # Use a custom endpoint compatible with OpenAI API
    base_url='http://localhost:8000/v1',  # api_base
    api_key="EMPTY"
)

messages = [{'role': 'user', 'content': 'square the number 1024'}]

completion = client.chat.completions.create(
    messages=messages,
    model="Qwen3-Coder-480B-A35B-Instruct",
    max_tokens=65536,
    tools=tools,
)

print(completion.choice[0])

Best Practices

To achieve optimal performance, we recommend the following settings:

  1. Sampling Parameters: - We suggest using temperature=0.7, top_p=0.8, top_k=20, repetition_penalty=1.05.

  2. Adequate Output Length: We recommend using an output length of 65,536 tokens for most queries, which is adequate for instruct models.

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
62
Hidden size
6,144
Feed-forward size
8,192
Attention heads
96
Key/value heads
8
Head dimension
128
Vocabulary size
151,936
Experts
160
Experts active per token
8
RoPE base
10,000,000
Stored precision
bfloat16
Model type
qwen3_moe
Quantization
fp8

Identity and Version

Repository
Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8
Publisher
Qwen
Task
Text generation
Modality
Text
Library
transformers
Parameters
480.2B parameters
Languages
Not stated by the source
Revision
003f183a92fbe5b9a8325aaa8b2ae797c91dd90f
First published
2025-07-22
Last updated
2025-08-21

Files and Weights

61 files, 482.2 GB in total. The weights are 49 files totalling 482.1 GB in safetensors.

Weights49 files · 482.1 GB
Configuration4 files · 5.8 MB
Tokenizer4 files · 15.9 MB
Documentation2 files · 17.5 KB
Other1 file · 6.2 KB
Repository1 file · 1.6 KB
Every file
FileTypeSizeSHA-256
model-00001-of-00049.safetensorsWeights10.0 GB da5e1fb3695b
model-00002-of-00049.safetensorsWeights10.0 GB 4e89f3eeb7bc
model-00003-of-00049.safetensorsWeights10.0 GB 08c86cf377a5
model-00004-of-00049.safetensorsWeights10.0 GB 0e47c1d020c9
model-00005-of-00049.safetensorsWeights10.0 GB 3da6f32b9fac
model-00006-of-00049.safetensorsWeights10.0 GB 8688e8d26a7c
model-00007-of-00049.safetensorsWeights10.0 GB 5bf602baa71a
model-00008-of-00049.safetensorsWeights10.0 GB 5e3583fc9ac9
model-00009-of-00049.safetensorsWeights10.0 GB 7a0054be1823
model-00010-of-00049.safetensorsWeights10.0 GB 9bfc85be495e
model-00011-of-00049.safetensorsWeights10.0 GB 9a2c1a5a489d
model-00012-of-00049.safetensorsWeights10.0 GB 41897c33c3ff
model-00013-of-00049.safetensorsWeights10.0 GB e05692ebfe61
model-00014-of-00049.safetensorsWeights10.0 GB 81f310ebd39d
model-00015-of-00049.safetensorsWeights10.0 GB 66f0a10a49f8
model-00016-of-00049.safetensorsWeights10.0 GB 0b5105a58532
model-00017-of-00049.safetensorsWeights10.0 GB d69954e8e319
model-00018-of-00049.safetensorsWeights10.0 GB 9f87ae0f24a9
model-00019-of-00049.safetensorsWeights10.0 GB 669d3cfd31b7
model-00020-of-00049.safetensorsWeights10.0 GB 6b6e111d07e3
model-00021-of-00049.safetensorsWeights10.0 GB 3f9b50185c94
model-00022-of-00049.safetensorsWeights10.0 GB a8f58ac8051a
model-00023-of-00049.safetensorsWeights10.0 GB ee024a2cb8ce
model-00024-of-00049.safetensorsWeights10.0 GB 8b657832f896
model-00025-of-00049.safetensorsWeights10.0 GB b00332007940
model-00026-of-00049.safetensorsWeights10.0 GB c86ed89803f3
model-00027-of-00049.safetensorsWeights10.0 GB 9ce3adf6ead7
model-00028-of-00049.safetensorsWeights9.9 GB 668628f53a82
model-00029-of-00049.safetensorsWeights10.0 GB a3566cebf32e
model-00030-of-00049.safetensorsWeights10.0 GB bf1d968c1b57
model-00031-of-00049.safetensorsWeights10.0 GB b1f4796d7f92
model-00032-of-00049.safetensorsWeights10.0 GB 1b728be17d68
model-00033-of-00049.safetensorsWeights10.0 GB 2f1b10f22d41
model-00034-of-00049.safetensorsWeights10.0 GB 96649317f064
model-00035-of-00049.safetensorsWeights10.0 GB 7e37a3a14349
model-00036-of-00049.safetensorsWeights10.0 GB 37e5b2c17e70
model-00037-of-00049.safetensorsWeights10.0 GB 640b809ee36d
model-00038-of-00049.safetensorsWeights10.0 GB b82a4474c3ae
model-00039-of-00049.safetensorsWeights10.0 GB 67862f44ff6b
model-00040-of-00049.safetensorsWeights10.0 GB dca78652b591
model-00041-of-00049.safetensorsWeights10.0 GB f5ceb5403e7d
model-00042-of-00049.safetensorsWeights10.0 GB 57df19df663c
model-00043-of-00049.safetensorsWeights10.0 GB 24e2251ad943
model-00044-of-00049.safetensorsWeights10.0 GB 5f0960a782e3
model-00045-of-00049.safetensorsWeights10.0 GB b6d1bd3e471f
model-00046-of-00049.safetensorsWeights10.0 GB a9bdd358551b
model-00047-of-00049.safetensorsWeights10.0 GB cf52a7cd13e9
model-00048-of-00049.safetensorsWeights10.0 GB eb032e043277
model-00049-of-00049.safetensorsWeights2.5 GB df68b21e7f8b
config.jsonConfiguration9.0 KB
generation_config.jsonConfiguration180 B
model.safetensors.index.jsonConfiguration5.8 MB
qwen3coder_tool_parser.pyConfiguration31.6 KB
LICENSEDocumentation11.3 KB
README.mdDocumentation6.2 KB
chat_template.jinjaOther6.2 KB
.gitattributesRepository1.6 KB
merges.txtTokenizer1.7 MB
tokenizer.jsonTokenizer11.4 MB aeb13307a71a
tokenizer_config.jsonTokenizer13.1 KB
vocab.jsonTokenizer2.8 MB

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
482.1 GB
Download from Qwen

Released by Qwen through ModelScope. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published482.1 GB
16-bit960.4 GB
8-bit480.2 GB
4-bit240.1 GB

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

Questions About Qwen3-Coder-480B-A35B-Instruct-FP8

How much GPU memory does Qwen3-Coder-480B-A35B-Instruct-FP8 need?

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

What is the cheapest GPU to run Qwen3-Coder-480B-A35B-Instruct-FP8 on?

At 16-bit, 5x MI325X from $10.00 an hour; at 4-bit, 2x MI300X from $3.70 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use Qwen3-Coder-480B-A35B-Instruct-FP8 commercially?

Yes. Qwen3-Coder-480B-A35B-Instruct-FP8 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-Coder-480B-A35B-Instruct-FP8's context length?

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

Similar Models

Model · Text generation

GLM-5.2-NVFP4

NVIDIA

The NVIDIA GLM-5.2 NVFP4 model is the quantized version of ZAI’s GLM-5.2 model, which is an auto-regressive language model that uses an optimized transformer architecture. GLM-5.2 is a Mixture-of-Experts (MoE) model for reasoning and coding that uses sparse attention (with an IndexShare indexer) to support a long context. For more information, please check here. The NVIDIA GLM-5.2 NVFP4 model is quantized with Model Optimizer. This model is ready for commercial or non-commercial use. GOVERNING TERMS: Use of the model is governed by the MIT License, same as the base model. Global Developers looking to take off-the-shelf, pre-quantized models for deployment in AI Agent systems, chatbots, RAG…

Open weights mit 381B parameters 1,048,576 tokens Model Optimizer

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

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-R1

DeepSeek

We introduce our first-generation reasoning models, DeepSeek-R1-Zero and DeepSeek-R1. DeepSeek-R1-Zero, a model trained via large-scale reinforcement learning (RL) without supervised fine-tuning (SFT) as a preliminary step, demonstrated remarkable performance on reasoning. With RL, DeepSeek-R1-Zero naturally emerged with numerous powerful and interesting reasoning behaviors. However, DeepSeek-R1-Zero encounters challenges such as endless repetition, poor readability, and language mixing. To address these issues and further enhance reasoning performance, we introduce DeepSeek-R1, which incorporates cold-start data before RL. DeepSeek-R1 achieves performance comparable to OpenAI-o1 across…

Open weights mit 684.5B parameters 163,840 tokens transformers

Model · Text generation

DeepSeek-V3

DeepSeek

We present DeepSeek-V3, a strong Mixture-of-Experts (MoE) language model with 671B total parameters with 37B activated for each token. To achieve efficient inference and cost-effective training, DeepSeek-V3 adopts Multi-head Latent Attention (MLA) and DeepSeekMoE architectures, which were thoroughly validated in DeepSeek-V2. Furthermore, DeepSeek-V3 pioneers an auxiliary-loss-free strategy for load balancing and sets a multi-token prediction training objective for stronger performance. We pre-train DeepSeek-V3 on 14.8 trillion diverse and high-quality tokens, followed by Supervised Fine-Tuning and Reinforcement Learning stages to fully harness its capabilities. Comprehensive evaluations…

Open weights 684.5B parameters 163,840 tokens transformers

Model · Text generation

DeepSeek-V3-0324

DeepSeek

DeepSeek-V3-0324 demonstrates notable improvements over its predecessor, DeepSeek-V3, in several key aspects. - More aesthetically pleasing web pages and game front-ends - Enhanced report analysis requests with more detailed outputs - Increased accuracy in Function Calling, fixing issues from previous V3 versions In the official DeepSeek web/app, we use the same system prompt with a specific date. For example, In our web and application environments, the temperature parameter $T{model}$ is set to 0.3. Because many users use the default temperature 1.0 in API call, we have implemented an API temperature $T{api}$ mapping mechanism that adjusts the input API temperature value of 1.0 to the…

Open weights mit 684.5B parameters 163,840 tokens transformers