Qwen Max
Qwen
qwen/qwen-max
32K context
Context Window
32K
32,000 tokens
Max Output
8K
8,192 tokens
About this model
Qwen flagship via direct API
This model supports up to 32K tokens of context. It provides strong code generation and debugging capabilities.
Access it through Chuizi.AI with a single ck- API key β no separate Alibaba account needed.
Highlights
32K context window
8K max output
Strong code generation
Best For
Code generationRefactoringDebuggingDocumentation
2024-09-19
Capabilities
ChatCodetools
Aliases
qwen-maxPricing (per 1M tokens)
| Pricing (per 1M tokens) | / 1M tokens |
|---|---|
| Input / 1M | $0.82 |
| Output / 1M | $4.09 |
Final prices shown
Quick Start
main.py
from openai import OpenAI client = OpenAI( base_url="https://api.chuizi.ai/v1", api_key="ck-your-key-here", ) response = client.chat.completions.create( model="qwen/qwen-max", messages=[{"role": "user", "content": "Hello!"}], ) print(response.choices[0].message.content)