Providers / Alibaba Token Plan · All access methods for alibaba/qwen4-max
Qwen4 Max
alibaba-token-plan/qwen4-max Unclassified
models.dev2026-11-30pi.dev2026-11-30
Type chat · Released 2026-11-16
Context window
1,000,000 tokens
Maximum output
262,144 tokens
Price
$0 / $0
Input / output, per 1M tokens
Cache lifetime, short
Unknown
Cache lifetime, long
Unknown
Limits
| Limit | Value |
|---|---|
| Context window The most input one request can carry, in tokens | 1,000,000 tokens |
| Maximum output The most one response can hold. A maximum, not a default | 262,144 tokens |
Limit evaluations tokens
| Date | Route and client | Context | Input accepted | Input refused | Output limit | Requested output accepted | Evidence |
|---|---|---|---|---|---|---|---|
| No limit evaluation on this entry. | |||||||
Price
$0 input·$0 output per 1M tokens
| Charge | Rate |
|---|---|
| Input | $0 / 1M tokens |
| Output | $0 / 1M tokens |
| Reasoning output | Unknown |
| Cache read | Unknown |
| Cache write | Unknown |
Conditional rates
| Condition | Rates | Applies to |
|---|---|---|
| No conditional rates recorded. | ||
Other prices in the source, not shown above (0)
No other prices
Request controls
| Control | Support | Request field | Accepted values | Default | Conditions |
|---|---|---|---|---|---|
| Service tier | Unknown | Unknown | Unknown | Unknown | Unknown |
Source: Unknown
Prompt caching
| Lifetime | Value |
|---|---|
| Cache lifetime, short Without asking for a lifetime, or with the shortest one | Unknown |
| Cache lifetime, long When the request asks for a longer lifetime | Unknown |
Cache evaluations
| Lifetime | Client | Time since the prompt was cached · served from the cache, in percent, with hits/checks | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| At once | 2.5 min | 5 min | 7.5 min | 10 min | 15 min | 20 min | 25 min | 30 min | 40 min | 50 min | 1 h | 1 h 15 | 1 h 30 | 2 h | 4 h | 8 h | 12 h | 24 h | ||
| Short retention | No evaluation | |||||||||||||||||||
| Long retention | No evaluation | |||||||||||||||||||
Checks served from the cache, in percent and as hits/checks, by time since the prompt was cached100 All67 Half or more33 Fewer0 None· Not checked at that ageMethodology
Cache modes
| Mode | Supported | Min. tokens | Breakpoints | Targets |
|---|---|---|---|---|
| Automatic implicit | Unknown | Unknown | Unknown | Unknown |
| Manual explicit | Unknown | Unknown | Unknown | Unknown |
Source: models.dev · Cache modes
Retention
| Control | Support | Request field | Accepted values | Default | Conditions |
|---|---|---|---|---|---|
| Cache retention | Unknown | Unknown | Unknown | Unknown | Unknown |
Source: Unknown
How Pi calls the model
pi.devFetched 2026-11-30 from pi.dev/api/modelsNot verified by providers.devIts limits, prices and cache lifetimes: the last source of each value abovePi's list for qwen-token-plan
| In Pi's catalog | As Pi states it |
|---|---|
| Model Paired by providers.dev: Pi spells the provider or model id otherwise than this entry. | Qwen4 Maxqwen-token-plan/qwen4-max |
Request formatapi: the API Pi speaks to this model, in words and in Pi's word | OpenAI Chat Completionsopenai-completions |
Addressbase_url: where Pi sends requests, placeholders as written | https://token-plan.maas.qwencloudapi.com/compatible-mode/v1 |
| Input What Pi sends to the model, in Pi's words | text image |
| Reasoning Whether Pi treats the model as one that reasons | Yes |
| Thinking levels The value Pi sends for each level it names. A level not named follows Pi's own default. Not the provider's list of effort values |
|
What the provider acceptscompat: what the provider or the model accepts in this request format, as Pi states it. A flag not named follows Pi's own default: it is not false |
|
| What Pi does Pi's own switches, as Pi states them: how Pi builds its requests. Not a statement about the provider | None stated |
| Other flags Flags this page has no words for yet, as Pi states them | None stated |
| Request limits The provider's limits on one request, as Pi states them | None stated |
Provenance
| Provenance | Value |
|---|---|
| Source | models.dev2026-11-30pi.dev2026-11-30 |
| Inherited from | Not inherited |
| Corrections | No corrections |
| Evidence | No evidence |
Data
GET /api/v1/entries/alibaba-token-plan/qwen4-max
Show the full entry as published
{
"id": "qwen4-max",
"name": "Qwen4 Max",
"description": "Flagship multimodal model for coding, office productivity, frontend design, and complex agentic tasks",
"type": "chat",
"family": "qwen-max",
"canonical_id": "alibaba/qwen4-max",
"release_date": "2026-11-16",
"limit": {
"context": 1000000,
"output": 262144
},
"capabilities": {
"temperature": true,
"top_k": true,
"top_p": true,
"structured_output": true,
"stream_usage": true,
"system_updates": false,
"effort_updates": false,
"tools": {
"supported": true
},
"reasoning": {
"supported": true,
"effort": [
"none",
"low",
"high",
"xhigh"
],
"budget": {
"min": 1,
"max": 262144
},
"default": {
"type": "effort",
"value": "high"
}
}
},
"cost": {
"text": {
"input": {
"price": 0
},
"output": {
"price": 0
}
}
},
"modalities": {
"input": [
"text",
"image/bmp",
"image/jpeg",
"image/png",
"image/tiff",
"image/webp",
"image/heic",
"video/mp4",
"video/x-msvideo",
"video/x-matroska",
"video/quicktime",
"video/x-flv",
"video/x-ms-wmv",
"application/pdf"
],
"output": [
"text"
]
},
"api": {
"chat-completions": {
"base_url": "https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1",
"sdk": {
"aisdk": "@ai-sdk/openai-compatible",
"opencodeai": "@opencode/ai/providers/alibaba/chat"
},
"capabilities": {
"tools": {
"choice": [
"auto",
"none",
"tool"
],
"updates": []
}
},
"compatibility": {
"reasoning_field": "reasoning_content"
}
},
"responses": {
"base_url": "https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1",
"sdk": {
"aisdk": "@ai-sdk/openai",
"opencodeai": "@opencode/ai/providers/alibaba/responses"
},
"capabilities": {
"tools": {
"choice": [
"auto",
"none",
"tool"
],
"updates": []
}
}
},
"messages": {
"base_url": "https://token-plan.ap-southeast-1.maas.aliyuncs.com/apps/anthropic/v1",
"sdk": {
"aisdk": "@ai-sdk/anthropic",
"opencodeai": "@opencode/ai/providers/alibaba/messages"
},
"capabilities": {
"tools": {
"choice": [
"auto",
"none",
"required",
"tool"
],
"updates": []
}
}
}
},
"open_weights": false,
"last_updated": "2026-11-16",
"recommended_api": "chat-completions",
"providers_dev": {
"origin": "upstream",
"access": "unknown",
"provenance": [],
"inherited": null,
"cache": {
"documented": {
"support": "unknown",
"modes": {
"implicit": {
"support": "unknown",
"min_tokens": null,
"max_breakpoints": null,
"targets": null
},
"explicit": {
"support": "unknown",
"min_tokens": null,
"max_breakpoints": null,
"targets": null
}
}
},
"retention": {
"support": "unknown",
"parameter": null,
"accepted_values": null,
"default": null,
"profiles": [],
"conditions": [],
"evidence": []
},
"lifetime": {
"short": {
"safe_s": null,
"basis": "none",
"source": null,
"date": null,
"documented_s": null,
"measured_s": null,
"documented_status": null,
"clients": 0,
"evaluations": 0,
"checks": 0,
"hits": 0,
"checks_inside": null,
"hits_inside": null,
"tested_from_s": null,
"first_miss_s": null
},
"long": {
"safe_s": null,
"basis": "none",
"source": null,
"date": null,
"documented_s": null,
"measured_s": null,
"documented_status": null,
"clients": 0,
"evaluations": 0,
"checks": 0,
"hits": 0,
"checks_inside": null,
"hits_inside": null,
"tested_from_s": null,
"first_miss_s": null
},
"lifetimes": []
},
"evaluations": [],
"findings": []
},
"pricing": {
"coverage": "partial",
"billing": "unknown",
"reference_ref": null,
"rules": [
{
"id": "cost.text.input.price",
"when": null,
"meter": "text.input",
"operation": "set",
"amount": 0,
"currency": "USD",
"unit": {
"name": "token",
"quantity": 1000000
},
"applies_to": "all_usage",
"source_path": "cost.text.input.price",
"period": null,
"resulting_rates": null
},
{
"id": "cost.text.output.price",
"when": null,
"meter": "text.output",
"operation": "set",
"amount": 0,
"currency": "USD",
"unit": {
"name": "token",
"quantity": 1000000
},
"applies_to": "all_usage",
"source_path": "cost.text.output.price",
"period": null,
"resulting_rates": null
}
],
"rule_order": "listed",
"unparsed": [],
"evidence": [
{
"kind": "documented",
"url": "https://models.dev",
"date": "2026-11-30",
"note": "The cost models.dev records for this entry. Rules are in the order models.dev applies them: base prices, overrides in their order, then multipliers."
}
]
},
"request_controls": {
"coverage": "unknown",
"items": [
{
"id": "cache.retention",
"support": "unknown",
"when": null,
"bindings": null,
"options": null,
"default": null,
"conditions": [],
"evidence": []
},
{
"id": "service_tier",
"support": "unknown",
"when": null,
"bindings": null,
"options": null,
"default": null,
"conditions": [],
"evidence": []
}
]
},
"limits": {
"measured": [],
"from_measurement": [],
"input_window": {
"tokens": 1000000,
"basis": "documented",
"bound": "limit",
"scope": "window",
"source": "models.dev",
"date": "2026-11-30",
"documented_tokens": 1000000,
"documented_field": "limit.context",
"documented_source": "models.dev",
"documented_date": "2026-11-30",
"documented_status": null,
"measured_tokens": null,
"measured_bound": null,
"measured_kind": null,
"measured_refused": null,
"measured_date": null,
"clients": 0,
"evaluations": 0,
"measurements": []
}
},
"safe": {
"input_window": {
"value": 1000000,
"unit": "tokens",
"at_least": false,
"scope": "window",
"window_tokens": null,
"source": "models.dev",
"date": "2026-11-30",
"agreement": "agree",
"sources": [
{
"source": "models.dev",
"value": 1000000,
"withheld": false,
"at_least": false,
"below": null,
"scope": "window",
"date": "2026-11-30",
"evidence_url": null,
"client": null,
"client_label": null,
"client_kind": null,
"evaluation_id": null
},
{
"source": "pi.dev",
"value": 1000000,
"withheld": false,
"at_least": false,
"below": null,
"scope": "window",
"date": "2026-11-30",
"evidence_url": null,
"client": null,
"client_label": null,
"client_kind": null,
"evaluation_id": null
}
],
"unknown_reason": null
},
"max_output": {
"value": 262144,
"unit": "tokens",
"at_least": false,
"scope": null,
"window_tokens": null,
"source": "models.dev",
"date": "2026-11-30",
"agreement": "agree",
"sources": [
{
"source": "models.dev",
"value": 262144,
"withheld": false,
"at_least": false,
"below": null,
"scope": null,
"date": "2026-11-30",
"evidence_url": null,
"client": null,
"client_label": null,
"client_kind": null,
"evaluation_id": null
},
{
"source": "pi.dev",
"value": 262144,
"withheld": false,
"at_least": false,
"below": null,
"scope": null,
"date": "2026-11-30",
"evidence_url": null,
"client": null,
"client_label": null,
"client_kind": null,
"evaluation_id": null
}
],
"unknown_reason": null
},
"cache_short": {
"value": null,
"unit": "seconds",
"at_least": false,
"scope": null,
"window_tokens": null,
"source": null,
"date": null,
"agreement": "none",
"sources": [],
"unknown_reason": null
},
"cache_long": {
"value": null,
"unit": "seconds",
"at_least": false,
"scope": null,
"window_tokens": null,
"source": null,
"date": null,
"agreement": "none",
"sources": [],
"unknown_reason": null
},
"price": {
"source": "models.dev",
"date": "2026-11-30",
"agreement": "single",
"differs": [],
"sources": [
{
"source": "models.dev",
"withheld": false,
"input": 0,
"output": 0,
"cache_read": null,
"cache_write": null,
"cache_write_lifetimes": [],
"tiers": [],
"date": "2026-11-30",
"evidence_url": null
}
]
},
"differing": []
},
"evidence": [],
"verified": null,
"pi": {
"ref": "qwen-token-plan/qwen4-max",
"provider": "qwen-token-plan",
"model": "qwen4-max",
"match": "alias",
"name": "Qwen4 Max",
"type": "chat",
"api": "openai-completions",
"base_url": "https://token-plan.maas.qwencloudapi.com/compatible-mode/v1",
"reasoning": true,
"input": [
"text",
"image"
],
"context_window": 1000000,
"max_tokens": 262144,
"cost": {
"input": 0,
"output": 0,
"cache_read": 0,
"cache_write": 0,
"tiers": []
},
"thinking_level_map": {
"off": "none",
"minimal": null,
"low": "low",
"medium": null,
"high": "high",
"xhigh": "xhigh",
"max": null
},
"compat": {
"supportsStrictMode": true,
"thinkingFormat": "qwen",
"supportsStore": false,
"supportsReasoningEffort": true
},
"prompt_cache": null,
"input_limits": {
"max_request_bytes": null,
"max_images_per_request": null,
"max_images_per_message": null
},
"differences": [],
"values": [
{
"field": "context_window",
"entry_field": "limit.context",
"unit": "tokens",
"standing": "agrees",
"pi": 1000000,
"pi_tiers": null
},
{
"field": "max_tokens",
"entry_field": "limit.output",
"unit": "tokens",
"standing": "agrees",
"pi": 262144,
"pi_tiers": null
},
{
"field": "cost.input",
"entry_field": "cost.text.input.price",
"unit": "usd_per_million_tokens",
"standing": "silent",
"pi": null,
"pi_tiers": null
},
{
"field": "cost.output",
"entry_field": "cost.text.output.price",
"unit": "usd_per_million_tokens",
"standing": "silent",
"pi": null,
"pi_tiers": null
},
{
"field": "cost.cache_read",
"entry_field": "cost.text.input.cache.read",
"unit": "usd_per_million_tokens",
"standing": "silent",
"pi": null,
"pi_tiers": null
},
{
"field": "cost.cache_write",
"entry_field": "cost.text.input.cache.write",
"unit": "usd_per_million_tokens",
"standing": "silent",
"pi": null,
"pi_tiers": null
},
{
"field": "cost.tiers",
"entry_field": "cost.text",
"unit": "usd_per_million_tokens",
"standing": "silent",
"pi": null,
"pi_tiers": null
},
{
"field": "prompt_cache.short",
"entry_field": "providers_dev.cache.lifetime.short.documented_s",
"unit": "seconds",
"standing": "silent",
"pi": null,
"pi_tiers": null
},
{
"field": "prompt_cache.long",
"entry_field": "providers_dev.cache.lifetime.long.documented_s",
"unit": "seconds",
"standing": "silent",
"pi": null,
"pi_tiers": null
}
]
}
}
}