alt.freeweights.qwen / Qwen3-Coder-30B-A3B-Instruct-FP8
From: Qwen <huggingface.co/Qwen>Newsgroups: alt.freeweights.qwenSubject:

Qwen3-Coder-30B-A3B-Instruct-FP8

Date: 2026-11-14Commit: dcaee4dSigned: 2DC28CC7B26A283B ✓

Text generation model with 30.5B parameters. Safetensors weights, 31.2 GB in all. Published by Qwen under Apache-2.0.

30.5B params31.2GBQwen3-Coder-30B-A3B-Instruct-FP8safetensorspermissive
FactsParams30.5BSize31.2 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get Qwen/Qwen3-Coder-30B-A3B-Instruct-FP8
# manifest sha256 1b980407aeeb… · 31.2 GB · 16 files
$ fw verify ./Qwen3-Coder-30B-A3B-Instruct-FP8 Qwen/Qwen3-Coder-30B-A3B-Instruct-FP8
From sourceHosted (signed)Qwen/Qwen3-Coder-30B-A3B-Instruct-FP8Last check: 2026-11-14 21:12 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Overview

Size
31.2 GB
Weights
31.2 GB (safetensors)
Parameters
30.5B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
16, each with a sha256
Publisher
Qwen
Added
2026-11-14
Section
alt.freeweights.qwen
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-14 21:12 UTCpassed

Model card

From the publisher at commit dcaee4d. Shown as plain text with links; images open at the publisher.

Qwen3-Coder-30B-A3B-Instruct-FP8#

Chat

Highlights#

Qwen3-Coder is available in multiple sizes. Today, we're excited to introduce Qwen3-Coder-30B-A3B-Instruct-FP8. This streamlined model maintains impressive performance and efficiency, featuring the following key enhancements:

  • Significant Performance among open models on Agentic Coding, Agentic Browser-Use, and other foundational coding tasks.
  • 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.

Image: image/jpeg

Model Overview#

Qwen3-Coder-30B-A3B-Instruct-FP8 has the following features:

  • Type: Causal Language Models
  • Training Stage: Pretraining & Post-training
  • Number of Parameters: 30.5B in total and 3.3B activated
  • Number of Layers: 48
  • Number of Attention Heads (GQA): 32 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 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-Coder-30B-A3B-Instruct-FP8"

# 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-30B-A3B-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-30B-A3B-Instruct-FP8",
    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}, 
}

Files

16 files · 31.2 GBWeights 31.2 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 16 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
LICENSE11.3 KB832dd9e00a68dd83b3c3fb9f5588dad7dcf337a0db50f7d9483f310cd292e92e
README.md6.10 KBfbc064b8e9e3e3874896b8b25225bd2e7540638f42f69bf4a0612ed3a8184630
chat_template.jinja6.21 KB5a38bfa05833266240066aedc497decc9b00cc0d3e3b8cceea98cf530196ab06
config.json7.16 KB2705ed03bb322c864470bc282738b4713daca31b54ee4a639fe198bd7b9523f4
generation_config.json180 Bc99723ab3ba28630d26ae23def77603b540a46924895af5cf234740d3b27b51d
merges.txt1.67 MB8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5
model-00001-of-00004.safetensors10.0 GB04665458e2332cc10409cd51298c95627000ed44cf29134663203e3f15c3c053
model-00002-of-00004.safetensors10.0 GB3d2228cdb569b07b2eb18b342c98ffb4c425264a5324446014046d402c80c1a2
model-00003-of-00004.safetensors10.0 GB7a6b5fd146a07c319f475589d08dd8d583b1e0919905c73a1e5af745244fc1db
model-00004-of-00004.safetensors1.17 GB6438b5403255c6fbf02bd20f9c75985e8a98ebc46f9f45899283ea374c25383a
model.safetensors.index.json3.57 MB270f54aead2ae634567310218340069621fd8dfa2ad80001b69888ea5cc03477
qwen3coder_tool_parser.py31.6 KBf1ef95f6cf76354b6d7f5bc19e65976ae315981315c22f07874c9eff9720de84
tokenizer.json11.4 MBaeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
tokenizer_config.json13.1 KB60f6e8cb15c98dd07300a3cc465ea662de245d2095e4245616af21b2324db3fc
vocab.json2.78 MBca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
dcaee4d4df pinned now manifest updated, same commit2026-11-14 21:12 UTC16 files · 31.2 GB
dcaee4d4df2026-11-14 21:12 UTC16 files · 31.2 GB

Use it

$ fw get Qwen/Qwen3-Coder-30B-A3B-Instruct-FP8
# manifest sha256 1b980407aeeb… · 31.2 GB · 16 files
$ fw verify ./Qwen3-Coder-30B-A3B-Instruct-FP8 Qwen/Qwen3-Coder-30B-A3B-Instruct-FP8
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/Qwen/Qwen3-Coder-30B-A3B-Instruct-FP8.json --dir ./Qwen3-Coder-30B-A3B-Instruct-FP8 $ python3 fw.py verify ./Qwen3-Coder-30B-A3B-Instruct-FP8 ./Qwen__Qwen3-Coder-30B-A3B-Instruct-FP8.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Qwen/Qwen3-Coder-30B-A3B-Instruct-FP8 --revision dcaee4d4dfc5ee71ad501f01f530e5652438fde0 --local-dir ./Qwen3-Coder-30B-A3B-Instruct-FP8
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("Qwen/Qwen3-Coder-30B-A3B-Instruct-FP8", revision="dcaee4d4dfc5ee71ad501f01f530e5652438fde0") model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-Coder-30B-A3B-Instruct-FP8", revision="dcaee4d4dfc5ee71ad501f01f530e5652438fde0", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve Qwen/Qwen3-Coder-30B-A3B-Instruct-FP8 --revision dcaee4d4dfc5ee71ad501f01f530e5652438fde0

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-14
Text in
LICENSE
Text sha256
832dd9e00a68dd83b3c3fb9f5588dad7dcf337a0db50f7d9483f310cd292e92e
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: Qwen <huggingface.co/Qwen>Newsgroups: alt.freeweights.qwenSubject: Qwen3-Coder-30B-A3B-Instruct-FP8Date: 2026-11-14Commit: dcaee4dSigned: 2DC28CC7B26A283B ✓
Upstream
Qwen/Qwen3-Coder-30B-A3B-Instruct-FP8
Pinned commit
dcaee4d4dfc5ee71ad501f01f530e5652438fde0
Manifest
Qwen3-Coder-30B-A3B-Instruct-FP8.json · .minisig
Manifest sha256
1b980407aeebebe3a733478cfa55ebf9142b3af61261d495c676b441b80ad993
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 21:12 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/Qwen/Qwen3-Coder-30B-A3B-Instruct-FP8.json $ curl -O https://freeweights.allternit.com/manifests/Qwen/Qwen3-Coder-30B-A3B-Instruct-FP8.json.minisig $ minisign -Vm Qwen3-Coder-30B-A3B-Instruct-FP8.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Qwen/Qwen3-Coder-30B-A3B-Instruct-FP8
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Qwen3-Coder-30B-A3B-Instruct-FP8.json. Provenance. Takedown history: none.
From: BAAI <huggingface.co/BAAI>Subject: Aquila-VL-2B-llava-qwen
From: Perciqa <huggingface.co/Perciqa>Subject: Aurora-Code-1
From: BAAI <huggingface.co/BAAI>Subject: bge-reasoner-embed-qwen3-8b-0923
From: amazon <huggingface.co/amazon>Subject: BMOJOF-primed-HQwen3-8B-Instruct
From: nbeerbower <huggingface.co/nbeerbower>Subject: Bubba-Qwen3.6-27B-LoRA
From: bartowski <huggingface.co/bartowski>Subject: bytkim_Qwen3.8-27B-pi-GGUF