Qwen3 Max Thinking API

Reasoning model with adaptive tool use (search, memory, code interpreter) and test-time scaling for higher accuracy on complex tasks.

Alibaba CloudText Generation256K contextSingaporeProprietary Endpoint

About Qwen3 Max Thinking

Reasoning model with adaptive tool use (search, memory, code interpreter) and test-time scaling for higher accuracy on complex tasks.

reasoningcode interpreterweb searchthinking

Qwen3 Max Thinking specs

Model ID
qwen3-max-thinking
Provider
Alibaba Cloud
Category
Text Generation
Context window
256K tokens
Max output
65,536 tokens
Input
text
Output
text
Region
Singapore
Endpoints
POST /v1/chat/completions
POST /v1/responses
POST /v1/messages

Qwen3 Max Thinking API pricingSave up to 10%

Live pay-as-you-go rates from the EmpirioLabs catalog. You are billed only for what you use, with no monthly minimum.

Type
Spec
Rate
Input
per 1M prompt tokens
$1.20<=32K $1.08$2.4032K-128K $2.16$3.00128K-256K $2.70
Output
per 1M generated tokens
$6.00<=32K $5.52$12.0032K-128K $11.04$15.00128K-256K $13.80
Web Search
per request
$0.015
Compare on the full pricing page

How to call the Qwen3 Max Thinking API

Qwen3 Max Thinking serves the OpenAI-compatible Chat Completions API. Point any OpenAI SDK at https://api.empiriolabs.ai/v1 with your EmpirioLabs API key and use the model id qwen3-max-thinking. Get an API key from the EmpirioLabs dashboard.

cURL
curl https://api.empiriolabs.ai/v1/chat/completions \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3-max-thinking",
    "messages": [
      {"role": "user", "content": "Write a haiku about the ocean."}
    ]
  }'
Python (OpenAI SDK)
from openai import OpenAI

client = OpenAI(
    base_url="https://api.empiriolabs.ai/v1",
    api_key="YOUR_EMPIRIOLABS_API_KEY",
)

response = client.chat.completions.create(
    model="qwen3-max-thinking",
    messages=[{"role": "user", "content": "Write a haiku about the ocean."}],
)
print(response.choices[0].message.content)
Full Qwen3 Max Thinking API reference

Qwen3 Max Thinking API parameters

Request parameters supported by the Qwen3 Max Thinking API on EmpirioLabs. Defaults apply when a field is omitted.

ParameterTypeDefaultRange / valuesDescription
temperaturenumber0.70 to 2Sampling temperature. 0 = deterministic, 2 = maximum randomness.
top_pnumber0.90 to 1Nucleus sampling probability mass. Lower = more focused.
max_tokensnumber40961 to 65536Maximum tokens in the response.
stopstring--Up to 4 strings where the model will stop generating further tokens.
enable_thinkingbooleantrue-Enable extended thinking mode. Slower but improves reasoning-heavy tasks.
tool_web_searchbooleanfalse-Allow the model to perform web searches when needed.
web_search_modeenumstandardstandard, thoroughstandard = single search, thorough = multiple deeper searches.
tool_code_interpreterbooleantrue-Allow the model to execute Python code in a sandbox to compute / analyze data.
tool_web_extractorbooleantrue-Allow the model to fetch and read content from URLs it discovers.
disable_formattingbooleanfalse-Skip the EmpirioLabs Markdown formatting (citation [[N]](url) rewriting + References block when web search / tools were used). The raw upstream answer with plain [N]...

Good to know

Web search modes: Standard (efficient) or Thorough (comprehensive, requires thinking).

Qwen3 Max Thinking API: common questions

How much does the Qwen3 Max Thinking API cost?

On EmpirioLabs, Qwen3 Max Thinking is billed pay as you go: Input <=32K $1.08 (was $1.20); 32K-128K $2.16 (was $2.40); 128K-256K $2.70 (was $3.00) per 1M prompt tokens; Output <=32K $5.52 (was $6.00); 32K-128K $11.04 (was $12.00); 128K-256K $13.80 (was $15.00) per 1M generated tokens; Web Search $0.015 per request. The live rate card on this page always matches what the API charges.

What is the context window of Qwen3 Max Thinking?

Qwen3 Max Thinking supports a 256K-token context window with up to 65,536 output tokens per response.

Is the Qwen3 Max Thinking API OpenAI-compatible?

Yes. Qwen3 Max Thinking serves the OpenAI-compatible Chat Completions API, so existing OpenAI SDKs work by pointing base_url at https://api.empiriolabs.ai/v1 and setting the model id to qwen3-max-thinking.

Can I try Qwen3 Max Thinking in the browser before integrating?

Yes. The EmpirioLabs playground runs Qwen3 Max Thinking in the browser with the same parameters the API exposes, so you can test prompts before writing code.

How do I get a Qwen3 Max Thinking API key?

Create an EmpirioLabs account, then generate a key under API Keys in the dashboard. Billing is pay-as-you-go credits, so you only pay for the requests you make.

Ready to use better endpoints?

Explore our models, or contact us about business inquiries, custom deployments, or anything else.