Baltor Get started

Models

Qwen3 Coder 30B A3B Instruct

By Qwen. 30.5 billion parameters, a context window of 262,144 tokens and the licence apache-2.0.

Facts

Released
2025-07-31 the day the repository was first published on Hugging Face Hugging Face, read
Licence
apache-2.0 the licence the model card declares Hugging Face, read
Open weights
Yes the weights are published in this Hugging Face repository Hugging Face, read
Parameters
30.5 billion counted from the safetensors weight files Hugging Face, read
Active parameters
3.4 billion estimate estimated from the expert counts and sizes in the configuration model configuration, read
Knowledge cutoff
2025-06-30 the knowledge cutoff OpenRouter lists OpenRouter, read
Context window
  • 262,144 tokens the maximum position embeddings in the model configuration model configuration, read
  • 262,144 tokens the context length OpenRouter lists OpenRouter, read
Longest output
  • 235,929 tokens the largest output OpenRouter's first provider allows OpenRouter, read
Tool calling
  • Yes the chat template in the tokenizer configuration accepts tool definitions Hugging Face, read
  • Yes OpenRouter lists tools among the supported parameters OpenRouter, read
Structured output
  • Yes OpenRouter lists structured outputs among the supported parameters OpenRouter, read
Reasoning controls
Unknown
Inputs and outputs
text in, text out Hugging Face, read
Good for
  • Coding: the maker's name for the model marks it for code Hugging Face, read

Prices

Prices in US dollars per million tokens, as each source lists them
ProviderInputOutputContextAs ofSource
ModelScope direct0 USD0 USD262,144 older than 30 days; check the providermodels.dev, read
Hugging Face direct0.070 USD0.260 USD262,144models.dev, read
Novita through OpenRouter0.070 USD0.270 USD160,000OpenRouter endpoints, read
NovitaAI direct0.070 USD0.270 USD160,000 older than 30 days; check the providermodels.dev, read
OpenRouter direct0.070 USD0.280 USD262,144models.dev, read
SiliconFlow direct0.070 USD0.280 USD262,000 older than 30 days; check the providermodels.dev, read
SiliconFlow through OpenRouter0.070 USD0.280 USD262,144OpenRouter endpoints, read
SiliconFlow (China) direct0.070 USD0.280 USD262,000 older than 30 days; check the providermodels.dev, read
NanoGPT direct0.100 USD0.400 USD128,000models.dev, read
Amazon Bedrock through OpenRouter0.150 USD0.600 USDUnknownOpenRouter endpoints, read
Alibaba through OpenRouter0.292 USD1.46 USD262,144OpenRouter endpoints, read
Kilo Gateway direct0.292 USD1.46 USD262,144models.dev, read
Eden AI direct0.450 USD2.25 USD262,144models.dev, read

Run it on your own hardware

Weights are the sizes of the files a source lists, or an estimate from the parameter count where none does. Memory is an estimate: weights plus KV cache plus 512 MiB and 5 percent of the weights for runtime buffers. Check it against your hardware.

QuantizationWeightsMemory at 8,192 tokensMemory at 32,768 tokens
UD-TQ1_07.5 GiB9.1 GiB11.3 GiB
UD-IQ1_S8.3 GiB10.0 GiB12.2 GiB
UD-IQ1_M9.0 GiB10.7 GiB12.9 GiB
UD-IQ2_XXS9.6 GiB11.4 GiB13.6 GiB
UD-IQ2_M10.1 GiB11.8 GiB14.1 GiB
Q2_K10.5 GiB12.3 GiB14.5 GiB
Q2_K_L10.6 GiB12.3 GiB14.6 GiB
UD-Q2_K_XL11.0 GiB12.8 GiB15.0 GiB
UD-IQ3_XXS12.0 GiB13.8 GiB16.1 GiB
Q3_K_S12.4 GiB14.2 GiB16.5 GiB
UD-Q3_K_XL12.9 GiB14.8 GiB17.0 GiB
Q3_K_M13.7 GiB15.6 GiB17.9 GiB
IQ4_XS15.3 GiB17.3 GiB19.5 GiB
IQ4_NL16.1 GiB18.2 GiB20.4 GiB
Q4_016.2 GiB18.2 GiB20.5 GiB
Q4_K_S16.3 GiB18.3 GiB20.6 GiB
UD-Q4_K_XL16.5 GiB18.5 GiB20.8 GiB
Q4_K_M17.3 GiB19.4 GiB21.6 GiB
Q4_117.9 GiB20.0 GiB22.3 GiB
Q5_K_S19.6 GiB21.9 GiB24.1 GiB
Q5_K_M20.2 GiB22.5 GiB24.7 GiB
UD-Q5_K_XL20.2 GiB22.5 GiB24.8 GiB
Q6_K23.4 GiB25.8 GiB28.0 GiB
UD-Q6_K_XL24.5 GiB27.0 GiB29.3 GiB
Q8_030.3 GiB33.0 GiB35.3 GiB
UD-Q8_K_XL33.5 GiB36.4 GiB38.7 GiB
BF1656.9 GiB61.0 GiB63.2 GiB

Start it with a local runtime

  • Ollama
    ollama run hf.co/unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF:Q4_0
  • LM Studio
    lms get unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF
    lms server start
  • llama.cpp server
    llama-server -hf unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF:Q4_0 --jinja
  • vLLM
    vllm serve Qwen/Qwen3-Coder-30B-A3B-Instruct
  • SGLang
    sglang serve --model-path Qwen/Qwen3-Coder-30B-A3B-Instruct --port 30000

Use it from your harness

Set up for Eden AI with the model qwen/qwen3-coder-30b-a3b-instruct. Each endpoint page has the same setup for its own address.

OpenCode

Put this in opencode.json in your project folder:

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "edenai": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Eden AI",
      "options": {
        "baseURL": "https://api.edenai.run/v3",
        "apiKey": "{env:EDENAI_API_KEY}"
      },
      "models": {
        "qwen/qwen3-coder-30b-a3b-instruct": {
          "name": "Qwen3 Coder 30B A3B Instruct",
          "limit": {
            "context": 262144,
            "output": 235929
          }
        }
      }
    }
  }
}
  • OpenCode reads any OpenAI-compatible address through the @ai-sdk/openai-compatible package, and an address that speaks the Responses API through @ai-sdk/openai.

From OpenCode documentation, read .

Pi

Put this in ~/.pi/agent/models.json:

{
  "providers": {
    "edenai": {
      "baseUrl": "https://api.edenai.run/v3",
      "api": "openai-completions",
      "apiKey": "$EDENAI_API_KEY",
      "models": [
        {
          "id": "qwen/qwen3-coder-30b-a3b-instruct"
        }
      ]
    }
  }
}
  • The apiKey field can name an environment variable as $NAME.

From Pi documentation, read .

Codex

Codex speaks only the Responses API, and Eden AI documents no Responses address. A gateway that offers one can sit in between.

  • Codex speaks the Responses API only: responses is the one supported wire API of a custom provider. Ollama and LM Studio are built in and start with --oss.

From Codex documentation, read .

Claude Code

Claude Code sends Anthropic Messages requests, and Eden AI documents no such address. A gateway that translates to that API can sit in between.

  • Claude Code sends Anthropic Messages requests to ANTHROPIC_BASE_URL. Anthropic says it does not support routing Claude Code to models other than Claude through any gateway, so some features may not work with another model.

From Claude Code documentation, read .

Other ways to reach it

  • Hugging Face, model Qwen/Qwen3-Coder-30B-A3B-Instruct
  • Kilo Gateway, model qwen/qwen3-coder-30b-a3b-instruct
  • ModelScope, model Qwen/Qwen3-Coder-30B-A3B-Instruct
  • NanoGPT, model qwen/qwen3-coder-30b-a3b-instruct
  • NovitaAI, model qwen/qwen3-coder-30b-a3b-instruct
  • OpenRouter, model qwen/qwen3-coder-30b-a3b-instruct
  • SiliconFlow, model Qwen/Qwen3-Coder-30B-A3B-Instruct
  • SiliconFlow (China), model Qwen/Qwen3-Coder-30B-A3B-Instruct
  • Ollama, model hf.co/unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF:Q4_0

Published results

These are results other people published. Baltor did not run them and does not rank models by them.