Back to models
Try in Agents
Model · Qwen
Qwen 3 Max
alibaba/qwen3-max
Alibaba's most powerful Qwen 3 model for complex tasks
reasoningvisioncachinglegacy
Specs
Context
262K
Max output
16K
Provider
Qwen
Input
$1.20/ 1M tokens
Output
$6.00/ 1M tokens
Cache read
$0.240/ 1M tokens
Try it
Chat with Qwen 3 MaxTerramind API
⌘+Enter to run
Code
import { streamText } from "ai";
import { createOpenAICompatible } from "@ai-sdk/openai-compatible";
const terramind = createOpenAICompatible({
name: "terramind",
baseURL: "https://terramind.com/api/v1",
apiKey: process.env.TERRAMIND_API_KEY!,
});
const result = streamText({
model: terramind("qwen3-max"),
prompt: "Why is the sky blue?",
});
for await (const chunk of result.textStream) {
process.stdout.write(chunk);
}
Want to run this in your app? Grab an API key · Full chat reference
More by Qwen
| Model | Context | In | Out | Capabilities |
|---|---|---|---|---|
| 131K | $1.00 | $5.00 | reasoningcaching | |
| 256K | $0.500 | $1.20 | ||
| 262K | $0.500 | $1.20 | ||
| 1M | $0.100 | $0.400 | visioncaching | |
| 1M | $0.500 | $3.00 | reasoningvisioncaching | |
| 1M | $2.00 | $6.00 | reasoningvisioncaching | |
| 1M | $4.00 | $12.00 | reasoningvisioncaching | |
| 991K | $0.150 | $0.470 | reasoningvisioncaching |