qwen
Qwen: Qwen3 8B
Qwen3-8B is a dense 8.2B parameter causal language model from the Qwen3 series, designed for both reasoning-heavy tasks and efficient dialogue. It supports seamless switching between "thinking" mode for math,...
Context
131k tokens
Input / 1M tokens
$0.05
Output / 1M tokens
$0.40
Benchmark
—
Pricing
Input tokens$0.05 per 1M tokens
Output tokens$0.40 per 1M tokens
Cache read$0.05 per 1M tokens
Technical details
Model IDqwen/qwen3-8b
Context window131k tokens
Input modalitiestext
Output modalitiestext
TokenizerQwen3
Max output tokens8,192
Use with MegaBrain
import OpenAI from 'openai'
const client = new OpenAI({
baseURL: 'https://getmegabrain.com/api/gateway/v1',
apiKey: process.env.MEGABRAIN_API_KEY,
})
const response = await client.chat.completions.create({
model: 'qwen/qwen3-8b',
messages: [{ role: 'user', content: 'Hello!' }],
})