SAVRN
Search Contact SAVRN

Open-weight model · Text generation

Qwen3-Coder-30B-A3B-Instruct-GGUF

by Unsloth AI unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF

Fine-tune Qwen3 (14B) for free using our Google Colab notebook! - Read our Blog about Qwen3 support: unsloth.ai/blog/qwen3 - View the rest of our notebooks in our docs here. Qwen3-Coder is available in multiple sizes.

Parameters
Context
Weights506.2 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads12.8M

Model Card

By Unsloth AI, published under apache-2.0, revision b17cb02dd882.

Fine-tune Qwen3 (14B) for free using our Google Colab notebook! - Read our Blog about Qwen3 support: unsloth.ai/blog/qwen3 - View the rest of our notebooks in our docs here. 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…

Read Unsloth AI's full model card

See our collection for all versions of Qwen3 including GGUF, 4-bit & 16-bit formats.

Learn to run Qwen3-Coder correctly - Read our Guide.

See Unsloth Dynamic 2.0 GGUFs for our quantization benchmarks.

Read our Qwen3-Coder Guidehere!

  • Fine-tune Qwen3 (14B) for free using our Google Colab notebook!
  • Read our Blog about Qwen3 support: unsloth.ai/blog/qwen3
  • View the rest of our notebooks in our docs here. | Unsloth supports | Free Notebooks | Performance | Memory use | |-----------------|--------------------------------------------------------------------------------------------------------------------------|-------------|----------| | Qwen3 (14B) | ▶ Start on Colab | 3x faster | 70% less | | GRPO with Qwen3 (8B) | ▶ Start on Colab | 3x faster | 80% less | | Llama-3.2 (3B) | ▶ Start on Colab | 2.4x faster | 58% less | | Llama-3.2 (11B vision) | ▶ Start on Colab | 2x faster | 60% less | | Qwen2.5 (7B) | ▶ Start on Colab | 2x faster | 60% less |

Qwen3-Coder-30B-A3B-Instruct

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.

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

Identity and Version

Repository
unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF
Publisher
Unsloth AI
Task
Text generation
Modality
Text
Library
transformers
Parameters
Not stated by the source
Languages
Not stated by the source
Revision
b17cb02dd882d5b6ab62fc777ad2995f19668350
First published
2025-07-31
Last updated
2026-01-30

Files and Weights

33 files, 506.4 GB in total. The weights are 28 files totalling 506.2 GB in gguf.

Weights28 files · 506.2 GB
Documentation1 file · 8.4 KB
Other3 files · 122.0 MB
Repository1 file · 3.9 KB
Every file
FileTypeSizeSHA-256
BF16/Qwen3-Coder-30B-A3B-Instruct-BF16-00001-of-00002.ggufWeights49.7 GB c432d5b64272
BF16/Qwen3-Coder-30B-A3B-Instruct-BF16-00002-of-00002.ggufWeights11.4 GB cd36c4d1dc4b
Qwen3-Coder-30B-A3B-Instruct-IQ4_NL.ggufWeights17.3 GB 27f17516dacc
Qwen3-Coder-30B-A3B-Instruct-IQ4_XS.ggufWeights16.4 GB 26cd4fef3ada
Qwen3-Coder-30B-A3B-Instruct-Q2_K.ggufWeights11.3 GB 6db9853d31fd
Qwen3-Coder-30B-A3B-Instruct-Q2_K_L.ggufWeights11.3 GB 7add73b0607b
Qwen3-Coder-30B-A3B-Instruct-Q3_K_M.ggufWeights14.7 GB 30c83da425db
Qwen3-Coder-30B-A3B-Instruct-Q3_K_S.ggufWeights13.3 GB 17d51f5310e9
Qwen3-Coder-30B-A3B-Instruct-Q4_0.ggufWeights17.4 GB cf9ea0572e87
Qwen3-Coder-30B-A3B-Instruct-Q4_1.ggufWeights19.2 GB 7e3ca03775ad
Qwen3-Coder-30B-A3B-Instruct-Q4_K_M.ggufWeights18.6 GB fadc3e5f8d42
Qwen3-Coder-30B-A3B-Instruct-Q4_K_S.ggufWeights17.5 GB 56a7d0078341
Qwen3-Coder-30B-A3B-Instruct-Q5_K_M.ggufWeights21.7 GB 4b78837bbec5
Qwen3-Coder-30B-A3B-Instruct-Q5_K_S.ggufWeights21.1 GB a1a93585e669
Qwen3-Coder-30B-A3B-Instruct-Q6_K.ggufWeights25.1 GB 100b5121d095
Qwen3-Coder-30B-A3B-Instruct-Q8_0.ggufWeights32.5 GB 4ff1cff60780
Qwen3-Coder-30B-A3B-Instruct-UD-IQ1_M.ggufWeights9.6 GB 87ddf47ea7be
Qwen3-Coder-30B-A3B-Instruct-UD-IQ1_S.ggufWeights8.9 GB 2dc573a4748d
Qwen3-Coder-30B-A3B-Instruct-UD-IQ2_M.ggufWeights10.8 GB 7055a02d4d97
Qwen3-Coder-30B-A3B-Instruct-UD-IQ2_XXS.ggufWeights10.3 GB 51d0a284dc26
Qwen3-Coder-30B-A3B-Instruct-UD-IQ3_XXS.ggufWeights12.8 GB d6b85d2b6633
Qwen3-Coder-30B-A3B-Instruct-UD-Q2_K_XL.ggufWeights11.8 GB 3dee4686d756
Qwen3-Coder-30B-A3B-Instruct-UD-Q3_K_XL.ggufWeights13.8 GB 69cd7578d77d
Qwen3-Coder-30B-A3B-Instruct-UD-Q4_K_XL.ggufWeights17.7 GB 2841aa314d91
Qwen3-Coder-30B-A3B-Instruct-UD-Q5_K_XL.ggufWeights21.7 GB eb331a4eee8e
Qwen3-Coder-30B-A3B-Instruct-UD-Q6_K_XL.ggufWeights26.3 GB b09fcc58fd27
Qwen3-Coder-30B-A3B-Instruct-UD-Q8_K_XL.ggufWeights36.0 GB c867adc2a5f8
Qwen3-Coder-30B-A3B-Instruct-UD-TQ1_0.ggufWeights8.0 GB fcb403c1d7a9
README.mdDocumentation8.4 KB
imatrix_unsloth.gguf_fileOther122.0 MB 369217ab4855
paramsOther178 B
templateOther1.5 KB
.gitattributesRepository3.9 KB

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
506.2 GB
Download from Unsloth AI

Released by Unsloth AI through its official repository on Hugging Face. Read the license.

Built From

  • Derived from Qwen/Qwen3-Coder-30B-A3B-Instruct
  • Described by arXiv:2505.09388
  • Quantized from Qwen/Qwen3-Coder-30B-A3B-Instruct

Memory Requirements

PrecisionWeights in memory
As published506.2 GB

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

Questions About Qwen3-Coder-30B-A3B-Instruct-GGUF

Can I use Qwen3-Coder-30B-A3B-Instruct-GGUF commercially?

Yes. Qwen3-Coder-30B-A3B-Instruct-GGUF 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.

Similar Models

Model · Text generation

opt-125m

AI at Meta

OPT was first introduced in Open Pre-trained Transformer Language Models and first released in metaseq's repository on May 3rd 2022 by Meta AI. Disclaimer: The team releasing OPT wrote an official model card, which is available in Appendix D of the paper. Content from this model card has been written by the Hugging Face team. To quote the first two paragraphs of the official paper OPT was predominantly pretrained with English text, but a small amount of non-English data is still present within the training corpus via CommonCrawl. The model was pretrained using a causal language modeling (CLM) objective. OPT belongs to the same family of decoder-only models like GPT-3. As such, it was…

Open weights other 2,048 tokens transformers

Model · Text generation

Ornith-1.5-9B-GGUF

Ornith

Chirp Chirp! We are introducing Ornith-1.5, a major step toward building foundation models through end-to-end self-improvement. Ornith-1.5 extends Ornith-1.0 (which was developed on top of Qwen3.5 and Gemma4 with additional continued pretraining, mid-training, and post-training) by expanding the self-improvement loop from scaffold and rollout optimization to jointly optimizing task generation, scaffold construction, and solution rollouts. Rather than relying on a fixed set of human-curated tasks and manually designed harnesses, Ornith-1.5 continuously generates new training tasks, discovers effective strategies for solving them, and improves the policy through reinforcement learning. For…

Open weights mit transformers

Model · Text generation

Ornith-1.5-35B-A3B-GGUF

Ornith

Chirp Chirp! We are introducing Ornith-1.5, a major step toward building foundation models through end-to-end self-improvement. Ornith-1.5 extends Ornith-1.0 (which was developed on top of Qwen3.5 and Gemma4 with additional continued pretraining, mid-training, and post-training) by expanding the self-improvement loop from scaffold and rollout optimization to jointly optimizing task generation, scaffold construction, and solution rollouts. Rather than relying on a fixed set of human-curated tasks and manually designed harnesses, Ornith-1.5 continuously generates new training tasks, discovers effective strategies for solving them, and improves the policy through reinforcement learning. For…

Open weights mit transformers

Model · Text generation

Ornith-1.0-9B-GGUF

Ornith

Aloha! Today, we are releasing Ornith-1.0, a self-improving family of open-source models for agentic coding. This model card documents Ornith-1.0-9B, the most lightweight member of the Ornith family, designed for efficient single-GPU deployment. Ornith-1.0-9B is a dense ~9B model (≈19 GB in bf16), so it serves comfortably on a single 80GB GPU. The recipes below stand up an OpenAI-compatible server; add --tensor-parallel-size / --tp if you want to shard across more GPUs. For a quick local test (or to script offline generation), load the model directly with Transformers. Make sure you have a recent release installed — see the Transformers installation guide; Ornith-1.0-9B requires…

Open weights mit transformers

Uncensored Qwen3.8-27B, published as GGUF quantizations with the multi token prediction (MTP) head retained and verified. Refusal behaviour has been substantially reduced, not eliminated. See Measured behaviour for the numbers. Capabilities, training data, and architecture are otherwise unchanged. - Refusal directions removed with Heretic, which co minimizes refusal count against KL divergence from the base model. No handwritten refusal removal code, no finetuning, no additional training data. - Abliteration runs at bf16 (no 4 bit quantization). the resulting LoRA is merged into the bf16 base, so the published weights are not a quantized round trip. - mtp. tensors are copied verbatim from…

Open weights apache-2.0 llama.cpp

Model · Text generation

Ornith-1.0-35B-GGUF

Ornith

Aloha! Today, we are releasing Ornith-1.0, a self-improving family of open-source models for agentic coding. This model card documents Ornith-1.0-35B, the lightweight member of the Ornith family, designed for efficient single-GPU deployment. The two recipes below stand up an OpenAI-compatible server on a single 8×80GB GPU node (tensor-parallel 8). Adjust --tensor-parallel-size / --tp to the number of GPUs you have. For a quick local test (or to script offline generation), load the model directly with Transformers. Make sure you have a recent release installed — see the Transformers installation guide; Ornith-1.0-35B requires transformers >= 5.8.1. To split the reasoning trace from the final…

Open weights mit transformers