Qwen3-8B Architecture Parameters, Benchmarks & VRAM
Fast 8.2B model running smoothly on 8GB GPUs and 16GB unified memory.
🧬 Qwen3-8B Architecture & Tensor Specifications
Verified directly against HuggingFace (Qwen/Qwen3-8B) config.json & Model Card
1. Backbone & Dimensions
qwen3- Total / Active Params
- 8.2B (Dense)
- Non-Embedding Params
- 6.95B
- Hidden Size (d_model)
- 4,096
- FFN Intermediate Size
- 12,288
- Activation / Norm
- SiLU (SwiGLU) · ε=1e-6
- Native Tensor Dtype
- BF16
2. Attention & Layer Layout
GQA- Num Hidden Layers
- 36 Layers
- Hidden Layer Layout
- 36-Layer Compact Dense Transformer (GQA + SwiGLU + QK-Norm)
- Attention Heads (Q / KV)
- 32 Q / 8 KV (4:1 GQA)
- Head Dimension
- 128
3. Context, RoPE & Tokenizer
Tokenizer- Native Context Length
- 32,768 tokens
- Max Extended Context
- 131,072 tokens
- RoPE Configuration
- RoPE (θ=1,000,000 · 原生 32K · YaRN 4x→128K)
- Vocab Size
- 151,936 (Untied)
- Special Token IDs
- BOS: 151643 · EOS: [151645,151643] · PAD: 151643
- Language Support
- 119 languages & dialects
📋 Qwen3-8B Official API & System Card Specifications
Verified against official Alibaba Qwen developer documentation & pricing
1. Identity & Capabilities
API Spec- API Model ID
- Qwen/Qwen3-8B
- Release Date
- 2025-04-29
- Weight License
- Open-Weight (API Spec)
- Native Reasoning
- ✅ Supported
- Function Calling & JSON Schema
- ✅ 原生支持
- Batch API 异步批处理
- ✅ Supported (50% off)
2. Context, Output & Modalities
Limits- Max Context Window
- 128,000 tokens (128K)
- Max Output Tokens
- 131,000 tokens
- Input Modalities
- Text
- Output Modalities
- Text
- Direct China Access
- ✅ Direct CN + RMB
- Deployment Mode
- Open-Weight + Cloud API
3. Official Pricing & Cache
CNY / 1M- Input / 1M Tokens
- ¥ 0
- Cached Input / 1M
- ¥ 0
- Output / 1M Tokens
- ¥ 0
- Tiered Pricing Notes
- SiliconFlow: 100% Free tier (rate-limited)
🏆 Official Benchmark Results
Sourced from official System Card / Model Card & technical reports
An improved version of the MMLU benchmark featuring manually re-annotated questions to identify and correct errors in the original dataset. Provides more reliable evaluation metrics for language models by addressing dataset quality issues found in the original MMLU.
C-Eval is a comprehensive Chinese evaluation suite designed to assess advanced knowledge and reasoning abilities of foundation models in a Chinese context.
PhD-level Google-proof science reasoning questions
MATH-500 is a subset of the MATH dataset containing 500 challenging competition mathematics problems from AMC 10, AMC 12, AIME, and other mathematics competitions.
American Invitational Mathematics Examination 2024, consisting of 30 challenging mathematical reasoning problems from AIME I and AIME II competitions.
All 30 problems from the 2025 American Invitational Mathematics Examination (AIME I and AIME II), testing olympiad-level mathematical reasoning with integer answers from 000-999.
LiveCodeBench is a holistic and contamination-free evaluation benchmark for large language models for code.
Berkeley Function Calling Leaderboard v3 (BFCL-v3) is an advanced benchmark that evaluates large language models' function calling capabilities through multi-turn and multi-step interactions.
🎛️ Official Sampling & Reasoning Parameters
Recommended generation settings & API parameter constraints
💡 Do NOT use greedy decoding (temp=0); use 38,912 max tokens for competition math/code.
💡 Recommended for fast general chat; presence_penalty 0~2 reduces repetition.
⚡ Qwen3-8B Interactive VRAM & Token Speed Calculator
Physical 32 GB · Load 25.3%
Actual speed varies ~±25% by runtime
Enable Q8/Q4 KV quantization to scale batch concurrency