{
 "kind": "model",
 "slug": "qwen-qwen3-8-27b",
 "path": "models/open/qwen-qwen3-8-27b/",
 "name": "Qwen3.8-27B",
 "maker": "Qwen",
 "density": "full",
 "crumbs": [
  [
   "Models",
   "models/"
  ],
  [
   "Open models",
   "models/open/"
  ]
 ],
 "lead": "Mid-size model for coding and agent tasks.",
 "chips": [
  {
   "label": "Text and agents",
   "path": "models/open/"
  },
  {
   "label": "Commercial use"
  },
  {
   "label": "Runs on 32 GB"
  }
 ],
 "primary": {
  "label": "Copy model id",
  "copy": "Qwen/Qwen3.8-27B"
 },
 "links": [
  {
   "label": "Hugging Face",
   "href": "https://huggingface.co/Qwen/Qwen3.8-27B"
  },
  {
   "label": "Demos",
   "href": "https://huggingface.co/spaces?search=Qwen3.8-27B"
  }
 ],
 "track": "New versions, price and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "Commercial use",
   "value": "Allowed",
   "status": "yes",
   "sub": "Apache 2.0",
   "quote": "each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce",
   "note": "Apache 2.0 allows use in paid and closed products, with no fee.",
   "src": "https://huggingface.co/Qwen/Qwen3.8-27B/raw/main/LICENSE"
  },
  {
   "key": "local",
   "label": "On your machine",
   "status": "yes",
   "value": "32 GB of memory",
   "sub": "27.8B parameters, ~16.7 GB at 4-bit",
   "note": "Our estimate: about 0.6 GB per billion parameters at 4-bit, with room for the context.",
   "src": "https://huggingface.co/Qwen/Qwen3.8-27B"
  },
  {
   "key": "api",
   "label": "Through an API",
   "status": "yes",
   "value": "$0.04 / $1.35",
   "sub": "per 1M tokens, Near AI",
   "note": "Cheapest live provider with tool calling, as the provider reports its price.",
   "src": "https://huggingface.co/docs/inference-providers"
  },
  {
   "key": "tools",
   "label": "Tool calling",
   "status": "yes",
   "value": "18 of 18 providers",
   "sub": "18 providers, 18 with tool calling",
   "note": "Providers whose API supports tool calling for this model, as each reports it.",
   "src": "https://huggingface.co/Qwen/Qwen3.8-27B"
  }
 ],
 "vfoot": "Checked against its official pages on Nov 23, 2026.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Qwen3.8-27B does",
   "parts": [
    {
     "t": "prose",
     "text": "Qwen3.8-27B is an open language model by Alibaba Cloud's Qwen team for coding, research and long multi-step agent tasks, and it also understands images and video. It thinks before answering by default, and you can set how deeply. The weights are on Hugging Face, free to use in paid products under Apache 2.0."
    },
    {
     "t": "h3",
     "text": "What people use it for"
    },
    {
     "t": "uses",
     "items": [
      {
       "title": "Finish long multi-step tasks",
       "text": "Let an agent plan, run tools and react to their results until a whole task is done.",
       "idea": false
      },
      {
       "title": "Plug into your coding tools",
       "text": "Point any app that speaks the OpenAI chat format, such as a coding assistant, at your own server.",
       "idea": false
      },
      {
       "title": "Read diagrams, documents and videos",
       "text": "Ask about a chart, a scanned page or a long video, from school diagrams to hour-long recordings.",
       "idea": false
      },
      {
       "title": "Choose how hard it thinks",
       "text": "Pick a reasoning level of xhigh, medium or low to trade depth against speed and cost.",
       "idea": false
      },
      {
       "title": "Keep or drop earlier reasoning",
       "text": "By default it keeps the reasoning of every earlier turn; turn that off to keep only the latest one.",
       "idea": false
      }
     ]
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Qwen3.8-27B popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "21.7K",
       "l": "likes on Hugging Face"
      },
      {
       "n": "6.1M",
       "l": "downloads, last 30 days"
      },
      {
       "n": "146",
       "l": "Hugging Face trending score"
      }
     ]
    },
    {
     "t": "small",
     "text": "As reported by Hugging Face, checked Nov 26, 2026. Downloads include automated ones; some repositories report none."
    }
   ]
  },
  {
   "id": "run",
   "nav": "Run it",
   "h2": "Where to run Qwen3.8-27B",
   "parts": [
    {
     "t": "h3",
     "text": "Through an API"
    },
    {
     "t": "table",
     "head": [
      "Provider",
      "$ per 1M in / out",
      "Tools",
      "Context"
     ],
     "rows": [
      [
       "OpenRouter",
       "$0.035 / $1.5",
       "Yes",
       "1M"
      ],
      [
       "Near AI (100% up, 24h)",
       "$0.04 / $1.35",
       "Yes",
       "262K"
      ],
      [
       "Ionstream (100% up, 24h)",
       "$0.04 / $1.95",
       "Yes",
       "262K"
      ],
      [
       "Modal (100% up, 24h)",
       "$0.04 / $2.3",
       "Yes",
       "262K"
      ],
      [
       "Wafer (100% up, 24h)",
       "$0.06 / $1.96",
       "Yes",
       "262K"
      ],
      [
       "Pearl Research (100% up, 24h)",
       "$0.1 / $2",
       "Yes",
       "262K"
      ],
      [
       "Mancer 2 (100% up, 24h)",
       "$0.125 / $1.5",
       "Yes",
       "262K"
      ],
      [
       "DeepInfra (99.9% up, 24h)",
       "$0.15 / $1.875",
       "Yes",
       "262K"
      ],
      [
       "OpenRouter",
       "$0.16 / $2",
       "Yes",
       "262K"
      ],
      [
       "ModelRun (100% up, 24h)",
       "$0.2 / $2.5",
       "Yes",
       "262K"
      ]
     ],
     "num": true
    },
    {
     "t": "small",
     "text": "As reported by each provider via Hugging Face Inference Providers and OpenRouter, checked Nov 26, 2026."
    },
    {
     "t": "h3",
     "text": "On your machine"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "Parameters",
       "v": "27.8B"
      },
      {
       "l": "Memory at 4-bit",
       "v": "about 16.7 GB",
       "sub": "Our estimate: 0.6 GB per billion parameters, with room for the context."
      },
      {
       "l": "GGUF builds",
       "v": "56 on Hugging Face",
       "sub": "For llama.cpp, Ollama and LM Studio; e.g. ggml-org/Qwen3.8-27B-GGUF"
      },
      {
       "l": "MLX builds",
       "v": "13 on Hugging Face",
       "sub": "For Apple silicon"
      }
     ]
    }
   ]
  },
  {
   "id": "license",
   "nav": "License",
   "h2": "Qwen3.8-27B license",
   "parts": [
    {
     "t": "prose",
     "text": "Free to use, change and sell in paid products under Apache 2.0. If you pass the model files on, include the license and mark files you changed; Qwen's trademarks are not licensed."
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In a paid product",
       "v": "Yes",
       "status": "yes",
       "sub": "Apache 2.0 allows use in paid and closed products, with no fee.",
       "quote": "each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce",
       "src": "https://huggingface.co/Qwen/Qwen3.8-27B/raw/main/LICENSE"
      },
      {
       "l": "Ship the weights to users",
       "v": "With conditions",
       "status": "cond",
       "sub": "Pass on a copy of the license and mark any files you changed.",
       "quote": "You must cause any modified files to carry prominent notices stating that You changed the files",
       "src": "https://huggingface.co/Qwen/Qwen3.8-27B/raw/main/LICENSE"
      },
      {
       "l": "Ship it inside your app",
       "v": "With conditions",
       "status": "cond",
       "sub": "Shipping the weights inside an app counts as passing them on, so the license copy goes with them.",
       "quote": "You must give any other recipients of the Work or Derivative Works a copy of this License",
       "src": "https://huggingface.co/Qwen/Qwen3.8-27B/raw/main/LICENSE"
      },
      {
       "l": "Work for clients",
       "v": "Yes",
       "status": "yes",
       "sub": "You may build and deliver client projects on it under the same terms.",
       "quote": "each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce",
       "src": "https://huggingface.co/Qwen/Qwen3.8-27B/raw/main/LICENSE"
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Qwen3.8-27B",
       "me": true,
       "facts": [
        "21.7K likes",
        "Apache 2.0"
       ]
      },
      {
       "name": "Kimi-K3",
       "path": "models/open/moonshotai-kimi-k3/",
       "why": "moonshotai · image-text-to-text",
       "facts": [
        "12K likes",
        "Custom license"
       ]
      },
      {
       "name": "Llama-3.1-8B-Instruct",
       "path": "models/open/meta-llama-llama-3-1-8b-instruct/",
       "why": "meta-llama · text-generation",
       "facts": [
        "9,102 likes",
        "Llama 3.1 license"
       ]
      },
      {
       "name": "Qwen3.8-Flash-Next",
       "path": "models/open/qwen-qwen3-8-flash-next/",
       "why": "Qwen · image-text-to-text",
       "facts": [
        "7,502 likes",
        "Custom license"
       ]
      },
      {
       "name": "DeepSeek-V4.1-Flash-1017",
       "path": "models/open/deepseek-ai-deepseek-v4-1-flash-1017/",
       "why": "deepseek-ai · image-text-to-text",
       "facts": [
        "6,665 likes",
        "MIT"
       ]
      }
     ],
     "more": "All text and agents models",
     "more_path": "models/open/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "prompt",
     "text": "Serve Qwen/Qwen3.8-27B with a current SGLang, vLLM or TokenSpeed build (see their Qwen3.8 recipes), call it with the OpenAI Python client, keep the default reasoning_effort=\"xhigh\" for agent work, and to skip thinking pass extra_body={\"chat_template_kwargs\": {\"enable_thinking\": False}}."
    },
    {
     "t": "steps",
     "items": [
      {
       "text": "Run it with SGLang, vLLM or TokenSpeed; each has a Qwen3.8 recipe linked from the model card.",
       "code": null,
       "src": "https://huggingface.co/Qwen/Qwen3.8-27B/raw/main/README.md"
      },
      {
       "text": "Install the OpenAI Python client and set your server address.",
       "code": "pip install -U openai\n\n# Set the following accordingly\nexport OPENAI_BASE_URL='your-base-url'\nexport OPENAI_API_KEY='your-api-key'",
       "src": "https://huggingface.co/Qwen/Qwen3.8-27B/raw/main/README.md"
      },
      {
       "text": "Send chat requests with model \"Qwen/Qwen3.8-27B\"; it thinks first unless you turn that off.",
       "code": null,
       "src": "https://huggingface.co/Qwen/Qwen3.8-27B/raw/main/README.md"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Model id to use"
    },
    {
     "t": "tabs",
     "label": "Where to run",
     "items": [
      {
       "tab": "OpenRouter",
       "intro": "OpenAI-compatible: base URL https://openrouter.ai/api/v1",
       "code": "qwen/qwen3.8-27b"
      },
      {
       "tab": "Hugging Face router",
       "intro": "OpenAI-compatible: base URL https://router.huggingface.co/v1",
       "code": "Qwen/Qwen3.8-27B"
      },
      {
       "tab": "Local (GGUF)",
       "intro": "A community GGUF build on Hugging Face; read its card before use.",
       "code": "ggml-org/Qwen3.8-27B-GGUF"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Mistakes to avoid"
    },
    {
     "t": "mistakes",
     "items": [
      {
       "dont": "Setting reasoning_effort to low to make an agent finish faster",
       "fix": "Keep the default xhigh for multi-step agent tasks; use medium or low for simple requests",
       "why": "Shallow reasoning can cause failures and retries that cost more time and tokens overall."
      },
      {
       "dont": "Wrapping preserve_thinking in chat_template_kwargs when calling Qwen Cloud",
       "fix": "Send \"preserve_thinking\": False directly in the request there",
       "why": "The hosted service reads the flag at the top level."
      },
      {
       "dont": "Turning on the 1M-token YaRN setting for all requests",
       "fix": "Change rope_parameters only when you really process long texts, and tune the factor",
       "why": "Static YaRN can hurt quality on shorter texts."
      },
      {
       "dont": "Setting presence_penalty high to stop repetition",
       "fix": "Stay between 0 and 2, with the card's values (0.0 thinking, 1.5 non-thinking)",
       "why": "High values can mix languages and slightly lower quality."
      }
     ]
    }
   ]
  },
  {
   "id": "faq",
   "nav": "Questions",
   "h2": "Questions",
   "parts": [
    {
     "t": "faq",
     "items": [
      {
       "q": "Can I use Qwen3.8-27B in a paid product?",
       "a": "Yes. It is under Apache 2.0; include the license when you pass the files on.",
       "evidence": {
        "url": "https://huggingface.co/Qwen/Qwen3.8-27B/raw/main/README.md",
        "quote": "license: apache-2.0"
       }
      },
      {
       "q": "Which reasoning levels are there?",
       "a": "xhigh (the default) for complex tasks, medium for a balance, and low for speed and cost.",
       "evidence": {
        "url": "https://huggingface.co/Qwen/Qwen3.8-27B/raw/main/README.md",
        "quote": "medium: balancing accuracy and speed"
       }
      },
      {
       "q": "Can I switch thinking off?",
       "a": "Yes, per request: set enable_thinking to False in chat_template_kwargs.",
       "evidence": {
        "url": "https://huggingface.co/Qwen/Qwen3.8-27B/raw/main/README.md",
        "quote": "You can obtain a direct response from the model without thinking by configuring the API parameters."
       }
      },
      {
       "q": "Is there a hosted version?",
       "a": "Qwen Cloud announced one with 1M context by default, but it was marked as coming soon.",
       "evidence": {
        "url": "https://huggingface.co/Qwen/Qwen3.8-27B/raw/main/README.md",
        "quote": "will be available as a hosted version with more production features, e.g., 1M context length by default, official built-in tools"
       }
      }
     ]
    }
   ]
  }
 ],
 "glance": [
  [
   "Maker",
   "Qwen"
  ],
  [
   "Task",
   "Text and agents"
  ],
  [
   "Pipeline",
   "image-text-to-text"
  ],
  [
   "On Hugging Face since",
   "Aug 5, 2026"
  ],
  [
   "License",
   "Apache 2.0"
  ],
  [
   "Parameters",
   "27.8B"
  ],
  [
   "Context",
   "1M tokens"
  ],
  [
   "Hugging Face",
   "Qwen/Qwen3.8-27B"
  ]
 ],
 "good": [
  "It is a dense model with 27 billion parameters in the language part, plus an image and video reader.",
  "It reads 262,144 tokens out of the box and can be stretched to 1,000,000 tokens with YaRN.",
  "A hosted version on Qwen Cloud is announced but was not live yet when we checked."
 ],
 "checked_line": "Hand-checked from 3 official pages on Nov 23, 2026; numbers refresh daily.",
 "logo": null
}