Qwen 3 Max Thinking now available on AI Gateway

1 min read

You can now access Qwen 3 Max Thinking via AI Gateway with no other provider accounts required.

Qwen 3 Max Thinking integrates thinking and non-thinking modes for improved performance on complex reasoning tasks. The model autonomously selects and uses its built-in search, memory, and code interpreter tools during conversations without requiring manual tool selection. The tools reduce hallucinations and provide real-time information.

To use this model, set model to alibaba/qwen3-max-thinking in the AI SDK:

import { streamText } from 'ai'
const { textStream } = await streamText({
model: 'alibaba/qwen3-max-thinking',
prompt:
`Research a current topic, verify facts, remember a user preference,
and include a short code snippet to support the explanation.`,
})

AI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations for higher-than-provider uptime. It includes built-in observability, Bring Your Own Key support, and intelligent provider routing with automatic retries.

Learn more about AI Gateway, view the AI Gateway model leaderboard or try it in our model playground.