Qwen3 Max Preview API

Preview release with major gains over the 2.5 series in Chinese-English understanding, complex instructions, multilingual ability, and tool use.

Alibaba CloudText Generation256K contextSingaporeProprietary Endpoint

About Qwen3 Max Preview

Preview release with major gains over the 2.5 series in Chinese-English understanding, complex instructions, multilingual ability, and tool use.

reasoningcode interpreterweb search

Qwen3 Max Preview specs

Model ID
qwen3-max-preview
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 Preview API pricingSave up to 20%

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 $4.80$12.0032K-128K $9.60$15.00128K-256K $12.00
Compare on the full pricing page

How to call the Qwen3 Max Preview API

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

Qwen3 Max Preview API parameters

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

ParameterTypeDefaultRange / valuesDescription
temperaturenumber0.70 to 2Sampling temperature
top_pnumber10 to 1Nucleus sampling
max_tokensnumber40961 to 65536Max output tokens
frequency_penaltynumber0-2 to 2Penalty for repeated tokens. >0 reduces repetition, <0 encourages it.
presence_penaltynumber0-2 to 2Penalty for new vs. seen tokens. >0 encourages new topics, <0 encourages staying on topic.
stopstring--Comma-separated stop sequences
enable_thinkingbooleantrue-Model thinks step-by-step before responding.
tool_code_interpreterbooleanfalse-Allow the model to write and execute Python code.
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

Deep thinking + code interpreter both available as opt-in toggles.

Qwen3 Max Preview API: common questions

How much does the Qwen3 Max Preview API cost?

On EmpirioLabs, Qwen3 Max Preview 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 $4.80 (was $6.00); 32K-128K $9.60 (was $12.00); 128K-256K $12.00 (was $15.00) per 1M generated tokens. The live rate card on this page always matches what the API charges.

What is the context window of Qwen3 Max Preview?

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

Is the Qwen3 Max Preview API OpenAI-compatible?

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

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

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