// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';
puter.ai.chat("Explain quantum computing in simple terms", {
model: "qwen/qwen3-8b"
}).then(response => {
document.body.innerHTML = response.message.content;
});
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.chat("Explain quantum computing in simple terms", {
model: "qwen/qwen3-8b"
}).then(response => {
document.body.innerHTML = response.message.content;
});
</script>
</body>
</html>
# pip install openai
from openai import OpenAI
client = OpenAI(
base_url="https://api.puter.com/puterai/openai/v1/",
api_key="YOUR_PUTER_AUTH_TOKEN",
)
response = client.chat.completions.create(
model="qwen/qwen3-8b",
messages=[
{"role": "user", "content": "Explain quantum computing in simple terms"}
],
)
print(response.choices[0].message.content)
curl https://api.puter.com/puterai/openai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_PUTER_AUTH_TOKEN" \
-d '{
"model": "qwen/qwen3-8b",
"messages": [
{"role": "user", "content": "Explain quantum computing in simple terms"}
]
}'
Model Card
Qwen3 8B is a dense model matching Qwen2.5-14B performance with hybrid thinking modes and 128K context. It offers strong reasoning, coding, and multilingual capabilities in a mid-sized package.
Context Window 41K
tokens
Max Output 8K
tokens
Input Cost $0.05
per million tokens
Output Cost $0.4
per million tokens
Release Date Apr 29, 2025
Output Speed 86
tokens / sec
Latency 0.94s
time to first token
Model Playground
Try Qwen3 8B instantly in your browser.
This playground uses the Puter.js AI API — no API keys or setup required.
Benchmarks
How Qwen3 8B performs on standard evaluations.
| Benchmark | Score |
|---|---|
| GPQA Diamond Graduate-level science Q&A | 45.2% |
| Humanity's Last Exam Cross-domain reasoning | 2.8% |
| LiveCodeBench Recent coding problems | 20.2% |
| SciCode Scientific programming | 16.8% |
| MATH-500 Competition math | 82.8% |
| AIME 2024 Advanced math exam | 24.3% |
| AIME 2025 Advanced math exam | 24.3% |
| IFBench Instruction following | 28.6% |
| LCR Long-context reasoning | 0.0% |
| Terminal-Bench Hard Agentic terminal tasks | 2.3% |
| τ²-Bench Tool use / agents | 24.9% |
Scores sourced from Artificial Analysis.
Find other Qwen models →
Qwen3.6 Plus
Qwen 3.6 Plus is Alibaba's flagship large language model, built on a hybrid architecture combining linear attention with sparse mixture-of-experts routing for high throughput and scalability. It's optimized for agentic coding and complex multi-step workflows. On Terminal-Bench 2.0, it scores 61.6, surpassing Claude 4.5 Opus (59.3), while its 78.8 on SWE-bench Verified places it close behind. It also leads on MCPMark (48.2%) for tool-calling reliability. A native multimodal model, it handles text, images, and documents within a 1M-token context window with up to 65K output tokens. Notable features include always-on chain-of-thought reasoning, native function calling, and a preserve_thinking parameter that retains reasoning across multi-turn agent loops. A strong fit for developers building AI coding agents, terminal automation, and tool-using pipelines.
ChatQwen3.5-9B
Qwen 3.5 9B is a 9-billion parameter open-source multimodal model by Alibaba's Qwen Team, featuring a 262K native context window (extendable to ~1M tokens), support for text, image, and video input, and coverage of 201 languages. It uses a hybrid Gated DeltaNet architecture and outperforms much larger models like Qwen3-30B and OpenAI's gpt-oss-120B on key benchmarks including reasoning, vision, and document understanding.
ChatQwen3.5-122B-A10B
Qwen 3.5 122B (10B Active) is Alibaba's largest medium-sized MoE model, activating only 10B of its 122B total parameters per inference pass. It excels at agentic tasks like tool use and multi-step reasoning, leading the Qwen 3.5 lineup on benchmarks such as BFCL-V4 and BrowseComp. It supports 262K native context (extendable to 1M), native multimodal input, and 201 languages under Apache 2.0.
Frequently Asked Questions
You can access Qwen3 8B by Qwen through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required. You can also use it with Python or cURL via Puter's OpenAI-compatible API.
Yes, it is free if you're using it through Puter.js. With the User-Pays Model, you can add Qwen3 8B to your app at no cost — your users pay for their own AI usage directly, making it completely free for you as a developer.
| Price per 1M tokens | |
|---|---|
| Input | $0.05 |
| Output | $0.4 |
Qwen3 8B was created by Qwen and released on Apr 29, 2025.
Qwen3 8B supports a context window of 41K tokens. For reference, that is roughly equivalent to 82 pages of text.
Qwen3 8B can generate up to 8K tokens in a single response.
Yes — the Qwen3 8B API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.
Get started with Puter.js
Add Qwen3 8B to your app without worrying about API keys or setup.
Read the Docs View Tutorials