Qwen3.8 27B
By Qwen. 27.8 billion parameters, a context window of 1,000,000 tokens and the licence apache-2.0.
Facts
- Released
- 2026-08-05 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
- 27.8 billion counted from the safetensors weight files Hugging Face, read
- Active parameters
- Unknown
- Knowledge cutoff
- Unknown
- Context window
- 262,144 tokens the maximum position embeddings in the model configuration model configuration, read
- 1,000,000 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, 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 |
|---|---|---|---|---|---|
| Reka through OpenRouter | 0.094 USD | 4.40 USD | 262,144 | OpenRouter endpoints, read | |
| Reka through OpenRouter | 0.094 USD | 4.40 USD | 262,144 | OpenRouter endpoints, read | |
| Wafer through OpenRouter | 0.095 USD | 4.40 USD | 262,144 | OpenRouter endpoints, read | |
| Wafer through OpenRouter | 0.095 USD | 4.40 USD | 262,144 | OpenRouter endpoints, read | |
| DekaLLM through OpenRouter | 0.096 USD | 4.40 USD | 262,144 | OpenRouter endpoints, read | |
| DekaLLM through OpenRouter | 0.096 USD | 4.40 USD | 262,144 | OpenRouter endpoints, read | |
| RunInfra direct | 0.100 USD | 0.400 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| Darkbloom through OpenRouter | 0.100 USD | 1.80 USD | 262,144 | OpenRouter endpoints, read | |
| Darkbloom through OpenRouter | 0.100 USD | 1.80 USD | 262,144 | OpenRouter endpoints, read | |
| NanoGPT direct | 0.150 USD | 0.700 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| DeepInfra through OpenRouter | 0.150 USD | 1.88 USD | 262,144 | OpenRouter endpoints, read | |
| DeepInfra through OpenRouter | 0.150 USD | 1.88 USD | 262,144 | OpenRouter endpoints, read | |
| Phala through OpenRouter | 0.199 USD | 2.08 USD | 262,144 | OpenRouter endpoints, read | |
| Phala through OpenRouter | 0.199 USD | 2.08 USD | 262,144 | OpenRouter endpoints, read | |
| Deep Infra direct | 0.200 USD | 2.50 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| Mancer 2 through OpenRouter | 0.200 USD | 2.50 USD | 262,144 | OpenRouter endpoints, read | |
| Mancer 2 through OpenRouter | 0.200 USD | 2.50 USD | 262,144 | OpenRouter endpoints, read | |
| Chutes through OpenRouter | 0.240 USD | 2.20 USD | 262,144 | OpenRouter endpoints, read | |
| Chutes through OpenRouter | 0.240 USD | 2.20 USD | 262,144 | OpenRouter endpoints, read | |
| Parasail through OpenRouter | 0.240 USD | 2.20 USD | 262,144 | OpenRouter endpoints, read | |
| Parasail through OpenRouter | 0.240 USD | 2.20 USD | 262,144 | OpenRouter endpoints, read | |
| AkashML through OpenRouter | 0.250 USD | 2.20 USD | 262,144 | OpenRouter endpoints, read | |
| AkashML through OpenRouter | 0.250 USD | 2.20 USD | 262,144 | OpenRouter endpoints, read | |
| Ionstream through OpenRouter | 0.250 USD | 2.55 USD | 262,144 | OpenRouter endpoints, read | |
| Ionstream through OpenRouter | 0.250 USD | 2.55 USD | 262,144 | OpenRouter endpoints, read | |
| IteraCompute direct | 0.300 USD | 2.50 USD | 327,680 | older than 30 days; check the provider | models.dev, read |
| OrcaRouter direct | 0.330 USD | 2.40 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| Kosmik Compute direct | 0.350 USD | 2.20 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| TensorX direct | 0.400 USD | 2.40 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| CoreWeave direct | 0.400 USD | 3.00 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| CoreWeave through OpenRouter | 0.400 USD | 3.00 USD | 262,144 | OpenRouter endpoints, read | |
| CoreWeave through OpenRouter | 0.400 USD | 3.00 USD | 262,144 | OpenRouter endpoints, read | |
| Hugging Face direct | 0.400 USD | 3.00 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| ai& direct | 0.400 USD | 3.00 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| Novita through OpenRouter | 0.420 USD | 3.00 USD | 1,000,000 | OpenRouter endpoints, read | |
| Novita through OpenRouter | 0.420 USD | 3.00 USD | 1,000,000 | OpenRouter endpoints, read | |
| OpenRouter direct | 0.420 USD | 3.00 USD | 1,000,000 | older than 30 days; check the provider | models.dev, read |
| Alibaba through OpenRouter | 0.425 USD | 2.55 USD | 1,000,000 | OpenRouter endpoints, read | |
| Alibaba through OpenRouter | 0.425 USD | 2.55 USD | 1,000,000 | OpenRouter endpoints, read | |
| Kilo Gateway direct | 0.425 USD | 2.55 USD | 1,000,000 | older than 30 days; check the provider | models.dev, read |
| Cloudflare through OpenRouter | 0.450 USD | 3.20 USD | 262,144 | OpenRouter endpoints, read | |
| Cloudflare through OpenRouter | 0.450 USD | 3.20 USD | 262,144 | OpenRouter endpoints, read | |
| Venice through OpenRouter | 0.450 USD | 3.20 USD | 262,144 | OpenRouter endpoints, read | |
| Venice through OpenRouter | 0.450 USD | 3.20 USD | 262,144 | OpenRouter endpoints, read | |
| Ofox direct | 0.500 USD | 1.71 USD | 1,131,072 | older than 30 days; check the provider | models.dev, read |
| Eden AI direct | 0.500 USD | 3.00 USD | 1,000,000 | older than 30 days; check the provider | models.dev, read |
| Groq direct | 0.800 USD | 4.00 USD | 131,042 | older than 30 days; check the provider | models.dev, read |
| evroc direct | 0.870 USD | 3.50 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 | 5.8 GiB | 7.1 GiB | 8.6 GiB |
| UD-IQ1_M | 6.3 GiB | 7.6 GiB | 9.1 GiB |
| UD-IQ2_XXS | 6.8 GiB | 8.1 GiB | 9.6 GiB |
| UD-IQ2_S | 7.8 GiB | 9.2 GiB | 10.7 GiB |
| UD-Q2_K_XL | 9.2 GiB | 10.6 GiB | 12.1 GiB |
| UD-IQ3_XXS | 10.2 GiB | 11.7 GiB | 13.2 GiB |
| UD-IQ3_S | 11.2 GiB | 12.8 GiB | 14.3 GiB |
| UD-Q3_K_XL | 12.2 GiB | 13.9 GiB | 15.4 GiB |
| UD-IQ4_XS | 13.3 GiB | 14.9 GiB | 16.4 GiB |
| UD-Q4_K_S | 14.3 GiB | 16.0 GiB | 17.5 GiB |
| UD-Q4_K_M | 15.3 GiB | 17.1 GiB | 18.6 GiB |
| Q4_0 | 16.2 GiB | 18.0 GiB | 19.5 GiB |
| Q4_1 | 16.3 GiB | 18.2 GiB | 19.7 GiB |
| UD-Q4_K_XL | 16.4 GiB | 18.2 GiB | 19.7 GiB |
| UD-Q5_K_S | 17.4 GiB | 19.3 GiB | 20.8 GiB |
| UD-Q5_K_M | 18.4 GiB | 20.3 GiB | 21.8 GiB |
| UD-Q5_K_XL | 19.4 GiB | 21.4 GiB | 22.9 GiB |
| UD-Q6_K | 20.5 GiB | 22.5 GiB | 24.0 GiB |
| UD-Q6_K_M | 21.5 GiB | 23.6 GiB | 25.1 GiB |
| UD-Q6_K_L | 22.5 GiB | 24.7 GiB | 26.2 GiB |
| UD-Q6_K_XL | 23.6 GiB | 25.7 GiB | 27.2 GiB |
| UD-Q8_K_L | 26.1 GiB | 28.4 GiB | 29.9 GiB |
| Q8_0 | 27.1 GiB | 29.4 GiB | 30.9 GiB |
| UD-Q8_K_XL | 29.3 GiB | 31.8 GiB | 33.3 GiB |
| BF16 | 50.9 GiB | 54.4 GiB | 55.9 GiB |
Start it with a local runtime
- Ollama
ollama run hf.co/unsloth/Qwen3.8-27B-GGUF:Q4_0 - LM Studio
lms get unsloth/Qwen3.8-27B-GGUF lms server start - llama.cpp server
llama-server -hf unsloth/Qwen3.8-27B-GGUF:Q4_0 --jinja - vLLM
vllm serve Qwen/Qwen3.8-27B - SGLang
sglang serve --model-path Qwen/Qwen3.8-27B --port 30000
Use it from your harness
Set up for ai& with the model qwen/qwen3.8-27b. 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": {
"aiand": {
"npm": "@ai-sdk/openai-compatible",
"name": "ai&",
"options": {
"baseURL": "https://api.aiand.com/v1",
"apiKey": "{env:AIAND_API_KEY}"
},
"models": {
"qwen/qwen3.8-27b": {
"name": "Qwen3.8 27B",
"limit": {
"context": 1000000,
"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": {
"aiand": {
"baseUrl": "https://api.aiand.com/v1",
"api": "openai-completions",
"apiKey": "$AIAND_API_KEY",
"models": [
{
"id": "qwen/qwen3.8-27b"
}
]
}
}
}- The apiKey field can name an environment variable as $NAME.
From Pi documentation, read .
Codex
Codex speaks only the Responses API, and 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 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
- DeepInfra, model
Qwen/Qwen3.8-27B - Eden AI, model
qwen/qwen3.8-27b - evroc, model
Qwen/Qwen3.8-27B - Groq, model
qwen/qwen3.8-27b - Hugging Face, model
Qwen/Qwen3.8-27B - IteraCompute, model
qwen/qwen3.8-27b - Kilo Gateway, model
qwen/qwen3.8-27b - Kosmik Compute, model
qwen/qwen3.8-27b - NanoGPT, model
qwen/qwen3.8-27b - Ofox, model
qwen/qwen3.8-27b - OpenRouter, model
qwen/qwen3.8-27b
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: 33.7 published by Artificial Analysis OpenRouter, read
- Artificial Analysis Coding Index: 68.1 published by Artificial Analysis OpenRouter, read
- Artificial Analysis Agentic Index: 45.8 published by Artificial Analysis OpenRouter, read
Sources of this page
- huggingface.co/api/models/Qwen/Qwen3.8-27B, read
- huggingface.co/Qwen/Qwen3.8-27B/raw/main/config.json, read
- huggingface.co/api/models/unsloth/Qwen3.8-27B-GGUF/tree/main, read
- openrouter.ai/api/v1/models/qwen/qwen3.8-27b-20260814/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.