SuperAPIAI Directory

Hugging Face

huggingface.co · AI developer platforms

Qwen3.8-27B is the latest-generation compact dense model in the Qwen open model family, with 27 billion parameters, native support for image and video understanding, and flexible thinking control. The model delivers significant improvements in coding, professional work, research, and long-horizon agentic tasks, supports a native context of 262,144 tokens, and can be extended to 1 million tokens. The model weights and configuration files are released in Hugging Face Transformers format and are compatible with mainstream inference frameworks such as Transformers, vLLM, SGLang, and TokenSpeed. The official Qwen Cloud hosted API service is also offered (coming soon), with default support for a 1-million context length and built-in tools.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsWeb

About this tool

Qwen3.8-27B is the most capable generation to date in the Qwen open model family. Built on the architectural foundation of Qwen3.5, it delivers substantial improvements in coding, professional work, research, and long-horizon agentic tasks. The model is a native vision-language model capable of understanding images and videos and features flexible thinking control, designed to complete complex multi-step tasks more reliably.

In terms of key capabilities, Qwen3.8-27B improves comprehensively across core abilities, covering coding, professional work, research, and long-horizon agentic tasks; in agentic execution, it has stronger autonomous planning and environment-feedback handling capabilities, making end-to-end task completion more reliable; in downstream compatibility, it supports more mainstream harnesses and development tools, making integration into existing technology stacks easier; in thinking control, thinking mode is enabled by default and can be disabled per request, with reasoning depth adjustable via reasoning_effort and reasoning context in historical messages preserved via preserve_thinking; in vision-language understanding, it natively supports image and video understanding, covering everything from STEM charts and documents to hour-long videos.

The model type is a causal language model with a vision encoder, and the training stages include pre-training and post-training. The language model has 27B parameters, a hidden dimension of 5120, token embeddings of 248,320 (after padding), 64 layers, and a hidden layout of 16 × (3 × (Gated DeltaNet → FFN) → 1 × (Gated Attention → FFN)). Gated DeltaNet has 48 linear attention heads for V and 16 for QK, with a head dimension of 128; Gated Attention has 24 attention heads for Q and 4 for KV, with a head dimension of 256 and a rotary position embedding dimension of 64; the feed-forward network intermediate dimension is 17,408; the LM output is 248,320 (after padding); MTP (multi-token prediction) uses multi-step training. The context length is natively 262,144 and can be extended to 1,000,000 tokens.

In terms of usage, the model weights and configuration files are provided in Hugging Face Transformers format and are compatible with Hugging Face Transformers, vLLM, SGLang, TokenSpeed, and others. For users who want scalable inference without maintaining infrastructure, the official Qwen API service is provided by Qwen CloProvided by ud, Qwen3.8-27B will be offered as a managed service with production features such as a 1 million token context length by default and official built-in tools; this service is coming soon. Using the latest framework is recommended for best performance and compatibility; for production workloads or high-throughput scenarios, dedicated serving engines such as SGLang, vLLM, or TokenSpeed are recommended. The model runs in thinking mode by default and, before generating the final response, outputs thinking content marked by thinking\n</think>\n\n; to disable thinking content and obtain direct replies, refer to the official examples.

For generation parameters, thinking mode recommends temperature=1.0, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=0.0, repetition_penalty=1.0; instruction (non-thinking) mode recommends temperature=0.7, top_p=0.80, top_k=20, min_p=0.0, presence_penalty=1.5, repetition_penalty=1.0. Support for sampling parameters varies by inference framework. Qwen3.8 officially supports reasoning_effort, which adjusts reasoning depth and controls cost: xhigh (default, suitable for complex tasks requiring comprehensive analysis), medium (balances accuracy and speed), low (efficient, optimizing speed and cost). preserve_thinking is enabled by default for all workloads to provide the best out-of-the-box experience; to retain only the thinking blocks of the latest user message, set it to False. In multi-turn agent tasks, lowering reasoning effort does not always reduce overall task completion time; insufficient analysis may lead to more failures and retries, which can instead increase total latency and token consumption.

For ultra-long text processing, Qwen3.8-27B natively supports a context of up to 262,144 tokens. For long-horizon tasks whose total length (including input and output) exceeds this limit, RoPE scaling techniques (such as YaRN) are recommended for long text. YaRN is currently supported by inference frameworks such as vLLM, SGLang, and TokenSpeed, and can be enabled by modifying the rope_parameters field in the model configuration file or by passing command-line arguments. All mainstream open-source frameworks implement static YaRN, meaning the scaling factor does not vary with input length, which may affect performance on short text.

Applicable scenarios include coding and software engineering, professional work and research, long-horizon agent tasks, image and video understanding (such as STEM charts, documents, and hour-level videos), etc. Regarding limitations, the model is a 27B dense model and deployment requires corresponding computing resources; the official managed API service has not yet been officially launched; ultra-long context extension relies on support from technologies such as YaRN and may affect short-text performance; support for sampling parameters varies by inference framework.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools