Cloud Infrastructure Cost Audit: Alibaba vs Claude Max
Audit date: 6 August 2026
Executive conclusion
On auditable unit economics, Alibaba wins decisively:
- Alibaba Coding Plan provides the lowest predictable cost per model call.
- Alibaba Token Plan Pro provides the best economics for repeatedly reusing a large cached codebase, particularly with Qwen 3.7‑Plus.
- Claude Max is a capability subscription, not a transparent compute allocation. Anthropic does not publish the token, compute, or dollar-equivalent quantity contained in either Max tier.
For one developer running a 100K-token repository through long interactive sessions, Alibaba Token Pro is probably the strongest raw-capacity option. For sustained Claude Code use where Claude's task-completion quality is itself the deciding factor, Max 5× is reasonable. Max 20× is primarily justified by Opus use or sustained parallel agents — not by transparent cost efficiency.
1. Hard quota and unit-math comparison
| Plan | Price | Meter | Five-hour limit | Longer-term limit | Full-utilization unit economics |
|---|---|---|---|---|---|
| Alibaba Coding Plan | $50/mo | Model calls | 6,000 rolling | 45,000/wk · 90,000/mo | $0.000556 per call |
| Alibaba Token Personal Pro | $70/mo | Credits (model, tokens, thinking, tools) | 12,000 rolling | 40,000 rolling/7 days | $0.000408 per credit |
| Claude Max 5× | $100/mo | Undisclosed weighted usage | 5× Pro session capacity | Undisclosed weekly limits | Not calculable publicly |
| Claude Max 20× | $200/mo | Undisclosed weighted usage | 20× Pro session capacity | Undisclosed weekly limits | Not calculable publicly |
Alibaba states that a single top-level Coding Plan query normally produces 5–10 underlying model calls for simple tasks and 10–30 or more for complex tasks. Its five-hour allowance rolls continuously, while weekly and monthly quotas have fixed reset points. Source
For Token Pro, a continuously utilized 40,000-credit seven-day allowance yields:
40,000 × 30/7 = 171,429 credits per 30 days
$70 / 171,429 = $0.000408 per consumed credit
This is theoretical maximum utilization. Credits that are not used before their rolling capacity becomes available again have no stored value.
Anthropic currently publishes only "5× Pro" and "20× Pro," plus the existence of weekly limits. It explicitly retains discretion to apply additional model, feature, weekly, or monthly restrictions. Source
Older Anthropic documentation quoted approximately 50–200 Claude Code prompts per five hours for Max 5× and 200–800 for Max 20×. Those numbers should not be treated as current hard quotas: Anthropic subsequently doubled Claude Code five-hour limits in May 2026, while its current documentation removed numeric prompt estimates. Source
Effective Coding Plan capacity
At full monthly utilization:
| Workload amplification | Effective top-level tasks/month | Average/day |
|---|---|---|
| 5 calls per task | 18,000 | 600 |
| 10 calls per task | 9,000 | 300 |
| 30 calls per task | 3,000 | 100 |
For a 40-turn coding session, assuming each user turn causes 5–30 underlying model calls:
| Calls per user turn | Calls per 40-turn session | Sessions/month | Sessions/day |
|---|---|---|---|
| 5 | 200 | 450 | 15 |
| 10 | 400 | 225 | 7.5 |
| 30 | 1,200 | 75 | 2.5 |
That call amplification, rather than token count, is the principal risk in the Coding Plan.
2. Billing mechanics
Alibaba Coding Plan
The Coding Plan is effectively token-insensitive but call-sensitive.
A 6,000-token response and a 500-token response cost the same when both are produced by one model call. A 100K-token cached prompt and a 2K prompt also consume one call each from the subscription quota.
However, verbosity still has an indirect effect. Longer reasoning can cause more tool calls, retries, validation passes, file reads, and model continuations. Alibaba counts those underlying calls, not merely the visible message you submitted.
Alibaba Token Plan
The Token Plan is directly sensitive to:
- Uncached input tokens
- Cached input tokens
- Generated output and reasoning tokens
- Model selected
- Thinking mode
- Tool calls
Alibaba does not publish a complete Personal Plan model-to-credit coefficient table. It says that the console bill is the source of truth. Its public Qwen 3.6-Plus metering example reports:
- 8,349 input tokens: 1.67 credits
- 40,794 cached tokens: 0.82 credits
- 573 output tokens: 0.69 credits
That implies approximately:
- 200 credits per million normal input tokens
- 20 credits per million cached tokens
- 1,200 credits per million output tokens
This example is from the Team Token Plan and Alibaba warns that coefficients vary by model, so it is an audit anchor rather than a guaranteed Personal Plan tariff. Source
Claude Max
Claude Max has a fixed invoice but not flat consumption.
Anthropic states that usage depends on message length, conversation length, attached files, model, tools, and project complexity. Claude, Claude Code, and IDE sessions also draw from the same account allowance. When the allowance is exhausted, the user must wait, upgrade, or continue at standard API rates through separate usage credits. Source
3. Prompt-cache economics
Both providers offer essentially the same explicit five-minute cache economics:
| Cache operation | Alibaba | Anthropic |
|---|---|---|
| Five-minute cache write | 1.25× normal input | 1.25× normal input |
| Cache hit | 0.10× normal input | 0.10× normal input |
| Effective hit discount | 90% | 90% |
Alibaba's automatic implicit cache is less attractive: cache hits cost 20% of normal input and hit probability is not guaranteed. Explicit and implicit Alibaba caching cannot be combined. Source
For a long CLI session, cache discipline is therefore critical:
- Keep the repository/system prefix byte-for-byte stable.
- Put changing instructions after the cached prefix.
- Avoid changing tool definitions or system prompts unnecessarily.
- Keep successive turns inside the cache TTL.
- Warm the cache before releasing parallel sub-agents.
4. Long-context benchmark
Benchmark definition
The benchmark models:
- 100,000-token reusable repository prefix
- 40 consecutive turns
- 2,000 fresh input tokens per turn
- Explicit five-minute caching
- Concise output: 2,000 tokens per turn
- Verbose output: 6,000 tokens per turn
| Token category | Quantity |
|---|---|
| Initial cache write | 100,000 |
| Fresh input over 40 turns | 80,000 |
| Cached prefix reads | 3,900,000 |
| Concise output | 80,000 |
| Verbose output | 240,000 |
Alibaba modeled credit burn
Because Alibaba does not publish exact Personal Plan credit coefficients, the following estimates normalize the public Qwen 3.6 credit example using current Model Studio list-price ratios:
- Qwen 3.7-Plus: $0.40/M input and $1.60/M output versus Qwen 3.6-Plus at $0.50/$3.00.
- Qwen 3.8-Max: $2.00/M input and $6.00/M output. Source
These are planning estimates, not published Personal Plan deduction coefficients.
| Model | Concise session | Verbose session | Verbosity increase | Sessions per 7-day quota (concise / verbose) |
|---|---|---|---|---|
| Qwen 3.7-Plus | 146 credits | 249 credits | +70% | 273 / 161 |
| Qwen 3.8-Max | ~668 credits | ~1,052 credits | +57% | ~60 / ~38 |
Sustainable daily averages under the 40,000-credit rolling seven-day limit
| Model | Standard-hours sessions/day | Off-peak sessions/day |
|---|---|---|
| Qwen 3.7-Plus, concise | 39.0 | 97.6 |
| Qwen 3.7-Plus, verbose | 23.0 | 57.4 |
| Qwen 3.8-Max, concise | 8.6 | 42.9 |
| Qwen 3.8-Max, verbose | 5.4 | 27.1 |
Alibaba currently applies 0.4× credit consumption to Qwen 3.7-Plus and 0.2× to Qwen 3.8-Max between 22:00 and 08:00 UTC+8. In Lisbon during August, that corresponds approximately to 15:00–01:00 local time. Source
Claude API-equivalent resource value
Claude Max does not disclose how these sessions translate into its included quota. Nevertheless, current API rates provide a useful shadow value:
| Claude model | Concise API-equivalent cost | Verbose API-equivalent cost | Verbosity increase |
|---|---|---|---|
| Sonnet 5 | $1.99 | $3.59 | +80% |
| Opus 5 | $4.98 | $8.98 | +80% |
These calculations use the current Sonnet 5 introductory rates of $2/M input and $10/M output and Opus 5 rates of $5/M input and $25/M output, including the 1.25× initial cache write and 0.1× cache reads. Sonnet pricing rises to $3/$15 after August 31, 2026. Source
At API-equivalent prices, $100 represents approximately:
- 50 concise or 28 verbose Sonnet sessions
- 20 concise or 11 verbose Opus sessions
This does not mean Max 5× contains those exact quantities. It shows the compute value that Anthropic would charge through its transparent API meter.
Sonnet 5 also uses a tokenizer that produces approximately 30% more tokens than Sonnet 4.6 for identical text. Repository sizes estimated using an older Claude tokenizer should therefore be remeasured. Source
5. The verbosity-tax audit
Moving from 2,000 to 6,000 output tokens across 40 turns adds 160,000 output tokens.
| Meter | Incremental burn |
|---|---|
| Alibaba Coding Plan | No direct additional quota, unless extra model calls occur |
| Qwen 3.7-Plus Token Plan estimate | +102 credits |
| Qwen 3.8-Max Token Plan estimate | +384 credits |
| Claude Sonnet 5 API equivalent | +$1.60 |
| Claude Opus 5 API equivalent | +$4.00 |
| Claude Max subscription | Earlier exhaustion of undisclosed session/weekly quota |
The Alibaba Coding Plan is therefore unusually attractive for models that generate long answers without spawning many additional calls.
The Token Plan behaves differently. Output tokens are materially more expensive than cached input. Under the public Qwen credit anchor, one million output tokens consumes approximately as many credits as:
- Six million normal input tokens, or
- Sixty million cache-hit input tokens
For Claude Max, conciseness has no immediate marginal cash cost while below the limit, but it extends the usable session and weekly allowance. Once the included limit is reached, continued usage is charged at API rates, making the hidden verbosity tax explicit. Source
6. Parallel multi-agent workflows
Coding Plan call consumption
Assume one decomposition launches 4–8 agents, each making 10–30 calls:
| Agents | Calls per decomposition |
|---|---|
| 4 | 40–120 |
| 6 | 60–180 |
| 8 | 80–240 |
This produces the following theoretical capacity before coordinator calls, retries, and validation:
| Quota | Multi-agent decompositions |
|---|---|
| 6,000 calls/5 hours | 25–150 |
| 90,000 calls/month | 375–2,250 |
The wide range shows why visible prompt count is a poor predictor of Coding Plan consumption.
Token Plan multi-agent benchmark
Assume every agent receives the 100K repository prefix, performs 15 turns, adds 2K fresh input per turn, and generates either 2K or 6K output per turn.
| Model | 4 agents | 6 agents | 8 agents |
|---|---|---|---|
| Qwen 3.7-Plus | 266–419 | 398–629 | 531–838 |
| Qwen 3.8-Max | 1,232–1,810 | 1,849–2,714 | 2,465–3,619 |
The ranges represent concise-to-verbose output. During Alibaba's discounted window, multiply Plus figures by 0.4 and Max figures by 0.2.
A single 4–8-agent batch therefore fits inside the Token Pro 12,000-credit five-hour ceiling. Repeated 3.8-Max-model batches can still consume the window quickly. Alibaba markets Pro as supporting approximately 6–8 concurrent agents, but this should be treated as a design target rather than guaranteed throughput or latency. Source
Claude Max parallelism
All Claude, Claude Code, and supported IDE usage shares the same account-level allowance. Four to eight sub-agents do not receive separate Max quotas. Each agent creates its own generated history, reasoning, tools, and output, so consumption generally scales roughly with the number of active agents even when a common repository prefix is cached. Source
Therefore:
- Max 5×: acceptable for occasional 4-agent bursts.
- Max 20×: the defensible Claude choice for persistent 4–8-agent execution.
Neither tier provides a throughput SLA or auditable agent-hour capacity.
7. Break-even volume analysis
Hard cash-flow breakpoints
Subscription pricing creates a step function rather than a smooth token crossover.
Alibaba Coding versus Claude Max
Alibaba Coding remains cheaper than either Claude Max tier while the workload stays under:
- 6,000 calls in any rolling five hours
- 45,000 calls per week
- 90,000 calls per month
- Approximately 3,000 calls per sustained calendar day
Claude Max 5× becomes cheaper in monthly cash terms only when:
- The Coding Plan no longer provides sufficient capacity;
- The equivalent workload still fits inside Max 5×'s undisclosed limits; and
- The alternative is buying both Alibaba Coding and Token Pro for approximately $120/month.
At that point, Max 5× is $20 cheaper than the two Alibaba subscriptions combined. Before that point, the $50 Alibaba subscription has the lower invoice.
Alibaba Token Pro versus Claude Max
Token Pro remains cheaper while usage stays below:
- 12,000 credits per rolling five hours
- 40,000 credits per rolling seven days
- Approximately 5,714 sustained credits/day
Under the benchmark, those limits correspond approximately to:
| Workload | Standard-hours sustainable volume/day | Off-peak volume/day |
|---|---|---|
| Qwen 3.7-Plus concise | 39 sessions | 98 |
| Qwen 3.7-Plus verbose | 23 sessions | 57 |
| Qwen 3.8-Max concise | 8.6 sessions | 43 |
| Qwen 3.8-Max verbose | 5.4 sessions | 27 |
Capacity-normalized Claude break-even
Because Anthropic does not disclose Max capacity, the break-even must be expressed as the capacity Max would need to deliver.
For Max to have a lower effective cost per completed benchmark session than Alibaba at full utilization:
| Alibaba comparison | Max 5× must deliver more than | Max 20× must deliver more than |
|---|---|---|
| Coding Plan, 5 calls/turn | 30 sessions/day | 60/day |
| Coding Plan, 10 calls/turn | 15/day | 30/day |
| Coding Plan, 30 calls/turn | 5/day | 10/day |
| Token Pro, Plus concise | 55.8/day | 111.5/day |
| Token Pro, Plus verbose | 32.8/day | 65.6/day |
| Token Pro, 3.8-Max concise | 12.3/day | 24.6/day |
| Token Pro, 3.8-Max verbose | 7.7/day | 15.4/day |
The Alibaba Token figures above use standard-hour consumption. During discounted hours, the Claude requirement rises by:
- 2.5× against Qwen 3.7-Plus
- 5× against Qwen 3.8-Max
Since Anthropic does not publish whether Max 5× or 20× can deliver those benchmark-session quantities, a more precise public break-even claim would be fabricated. The current account's /status and Settings → Usage data must be measured against a repeatable trace.
Coding Plan versus Token Pro within Alibaba
For the common Qwen 3.7-Plus model, the modeled crossover is particularly revealing.
For a 40-turn cached session:
- Token Pro concise crossover: approximately 1.9 model calls per user turn
- Token Pro verbose crossover: approximately 3.3 calls per user turn
Alibaba says actual tasks commonly require 5–30 underlying calls. Consequently, for long Qwen 3.7-Plus agent sessions, Token Pro should provide more session capacity than the Coding Plan despite costing $20 more.
The Coding Plan wins when interactions are simple and close to one direct completion per turn. Token Pro wins when tools, file exploration, testing, and retries amplify each visible turn into several model calls.
8. Final verdict
| Workload | Recommendation | Rationale |
|---|---|---|
| Short or medium coding tasks, limited tool use | Alibaba Coding Plan | Lowest price and predictable call meter; no direct output-token tax |
| 100K+ repository, 30–50 turns, frequent cache reuse | Alibaba Token Pro with Qwen 3.7-Plus | Cached context becomes very cheap; higher effective session capacity than request billing |
| Flagship Qwen reasoning, workload can run 15:00–01:00 Lisbon time | Token Pro with Qwen 3.8-Max off-peak | The 0.2× credit multiplier offsets much of the flagship-model premium |
| Quality-critical Claude Code use by one developer | Claude Max 5× | Pay for Claude-native capability and workflow integration, not transparent compute economics |
| Persistent Opus use or 4–8 Claude sub-agents | Claude Max 20× | Greater headroom, although quota remains opaque |
| Actual team sharing or production automation | None of these individual plans | Use Alibaba Team Token/API or Claude Team/Enterprise/API |
Alibaba's Coding and Personal Token plans prohibit API-key sharing and non-interactive backend or batch automation. Claude Max is likewise explicitly an individual consumer plan. A team may run several agents under one developer's control, but sharing the subscription across developers or treating it as production infrastructure is a governance and contractual mismatch. Source
Procurement decision
- Best raw unit economics: Alibaba Coding Plan.
- Best long-context and multi-agent economics: Alibaba Token Pro using Qwen 3.7-Plus, explicit caching, and off-peak scheduling.
- Best Claude-specific developer experience: Claude Max 5×.
- Best Claude option for persistent parallel execution: Claude Max 20×, but it should be purchased because Claude produces better completed engineering outcomes — not because its published quota economics are superior.
Sources and references
- Alibaba Coding Plan documentation: Alibaba Cloud
- Alibaba Token Plan Personal overview: Alibaba Cloud
- Alibaba Token Plan overview (team, metering example): Alibaba Cloud
- Alibaba model pricing (Qwen 3.7-Plus, Qwen 3.8-Max): Alibaba Cloud
- Alibaba context cache documentation: Alibaba Cloud
- Token Plan Individual off-peak discounts: Model Studio
- Claude Max plan overview: Claude Help Center
- Using Claude Code with Pro or Max plan: Claude Help Center
- Managing usage credits for paid Claude plans: Claude Help Center
- Anthropic pricing (Sonnet 5, Opus 5): Anthropic
- Migrating to Claude 4 (tokenizer changes): Claude Platform Docs
Related
- AI coding plan comparison — the full sortable table of plans, limits, and model scores across 9 providers.
- AI coding economics 2026 — how a 32M-token daily workload exposes the real math behind pay-as-you-go and flat-rate plans.
- Cheapest way to run AI code generation (2026) — broader guide across subscription, API, self-hosted, and coding plan categories.
- Prompt caching economics — when prompt caching pays off and when it doesn't.
- Caching strategies compared — explicit vs implicit vs semantic caching.
- The true cost of coding agents — API bills, retries, review, and technical debt.
- LLM API pricing tracker — live view of provider unit prices.
Want this applied to your own LLM spend? FinOps LLM runs a free audit of your AI costs and shows where the savings are. Book free audit →
FAQ
Which AI coding plan has the lowest unit cost?
Alibaba Coding Plan at $50/month provides the lowest predictable cost per model call at $0.000556 per call. Alibaba Token Plan Pro at $70/month provides the best economics for repeatedly reusing a large cached codebase, particularly with Qwen 3.7-Plus at approximately $0.000408 per credit at theoretical continuous utilization.
How does Alibaba Token Pro compare to Claude Max on a per-session basis?
Under a 100K-token repository benchmark with 40 turns, Qwen 3.7-Plus consumes approximately 146 credits (concise) to 249 credits (verbose) per session on Token Pro. At $70/month with rolling seven-day quotas, that yields 39 concise or 23 verbose sessions per day. Claude Max does not disclose equivalent capacity figures, so the break-even can only be estimated through API shadow pricing.
What is Alibaba's off-peak discount and when does it apply?
Alibaba applies 0.4× credit consumption to Qwen 3.7-Plus and 0.2× to Qwen 3.8-Max between 22:00 and 08:00 UTC+8. In Lisbon during August, that corresponds approximately to 15:00–01:00 local time. This discount materially changes the economics: Qwen 3.8-Max becomes viable for sustained use when workloads can be shifted into the discounted window.
Why can't Claude Max unit economics be calculated?
Anthropic publishes only '5× Pro' and '20× Pro' capacity multipliers plus the existence of weekly limits. It does not disclose the token, compute, or dollar-equivalent quantity contained in either Max tier. The company explicitly retains discretion to apply additional model, feature, weekly, or monthly restrictions.
Does verbosity cost more under Alibaba Coding Plan?
No. The Coding Plan is call-sensitive, not token-sensitive. A 6,000-token response and a 500-token response cost the same when both are produced by one model call. However, longer reasoning can indirectly cause more tool calls, retries, and continuations — and Alibaba counts those underlying calls.
When should I choose Coding Plan over Token Plan Pro?
The Coding Plan wins when interactions are simple and close to one direct completion per turn. Token Pro wins when tools, file exploration, testing, and retries amplify each visible turn into several model calls. For long Qwen 3.7-Plus agent sessions, Token Pro provides more session capacity than the Coding Plan despite costing $20 more.