Qwen3.5-35B-A3B
By Qwen. 36.0 billion parameters, a context window of 262,144 tokens and the licence apache-2.0.
Facts
- Released
- 2026-02-24 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
- 36.0 billion counted from the safetensors weight files Hugging Face, read
- Active parameters
- 4.7 billion estimate estimated from the expert counts and sizes in the configuration model configuration, read
- Knowledge cutoff
- Unknown
- 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
- 16,384 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
- Yes OpenRouter lists reasoning controls OpenRouter, read
- Inputs and outputs
- text, image in, text out Hugging Face, read
- Good for
- Vision: Hugging Face files it under image-text-to-text Hugging Face, read
- Reasoning: OpenRouter lists reasoning controls for it OpenRouter, read
Prices
| Provider | Input | Output | Context | As of | Source |
|---|---|---|---|---|---|
| Merge Gateway direct | 0.057 USD | 0.459 USD | 131,072 | older than 30 days; check the provider | models.dev, read |
| OrcaRouter direct | 0.057 USD | 0.459 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| Darkbloom through OpenRouter | 0.080 USD | 0.750 USD | 262,144 | OpenRouter endpoints, read | |
| Deep Infra direct | 0.140 USD | 1.00 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| DeepInfra through OpenRouter | 0.140 USD | 1.00 USD | 262,144 | OpenRouter endpoints, read | |
| Parasail through OpenRouter | 0.150 USD | 1.00 USD | 262,144 | OpenRouter endpoints, read | |
| Alibaba through OpenRouter | 0.163 USD | 1.30 USD | 262,144 | OpenRouter endpoints, read | |
| Kilo Gateway direct | 0.163 USD | 1.30 USD | 256,000 | older than 30 days; check the provider | models.dev, read |
| AtlasCloud through OpenRouter | 0.225 USD | 1.80 USD | 262,144 | OpenRouter endpoints, read | |
| NanoGPT direct | 0.225 USD | 1.80 USD | 260,096 | older than 30 days; check the provider | models.dev, read |
| SiliconFlow (China) direct | 0.230 USD | 1.86 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| SiliconFlow direct | 0.240 USD | 1.80 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| SiliconFlow through OpenRouter | 0.240 USD | 1.80 USD | 262,144 | OpenRouter endpoints, read | |
| CoreWeave direct | 0.250 USD | 1.25 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| Mixlayer direct | 0.250 USD | 1.30 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| Hugging Face direct | 0.250 USD | 2.00 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| NovitaAI direct | 0.250 USD | 2.00 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| Ofox direct | 0.290 USD | 1.83 USD | 256,000 | older than 30 days; check the provider | models.dev, read |
| OpenRouter direct | 0.312 USD | 1.25 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| Venice through OpenRouter | 0.312 USD | 1.25 USD | 256,000 | OpenRouter endpoints, 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.
| Quantization | Weights | Memory at 8,192 tokens | Memory at 32,768 tokens |
|---|---|---|---|
| IQ1_M | 8.8 GiB | 9.9 GiB | 10.3 GiB |
| IQ2_XXS | 9.9 GiB | 11.1 GiB | 11.6 GiB |
| IQ2_XS | 10.9 GiB | 12.1 GiB | 12.6 GiB |
| IQ2_S | 11.1 GiB | 12.3 GiB | 12.8 GiB |
| IQ2_M | 12.1 GiB | 13.3 GiB | 13.8 GiB |
| Q2_K | 12.6 GiB | 13.9 GiB | 14.3 GiB |
| Q2_K_L | 13.0 GiB | 14.4 GiB | 14.8 GiB |
| IQ3_XXS | 14.7 GiB | 16.1 GiB | 16.5 GiB |
| Q3_K_S | 15.3 GiB | 16.7 GiB | 17.2 GiB |
| IQ3_XS | 15.9 GiB | 17.4 GiB | 17.9 GiB |
| Q3_K_M | 15.9 GiB | 17.4 GiB | 17.9 GiB |
| Q3_K_L | 16.6 GiB | 18.0 GiB | 18.5 GiB |
| IQ3_M | 16.6 GiB | 18.1 GiB | 18.5 GiB |
| Q3_K_XL | 17.0 GiB | 18.5 GiB | 18.9 GiB |
| IQ4_XS | 18.3 GiB | 19.9 GiB | 20.4 GiB |
| IQ4_NL | 19.3 GiB | 21.0 GiB | 21.4 GiB |
| Q4_0 | 19.4 GiB | 21.0 GiB | 21.5 GiB |
| Q4_K_S | 20.0 GiB | 21.7 GiB | 22.1 GiB |
| Q4_K_M | 20.8 GiB | 22.4 GiB | 22.9 GiB |
| Q4_K_L | 21.1 GiB | 22.8 GiB | 23.3 GiB |
| Q4_1 | 21.3 GiB | 23.0 GiB | 23.5 GiB |
| Q5_K_S | 23.3 GiB | 25.2 GiB | 25.6 GiB |
| Q5_K_M | 24.1 GiB | 26.0 GiB | 26.5 GiB |
| Q5_K_L | 24.4 GiB | 26.3 GiB | 26.8 GiB |
| Q6_K | 28.8 GiB | 30.9 GiB | 31.4 GiB |
| Q6_K_L | 29.1 GiB | 31.2 GiB | 31.6 GiB |
| Q8_0 | 35.2 GiB | 37.6 GiB | 38.1 GiB |
| BF16 | 66.2 GiB | 70.2 GiB | 70.6 GiB |
Start it with a local runtime
- Ollama
ollama run hf.co/bartowski/Qwen_Qwen3.5-35B-A3B-GGUF:Q4_0 - LM Studio
lms get bartowski/Qwen_Qwen3.5-35B-A3B-GGUF lms server start - llama.cpp server
llama-server -hf bartowski/Qwen_Qwen3.5-35B-A3B-GGUF:Q4_0 --jinja - vLLM
vllm serve Qwen/Qwen3.5-35B-A3B - SGLang
sglang serve --model-path Qwen/Qwen3.5-35B-A3B --port 30000
Use it from your harness
Set up for DeepInfra with the model Qwen/Qwen3.5-35B-A3B. 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": {
"deepinfra": {
"npm": "@ai-sdk/openai-compatible",
"name": "DeepInfra",
"options": {
"baseURL": "https://api.deepinfra.com/v1/openai",
"apiKey": "{env:DEEPINFRA_TOKEN}"
},
"models": {
"Qwen/Qwen3.5-35B-A3B": {
"name": "Qwen3.5-35B-A3B",
"limit": {
"context": 262144,
"output": 16384
}
}
}
}
}
}- 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": {
"deepinfra": {
"baseUrl": "https://api.deepinfra.com/v1/openai",
"api": "openai-completions",
"apiKey": "$DEEPINFRA_TOKEN",
"models": [
{
"id": "Qwen/Qwen3.5-35B-A3B"
}
]
}
}
}- The apiKey field can name an environment variable as $NAME.
From Pi documentation, read .
Codex
Codex speaks only the Responses API, and DeepInfra 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
Put this in ~/.claude/settings.json, or variables in your shell:
export ANTHROPIC_BASE_URL="https://api.deepinfra.com/anthropic"
export ANTHROPIC_AUTH_TOKEN="$DEEPINFRA_TOKEN"
export ANTHROPIC_MODEL="Qwen/Qwen3.5-35B-A3B"
claude- 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.5-35B-A3B - Kilo Gateway, model
qwen/qwen3.5-35b-a3b - Mixlayer, model
qwen/qwen3.5-35b-a3b - NanoGPT, model
qwen/qwen3.5-35b-a3b - NovitaAI, model
qwen/qwen3.5-35b-a3b - Ofox, model
qwen/qwen3.5-35b-a3b - OpenRouter, model
qwen/qwen3.5-35b-a3b - OrcaRouter, model
qwen/qwen3.5-35b-a3b - SiliconFlow, model
Qwen/Qwen3.5-35B-A3B - SiliconFlow (China), model
Qwen/Qwen3.5-35B-A3B - CoreWeave, model
Qwen/Qwen3.5-35B-A3B
Published results
These are results other people published. Baltor did not run them and does not rank models by them.
- Results the maker published on the model card published by Qwen Hugging Face, read
- Artificial Analysis Coding Index: 37 published by Artificial Analysis OpenRouter, read
Sources of this page
- huggingface.co/api/models/Qwen/Qwen3.5-35B-A3B, read
- huggingface.co/Qwen/Qwen3.5-35B-A3B/raw/main/config.json, read
- huggingface.co/api/models/bartowski/Qwen_Qwen3.5-35B-A3B-GGUF/tree/main, read
- openrouter.ai/api/v1/models/qwen/qwen3.5-35b-a3b-20260224/endpoints, read
- openrouter.ai/api/v1/models, read
- models.dev/api.json, read
Paid links
No link in this directory is a paid link or an ad, and no listing is paid for. The order and the contents of every list come from the sources named on this page.