Seedance 2.0 −20 % | Créez dans le Video Generator →
alibaba
qwen/qwen3-8b

qwen/qwen3-8b

40,960 context · $0.05/M input tokens · $0.40/M output tokens

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,...

Tarification

Paiement à l'usage

Aucun coût initial, payez uniquement ce que vous utilisez

Entrée$0.05 / M Tokens
Sortie$0.40 / M Tokens
Cache Read$0.05 / M Tokens

Essayer le modèle

qwen/qwen3-8b
En ligne
alibaba
Bonjour ! Je suis un assistant IA utile. Que puis-je faire pour vous ?

Utilisation de l'API

Utilisez les exemples de code suivants pour intégrer notre API :

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="qwen/qwen3-8b",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

Introduction au modèle

Qwen qwen3-8b

Qwen3-8B is a dense 8

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, coding, and logical inference, and "non-thinking" mode for general conversation. The model is fine-tuned for instruction-following, agent integration, creative writing, and multilingual use across 100+ languages and dialects. It natively supports a 32K token context window and can extend to 131K tokens with YaRN scaling.


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 32000 context window for long document handling
  • Competitive pricing at $0.0/$0.4 per million tokens

Key Features

  • Context Window: 32000 tokens
  • Max Output: 8192 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderQwen
Model TypeLarge Language Model (LLM)
ArchitectureN/A
Context Window32000 tokens
Max Output8192 tokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$0.0
Output$0.4

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: qwen/qwen3-8b


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="qwen/qwen3-8b",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "qwen/qwen3-8b",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: qwen/qwen3-8b
  • Provider: Qwen

Infos

Fournisseuralibaba
Typellm

Fonctionnalités prises en charge

Entrée
Texte
Sortie
Texte
Contexte40,960
Sortie max8,192
Vision-
Function Calling✓ Pris en charge

Guide d'accès API

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
ID du modèleqwen/qwen3-8b

Qwen3 8b API

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,...

Entrée

$0.05 /M

Sortie

$0.4 /M

Contexte

41K

Sortie max.

8K

Utilisation d'outils

Pris en charge

Essayez Qwen3 8b sur WaveSpeedAI

Accédez à Qwen3 8b via notre API unifiée — compatible OpenAI, sans démarrages à froid, prix transparents.

Questions fréquentes sur Qwen3 8b

Combien coûte l'API Qwen3 8b ?+

Tarification sur WaveSpeedAI : $0.05 par million de tokens d'entrée et $0.40 par million de tokens de sortie. Le prompt caching et le traitement par batch sont facturés séparément et réduisent le coût effectif sur les charges longues et répétitives.

Quelle est la fenêtre de contexte de Qwen3 8b ?+

Qwen3 8b prend en charge jusqu'à 41K tokens de contexte et jusqu'à 8K tokens de sortie par requête.

Qwen3 8b est-il compatible avec OpenAI ?+

Oui. WaveSpeedAI expose Qwen3 8b via un endpoint compatible OpenAI à https://llm.wavespeed.ai/v1. Pointez le SDK officiel d'OpenAI vers cette base URL avec votre clé API WaveSpeedAI — aucune autre modification de code requise.

Comment démarrer avec Qwen3 8b ?+

Connectez-vous à WaveSpeedAI, créez une clé API dans Access Keys, puis envoyez une requête à https://llm.wavespeed.ai/v1/chat/completions avec l'id du modèle affiché ci-dessus. Les nouveaux comptes reçoivent des crédits gratuits pour évaluer Qwen3 8b.

APIs LLM associées