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

Qwen3-Coder-30B-A3B-Instruct

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

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

30.5B params61.1GBQwen3-Coder-30B-A3B-Instructsafetensorspermissive
FactsParams30.5BSize61.1 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get Qwen/Qwen3-Coder-30B-A3B-Instruct
# manifest sha256 85f447b977af… · 61.1 GB · 28 files
$ fw verify ./Qwen3-Coder-30B-A3B-Instruct Qwen/Qwen3-Coder-30B-A3B-Instruct
From sourceHosted (signed)Qwen/Qwen3-Coder-30B-A3B-InstructLast 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
61.1 GB
Weights
61.1 GB (safetensors)
Parameters
30.5B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
28, 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 b2cff64. Shown as plain text with links; images open at the publisher.

Qwen3-Coder-30B-A3B-Instruct#

Chat

Highlights#

Qwen3-Coder is available in multiple sizes. Today, we're excited to introduce Qwen3-Coder-30B-A3B-Instruct. 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 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"

# 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.

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

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",
    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

28 files · 61.1 GBWeights 61.1 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 28 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
LICENSE11.3 KB832dd9e00a68dd83b3c3fb9f5588dad7dcf337a0db50f7d9483f310cd292e92e
README.md5.42 KB98e8f0e00f2d6c7f1743fc4ef2b6297dcc57bec73d71f36588aed984370ac3f3
chat_template.jinja6.21 KB5a38bfa05833266240066aedc497decc9b00cc0d3e3b8cceea98cf530196ab06
config.json963 Be2c8d8eea39471785cd93379d8b48241ad7dcda299013155dd02526e34a0de62
generation_config.json180 Bc99723ab3ba28630d26ae23def77603b540a46924895af5cf234740d3b27b51d
merges.txt1.67 MB599bab54075088774b1733fde865d5bd747cbcc7a547c5bc12610e874e26f5e3
model-00001-of-00016.safetensors4.00 GBc8f4ee157c2bdb00521d0f422c08ef16f0f3f5f7e234786d829401d627d2e167
model-00002-of-00016.safetensors4.00 GB8cf85f0e5a0ea8d8cd3fd1f411175d811ca735571210873fd42bb5eec0b35406
model-00003-of-00016.safetensors4.00 GB4fa5cc233e965c8671d32a335045697fc4317c8d2939d8ca5fb9ef62d0233207
model-00004-of-00016.safetensors4.00 GBc10ff15f08abea0ff60b2fc345dcc34191bc8049d05d3bece6b081a99cbfc4c8
model-00005-of-00016.safetensors4.00 GB65d3701e2354a8cf6e5afa3f84520bf81effcdc29b0c481dbbeb089f80349100
model-00006-of-00016.safetensors4.00 GB7c832bf9e527b7b6f3184b561de05f30981bdcfdffe9c69e69064cdaa97071b5
model-00007-of-00016.safetensors4.00 GB71a710c3ff52e85d22ae3f5b10b9a4dd49821c9533460fb1d4bb21593f71b585
model-00008-of-00016.safetensors4.00 GBcd2861625e1bd8a212151445072b9d826c9754fd4618f8b83c2857fc0854b778
model-00009-of-00016.safetensors4.00 GB8335225fd61c0fe283a83463a8d9c5c19e211ea8048925b031a088f274eb9c4e
model-00010-of-00016.safetensors4.00 GB421481c42e8d85891c9d88492d7530d6b6d8b15c23a6db6a9b7438e0b6161330
model-00011-of-00016.safetensors4.00 GBd7dd447928ddec67a3ec06d5bc4fd99dde9ac5bdf0b6ab500faca5dfdfb963b4
model-00012-of-00016.safetensors3.99 GB349a0b0247d244ffef34bc23b403ce756f515242323f024a5f8028c109a798af
model-00013-of-00016.safetensors4.00 GB52e7f570649b27bc35b8cd27ac643d2158c02a5c76078c80a8afc449377b508e
model-00014-of-00016.safetensors4.00 GB0b30aed1b55b3f25fbf2c5e81784438d0a08461c9518e26e11987eb10d80ebd7
model-00015-of-00016.safetensors4.00 GBcb8b3b13c0519874ed0cbe6832ab57e51476e3821c83f0ffe4ec83a8d23fc5f4
model-00016-of-00016.safetensors1.09 GB778479fa2b8b766ba1c7bfc56a71ed9b060081e0fbc5eb4edafd19a1d6b4c116
model.safetensors.index.json1.70 MB8dde190b862c7c80ec7403c6495de00c60bbaf246ed479cee4506284989c584c
qwen3coder_tool_parser.py31.6 KBf1ef95f6cf76354b6d7f5bc19e65976ae315981315c22f07874c9eff9720de84
tokenizer.json7.03 MB19564a48c4f71a2a1b937cce34c737a1e662b171c5f5d7edf641a15cd896f07d
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
b2cff646eb pinned now manifest updated, same commit2026-11-14 21:12 UTC28 files · 61.1 GB
b2cff646eb2026-11-14 21:12 UTC28 files · 61.1 GB

Use it

$ fw get Qwen/Qwen3-Coder-30B-A3B-Instruct
# manifest sha256 85f447b977af… · 61.1 GB · 28 files
$ fw verify ./Qwen3-Coder-30B-A3B-Instruct Qwen/Qwen3-Coder-30B-A3B-Instruct
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.json --dir ./Qwen3-Coder-30B-A3B-Instruct $ python3 fw.py verify ./Qwen3-Coder-30B-A3B-Instruct ./Qwen__Qwen3-Coder-30B-A3B-Instruct.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 --revision b2cff646eb4bb1d68355c01b18ae02e7cf42d120 --local-dir ./Qwen3-Coder-30B-A3B-Instruct
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", revision="b2cff646eb4bb1d68355c01b18ae02e7cf42d120") model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-Coder-30B-A3B-Instruct", revision="b2cff646eb4bb1d68355c01b18ae02e7cf42d120", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve Qwen/Qwen3-Coder-30B-A3B-Instruct --revision b2cff646eb4bb1d68355c01b18ae02e7cf42d120

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-InstructDate: 2026-11-14Commit: b2cff64Signed: 2DC28CC7B26A283B ✓
Upstream
Qwen/Qwen3-Coder-30B-A3B-Instruct
Pinned commit
b2cff646eb4bb1d68355c01b18ae02e7cf42d120
Manifest
Qwen3-Coder-30B-A3B-Instruct.json · .minisig
Manifest sha256
85f447b977af33df90b3a3c64274cc2180deb1d3814101f0939e5f9e49f2cfce
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.json $ curl -O https://freeweights.allternit.com/manifests/Qwen/Qwen3-Coder-30B-A3B-Instruct.json.minisig $ minisign -Vm Qwen3-Coder-30B-A3B-Instruct.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

37 models in the catalog name this one as their parent.

Fine-tunes
21
Quantizations
16
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Qwen/Qwen3-Coder-30B-A3B-Instruct
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.json. Provenance. Takedown history: none.

Variants

16 quantized or adapter builds of Qwen3-Coder-30B-A3B-Instruct. Each has its own license check and page.

SubjectSizeParamsLicenseDate
Qwen3-Coder-30B-A3B-Instruct-GGUFHosted (signed) From: unsloth in alt.freeweights.qwen506 GB—Permissive2026-11-14Qwen3-Coder-30B-A3B-Instruct-MLX-4bitHosted (signed) From: lmstudio-community in alt.freeweights.qwen17.2 GB30.5BPermissive2026-11-15Qwen3-Coder-30B-A3B-Instruct-GGUFHosted (signed) From: lmstudio-community in alt.freeweights.qwen90.8 GB—Permissive2026-11-15Qwen3-Coder-30B-A3B-Instruct-MLX-5bitHosted (signed) From: lmstudio-community in alt.freeweights.qwen21.0 GB30.5BPermissive2026-11-15Qwen3-Coder-30B-A3B-Instruct-MLX-8bitHosted (signed) From: lmstudio-community in alt.freeweights.qwen32.5 GB30.5BPermissive2026-11-15Qwen3-Coder-30B-A3B-Instruct-MLX-6bitHosted (signed) From: lmstudio-community in alt.freeweights.qwen24.8 GB30.5BPermissive2026-11-15Qwen3-Coder-30B-A3B-Instruct-GGUFHosted (signed) From: ggml-org in alt.freeweights.qwen112 GB—Permissive2026-11-14Qwen3-Coder-30B-A3B-Instruct-4bitHosted (signed) From: mlx-community in alt.freeweights.qwen17.2 GB30.5BPermissive2026-11-14Qwen3-Coder-30B-A3B-Instruct-1M-GGUFHosted (signed) From: unsloth in alt.freeweights.qwen507 GB—Permissive2026-11-15Qwen3-Coder-30B-A3B-Instruct-Q8_0-GGUFHosted (signed) From: ggml-org in alt.freeweights.qwen32.5 GB—Permissive2026-11-15Qwen3-Coder-30B-A3B-Instruct-8bitHosted (signed) From: mlx-community in alt.freeweights.qwen32.5 GB30.5BPermissive2026-11-15Qwen3-Coder-30B-A3B-Instruct-6bitHosted (signed) From: mlx-community in alt.freeweights.qwen24.8 GB30.5BPermissive2026-11-15Qwen3-Coder-30B-A3B-Instruct-3bitHosted (signed) From: mlx-community in alt.freeweights.qwen13.4 GB30.5BPermissive2026-11-15Qwen3-Coder-30B-A3B-Instruct-4bit-dwq-v2Hosted (signed) From: mlx-community in alt.freeweights.qwen17.2 GB30.5BPermissive2026-11-15Qwen3-Coder-30B-A3B-Instruct-4bit-DWQHosted (signed) From: mlx-community in alt.freeweights.qwen17.2 GB30.5BPermissive2026-11-15Qwen3-Coder-30B-A3B-Instruct-6bit-DWQ-lr3e-7Hosted (signed) From: mlx-community in alt.freeweights.qwen26.7 GB30.5BPermissive2026-11-15
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