---
last_updated: 2026-11-25
source_url: https://opper.ai/alibaba/qwen3-8b
title: "Qwen3 8B by Alibaba"
description: "Qwen3 8B, Alibaba's compact April 2025 dense model that can think step by step or answer directly, a low-cost choice for reasoning, extraction and tool calls."
---

# Qwen3 8B

By [Alibaba](https://opper.ai/alibaba).

Released 29 Apr 2025, 222 days after [Qwen2.5 72B Instruct](https://opper.ai/alibaba/qwen2-5-72b-instruct) · [Announcement](https://github.com/QwenLM/Qwen3) · [All Alibaba releases](https://opper.ai/model-releases/alibaba)

Qwen3 8B is the compact dense model of Alibaba's April 2025 Qwen3 release. It shares the family's hybrid design: a thinking mode that reasons step by step through math, code and logic, and a non-thinking mode for fast direct replies, with tool calling available in both.

Trained on data spanning more than a hundred languages and dialects, it covers classification, extraction, chat and short agent loops where a larger model would be overkill. It is released under Apache 2.0 and suits high-volume workloads that want optional reasoning at small-model cost and latency.

## Available routes

Qwen3 8B runs on 1 route through the Opper gateway. Prices are per 1M tokens. In the EU it is served by Greenference. [See every Qwen model hosted in the EU](https://opper.ai/models/eu/qwen). Its routes and prices, live from the catalogue, are public JSON with no API key needed at https://api.opper.ai/v3/models?q=greenference%2Fqwen3-8b.

| Provider | Model id | Region | Zero data retention | Training | Input | Output | Cache read |
| --- | --- | --- | --- | --- | --- | --- | --- |
| [Greenference](https://opper.ai/provider/greenference) | `greenference/qwen3-8b` | EU | Yes | No | $0.45 | $0.45 | $0.22 |

## Key info

- Model id: `greenference/qwen3-8b`
- Input: Text
- Output: Text
- Features: Reasoning, Tools
- Context window: 41K
- Max output: 33K
- Input price: $0.45 per 1M tokens ($0.22 cache read)
- Output price: $0.45 per 1M tokens
- Released: 29 Apr 2025
- EU residency available
- Zero data retention on pay-as-you-go
- No training by default

## Data handling per route

Each route hosting Qwen3 8B has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

### Greenference — EU

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. EU.

- Zero data retention: Yes. Nothing is logged, held for abuse monitoring or used for training.
- Training: No training on customer data.
- Logging: None
- Abuse monitoring: No classifier
- Caching: Content cached for replay
- Subprocessor access: Subprocessors may read content
- Transfer mechanism: Not applicable — data stays in EU

Verified by Opper on 2026-09-21.

## Benchmarks

Independent benchmark scores via [Artificial Analysis](https://artificialanalysis.ai) ([view on AA](https://artificialanalysis.ai/models/qwen3-8b-instruct-reasoning)). Indices and domain scores are out of 100, Omniscience runs from −100 to 100, Briefcase is an Elo rating, and the other evaluation scores are the share of tasks solved.

- Global rank: #372 of 521 LLMs on the [LLM leaderboard](https://opper.ai/llm-leaderboard)
- Tier: Efficient
- Intelligence Index (previous version): 7.3
- Agentic: 0.1

### Coding

- Terminal-Bench 4.0: 0%
- SciCode: 28%
- LiveCodeBench: 41%

### Agentic & knowledge work

- AutomationBench: 0%
- GDPval: 0%
- GDP.pdf: 1%
- Briefcase (Elo): 0
- Terminal-Bench Hard: 2%
- τ²-Bench Telecom: 28%

### Science & reasoning

- Humanity's Last Exam: 4%
- GPQA Diamond: 59%
- Long-context reasoning: 0%

### Knowledge

- MMLU-Pro: 74%

### Math & instruction following

- AIME 2025: 24%
- IFBench: 34%

## Get started

Call Qwen3 8B through the Opper gateway with one API key. Opper is drop-in compatible with the OpenAI, Anthropic and Google AI SDKs.

Qwen3 8B is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

### Set it up with your agent

Paste this into a coding agent like Claude Code, Cursor or Codex and it will wire up Opper for you:

```text
Use curl to download, read and follow: https://skills.opper.ai Call Qwen3 8B
```

### Or call it directly

OpenAI:

```javascript
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.OPPER_API_KEY,
  baseURL: "https://api.opper.ai/v3/compat",
});

const completion = await client.chat.completions.create({
  model: "greenference/qwen3-8b",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);
```

Anthropic:

```javascript
import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  apiKey: process.env.OPPER_API_KEY,
  baseURL: "https://api.opper.ai/v3/compat",
});

const message = await client.messages.create({
  model: "greenference/qwen3-8b",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Hello" }],
});
console.log(message.content);
```

Gemini:

```javascript
import { GoogleGenAI } from "@google/genai";

const ai = new GoogleGenAI({
  apiKey: process.env.OPPER_API_KEY,
  httpOptions: { baseUrl: "https://api.opper.ai/v3/compat" },
});

const response = await ai.models.generateContent({
  model: "greenference/qwen3-8b",
  contents: "Hello",
});
console.log(response.text);
```

cURL:

```bash
curl https://api.opper.ai/v3/compat/chat/completions \
  -H "Authorization: Bearer $OPPER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "greenference/qwen3-8b",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'
```

## Use Qwen3 8B in your apps

Pick your tool to see how to run it on Qwen3 8B through Opper.

- [Claude Code](https://opper.ai/apps/claude-code/qwen3-8b)
- [Claude Cowork](https://opper.ai/apps/claude-cowork/qwen3-8b)
- [Codex](https://opper.ai/apps/codex/qwen3-8b)
- [DeepSeek Harness](https://opper.ai/apps/deepseek-harness/qwen3-8b)
- [GitHub Copilot CLI](https://opper.ai/apps/github-copilot-cli/qwen3-8b)
- [Aider](https://opper.ai/apps/aider/qwen3-8b)
- [Goose](https://opper.ai/apps/goose/qwen3-8b)
- [Droid](https://opper.ai/apps/droid/qwen3-8b)
- [OpenCode](https://opper.ai/apps/opencode/qwen3-8b)
- [Pi](https://opper.ai/apps/pi/qwen3-8b)
- [OpenClaw](https://opper.ai/apps/openclaw/qwen3-8b)
- [Hermes](https://opper.ai/apps/hermes/qwen3-8b)
- [Copilot for Obsidian](https://opper.ai/apps/obsidian-copilot/qwen3-8b)
- [OmniRoute](https://opper.ai/apps/omniroute/qwen3-8b)
- [Cursor](https://opper.ai/apps/cursor/qwen3-8b)
- [Cline](https://opper.ai/apps/cline/qwen3-8b)
- [Continue](https://opper.ai/apps/continue/qwen3-8b)
- [Kilo Code](https://opper.ai/apps/kilo-code/qwen3-8b)
- [GitHub Copilot](https://opper.ai/apps/github-copilot/qwen3-8b)
- [Zed](https://opper.ai/apps/zed/qwen3-8b)
- [JetBrains AI Assistant](https://opper.ai/apps/jetbrains-ai-assistant/qwen3-8b)
- [Voidleap Code](https://opper.ai/apps/voidleap-code/qwen3-8b)
- [n8n](https://opper.ai/apps/n8n/qwen3-8b)
- [LibreChat](https://opper.ai/apps/librechat/qwen3-8b)
- [Open WebUI](https://opper.ai/apps/open-webui/qwen3-8b)
- [See all apps](https://opper.ai/apps)

## Other models from Alibaba

- [Qwen4-Max](https://opper.ai/alibaba/qwen4-max)
- [Qwen3.8 Max](https://opper.ai/alibaba/qwen3-8-max)
- [Qwen3.8 27B](https://opper.ai/alibaba/qwen3-8-27b)
- [Qwen3.8-2.4T-A95B](https://opper.ai/alibaba/qwen3-8-2-4t-a95b)
- [Qwen3.8 Flash-Next](https://opper.ai/alibaba/qwen3-8-flash-next)
- [Qwen3.7-Max](https://opper.ai/alibaba/qwen3-7-max)
