Qwen3 Max API

256K-context flagship with major improvements in reasoning, instruction following, and multilingual support, plus higher coding/math accuracy.

Alibaba CloudText Generation256K contextSingaporeProprietary Endpoint

About Qwen3 Max

256K-context flagship with major improvements in reasoning, instruction following, and multilingual support, plus higher coding/math accuracy.

reasoningcode interpreterweb search

Qwen3 Max specs

Model ID
qwen3-max
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 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 API

Qwen3 Max 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. 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",
    "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",
    messages=[{"role": "user", "content": "Write a haiku about the ocean."}],
)
print(response.choices[0].message.content)
Full Qwen3 Max API reference

Qwen3 Max API parameters

Request parameters supported by the Qwen3 Max 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.
tool_web_searchbooleanfalse-Search the web for real-time information.
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

Optional web search adds $0.015/call when invoked.

Qwen3 Max API: common questions

How much does the Qwen3 Max API cost?

On EmpirioLabs, Qwen3 Max 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?

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

Is the Qwen3 Max API OpenAI-compatible?

Yes. Qwen3 Max 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.

Can I try Qwen3 Max in the browser before integrating?

Yes. The EmpirioLabs playground runs Qwen3 Max 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 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.