Qwen3 Thinking 2507 overview
Qwen3 Thinking 2507 specs
- Model ID
alibaba/qwen3-235b-a22b-thinking-2507- Developer
- Alibaba Cloud
- Context window
- 32,000 tokens
- Max output
- 16,000 tokens
- Input
- Text
- Output
- Text
- API
- OpenAI-compatible, base URL
https://api.aimlapi.com/v1
What is Qwen3 Thinking 2507 API?
Alibaba's Qwen 3 thinking 2507 is a multilingual reasoning model with knowledge augmentation, and creative capabilities.
Where to Use Qwen3 Thinking 2507
Coding and code review
Generate, debug, and review code across languages, reading whole files or repos in a single prompt.
Use cases
Complex mathematical problem solving and scientific reasoning are documented use cases for Qwen3-235B-A22B-Thinking-2507, with the model described as improved for mathematical, science, and coding tasks and for “high-difficulty, strong-thinking scenarios.”
Coding and advanced software-development work are also stated use cases, including advanced coding challenges, algorithm development, and code generation across complex software engineering tasks.
Long-document analysis and deep research are listed as suitable applications, with the model described as supporting deep, long-form understanding and long-document analysis.
Tool-enabled agentic workflows are another documented fit, including tool use, function calling, structured JSON output, and integration with agent frameworks.
Capabilities
- Function calling
- Streaming
- Structured outputs
- Web search
Qwen3 Thinking 2507 API pricing
| Usage | Price | Unit |
|---|---|---|
| Input | $0.4761 | 1M tokens |
| Output | $3.7 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
Qwen3 Thinking 2507 vs other models: token prices
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $0.4761 | $3.7 | |
| $0.15 | $0.47 | |
| $0.16 | $0.47 | |
| $0.4761 | $3.39 | |
| $4.23 | $12.7 |
How to use the Qwen3 Thinking 2507 API
View docsBuild with your agent
Give your agent the model details, code and documentation.
1Get your API key
Create API keyexport AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"2Make your first request
curl 'https://api.aimlapi.com/v1/chat/completions' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "alibaba/qwen3-235b-a22b-thinking-2507",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "alibaba/qwen3-235b-a22b-thinking-2507",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}
response = requests.post("https://api.aimlapi.com/v1/chat/completions", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "alibaba/qwen3-235b-a22b-thinking-2507",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Related articles
Qwen3 Thinking 2507 FAQ
What is the context window of Qwen3 Thinking 2507?
Qwen3 Thinking 2507 has a 32,000 tokens context window and can return up to 16,000 tokens.
What inputs and outputs does Qwen3 Thinking 2507 support?
Qwen3 Thinking 2507 takes text as input and returns text.
What is the model ID for Qwen3 Thinking 2507?
Use alibaba/qwen3-235b-a22b-thinking-2507 as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
When was Qwen3 Thinking 2507 released?
Qwen3 Thinking 2507 became available on September 9, 2025.
How much does Qwen3 Thinking 2507 cost?
Qwen3 Thinking 2507 costs $0.4761 input and $3.7 output per 1M tokens on AI/ML API, billed as you go with no subscription.
Does Qwen3 Thinking 2507 support streaming?
Yes, Qwen3 Thinking 2507 can stream responses as they are generated.
Who created Qwen3 Thinking 2507?
Qwen3 Thinking 2507 was built by Alibaba Cloud.
Can Qwen3 Thinking 2507 be used with streaming and tool calling together?
Yes, it supports streaming responses along with tool use, including parallel tool calls.

