Qwen3 Thinking 2507 API

Alibaba's Qwen 3 thinking 2507 is a multilingual reasoning model with knowledge augmentation, and creative capabilities.

Modalities
TextText
In / Out price
$0.4761/$3.7per 1M
Context window
32K tokens
Released
Sep 9, 2025

Qwen3 Thinking 2507 overview

The pelican test: one prompt, every text model, unedited SVG output from Nov 3, 2026.

SVG of a pelican riding a bicycle, written by Qwen3 Thinking 2507 through AI/ML API

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

Qwen3 Thinking 2507 pricing in US dollars
UsagePriceUnit
Input$0.47611M tokens
Output$3.71M 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.

AI/ML API model prices in USD per million tokens
ModelInputOutput
Qwen3 Thinking 2507$0.4761$3.7
Qwen3.8 Omni Flash$0.15$0.47
Qwen3.8-Flash$0.16$0.47
Qwen 3.8 27B$0.4761$3.39
Qwen3.8 Max Prime$4.23$12.7

How to use the Qwen3 Thinking 2507 API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export 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."
    }
  ]
}'

Related articles

All posts

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.

Start building with Qwen3 Thinking 2507

Qwen3 Thinking 2507 API

alibaba/qwen3-235b-a22b-thinking-2507

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export 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."
    }
  ]
}'