Qwen3.8 2.4T A95B
By Qwen. 2.45 trillion parameters, a context window of 1,048,576 tokens and the licence other.
Facts
- Released
- 2026-08-08 the day the repository was first published on Hugging Face Hugging Face, read
- Licence
- other 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
- 2.45 trillion counted from the safetensors weight files Hugging Face, read
- Active parameters
- 121.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
- 1,048,576 tokens the context length OpenRouter lists OpenRouter, read
- Longest output
- 131,072 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, with the efforts xhigh, medium, low OpenRouter, read
- Inputs and outputs
- text in, text out Hugging Face, read
- Good for
- Reasoning: OpenRouter lists reasoning controls for it OpenRouter, read
Prices
| Provider | Input | Output | Context | As of | Source |
|---|---|---|---|---|---|
| IteraCompute direct | 1.95 USD | 5.95 USD | 970,000 | older than 30 days; check the provider | models.dev, read |
| Alibaba through OpenRouter | 2.00 USD | 6.00 USD | 1,000,000 | OpenRouter endpoints, read | |
| Deep Infra direct | 2.00 USD | 6.00 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| DeepInfra through OpenRouter | 2.00 USD | 6.00 USD | 262,144 | OpenRouter endpoints, read | |
| Eden AI direct | 2.00 USD | 6.00 USD | 1,000,000 | older than 30 days; check the provider | models.dev, read |
| Kilo Gateway direct | 2.00 USD | 6.00 USD | 1,000,000 | older than 30 days; check the provider | models.dev, read |
| Modal direct | 2.00 USD | 6.00 USD | 1,010,000 | older than 30 days; check the provider | models.dev, read |
| Modal through OpenRouter | 2.00 USD | 6.00 USD | 1,000,000 | OpenRouter endpoints, read | |
| Novita through OpenRouter | 2.00 USD | 6.00 USD | 1,000,000 | OpenRouter endpoints, read | |
| OpenRouter direct | 2.00 USD | 6.00 USD | 1,048,576 | older than 30 days; check the provider | models.dev, read |
| SiliconFlow direct | 2.00 USD | 6.00 USD | 1,049,000 | older than 30 days; check the provider | models.dev, read |
| SiliconFlow through OpenRouter | 2.00 USD | 6.00 USD | 1,048,576 | OpenRouter endpoints, read | |
| Together through OpenRouter | 2.00 USD | 6.00 USD | 1,010,000 | OpenRouter endpoints, read | |
| Venice through OpenRouter | 2.00 USD | 6.00 USD | 262,144 | OpenRouter endpoints, read | |
| TensorX direct | 2.50 USD | 6.00 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| Hugging Face direct | 2.50 USD | 6.25 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| Merge Gateway direct | 2.50 USD | 6.25 USD | 262,144 | older than 30 days; check the provider | models.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.
| Quantization | Weights | Memory at 8,192 tokens | Memory at 32,768 tokens |
|---|---|---|---|
| UD-IQ1_S | 473 GiB | 498 GiB | 501 GiB |
| UD-IQ1_M | 525 GiB | 553 GiB | 555 GiB |
| UD-IQ2_XXS | 611 GiB | 643 GiB | 645 GiB |
| UD-IQ2_XS | 680 GiB | 716 GiB | 718 GiB |
| UD-IQ3_XXS | 890 GiB | 936 GiB | 938 GiB |
| UD-IQ4_XS | 1,221 GiB | 1,283 GiB | 1,285 GiB |
| Q8_0 | 2,422 GiB | 2,544 GiB | 2,546 GiB |
| BF16 | 4,557 GiB | 4,786 GiB | 4,788 GiB |
Start it with a local runtime
- Ollama
ollama run hf.co/unsloth/Qwen3.8-2.4T-A95B-GGUF:UD-IQ1_S - LM Studio
lms get unsloth/Qwen3.8-2.4T-A95B-GGUF lms server start - llama.cpp server
llama-server -hf unsloth/Qwen3.8-2.4T-A95B-GGUF:UD-IQ1_S --jinja - vLLM
vllm serve Qwen/Qwen3.8-2.4T-A95B - SGLang
sglang serve --model-path Qwen/Qwen3.8-2.4T-A95B --port 30000
Use it from your harness
Set up for DeepInfra with the model Qwen/Qwen3.8-2.4T-A95B. 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.8-2.4T-A95B": {
"name": "Qwen3.8 2.4T A95B",
"limit": {
"context": 1048576,
"output": 131072
}
}
}
}
}
}- 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.8-2.4T-A95B"
}
]
}
}
}- 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.8-2.4T-A95B"
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
- Eden AI, model
qwen/qwen3.8-2.4t-a95b - Hugging Face, model
Qwen/Qwen3.8-2.4T-A95B - IteraCompute, model
qwen/qwen3.8-2.4t-a95b - Kilo Gateway, model
qwen/qwen3.8-2.4t-a95b - Modal, model
Qwen/Qwen3.8-2.4T-A95B - OpenRouter, model
qwen/qwen3.8-2.4t-a95b - SiliconFlow, model
Qwen/Qwen3.8-2.4T-A95B - TensorX, model
qwen/qwen3.8-2.4t-a95b
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 Intelligence Index: 39.9 published by Artificial Analysis OpenRouter, read
- Artificial Analysis Coding Index: 71.9 published by Artificial Analysis OpenRouter, read
- Artificial Analysis Agentic Index: 50.1 published by Artificial Analysis OpenRouter, read
Sources of this page
- huggingface.co/api/models/Qwen/Qwen3.8-2.4T-A95B, read
- huggingface.co/Qwen/Qwen3.8-2.4T-A95B/raw/main/config.json, read
- huggingface.co/api/models/unsloth/Qwen3.8-2.4T-A95B-GGUF/tree/main, read
- openrouter.ai/api/v1/models/qwen/qwen3.8-2.4t-a95b-20260812/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.