LeetLLM
My PlanLearnGlossaryTracksPracticeBlog
LeetLLM

Your go-to resource for mastering AI & LLM systems.

Product

  • Learn
  • Glossary
  • Tracks
  • Practice
  • Blog
  • RSS

Legal

  • Terms of Service
  • Privacy Policy

漏 2026 LeetLLM. All rights reserved.

Blog
OpenClawAI Coding PlansCost OptimizationAgentic AI+3

Best AI Plans for OpenClaw in 2026

Compare ChatGPT/Codex, MiniMax, Qwen Cloud, Z.AI, and direct OpenAI API billing for OpenClaw. Prices, quotas, setup, and fallback risks verified August 2026.

April 4, 2026Updated August 19, 202614 min read

A Slack ping that says "summarize last night's CI failures and open a PR" looks like one request. Inside OpenClaw it can become file reads, test retries, a browser check, and extra model calls when a tool result is ugly. OpenClaw is a self-hosted personal assistant. Its Gateway wires hosted models to messaging channels, files, browser actions, scheduled jobs, and other tools.[1]Reference 1OpenClawhttps://github.com/openclaw/openclaw/blob/main/README.md

That traffic pattern makes the best plan a billing and capacity choice. A ChatGPT subscription, a provider coding plan, and a direct API key are different products. They can expose the same model name while using different credentials, quotas, and invoices.

Official provider and OpenClaw docs were checked on August 13, 2026. Current recommendation:

  • Already pay for ChatGPT Plus or higher with Codex access? Start with OpenAI Codex OAuth. It spends subscription quota, not OpenAI Platform API credit.[2]Reference 2Pricing - Codexhttps://developers.openai.com/codex/pricing[3]Reference 3OpenAIhttps://docs.openclaw.ai/providers/openai
  • Buying the cheapest public coding plan? Z.AI Lite starts at $18/month, but OpenClaw traffic is best-effort and quota burn is model-weighted.[4]Reference 4GLM Coding Plan Overviewhttps://docs.z.ai/devpack/overview[5]Reference 5OpenClaw - Overviewhttps://docs.z.ai/devpack/tool/openclaw
  • Want a MiniMax-first lane with a shared rolling bar? MiniMax Token Plan Plus is $20/month.[6]Reference 6MiniMax Token Plan Pricinghttps://platform.minimax.io/docs/guides/pricing-token-plan
  • Want the broadest published model allowlist in one coding plan? Qwen Cloud is $50/month and covers selected Qwen, Kimi, GLM, and MiniMax models.[7]Reference 7Qwen Cloud Coding Plan Overviewhttps://docs.qwencloud.com/coding-plan/overview
  • Use direct OpenAI API billing only when you want metered spend. It isn't included with a ChatGPT subscription.[3]Reference 3OpenAIhttps://docs.openclaw.ai/providers/openai[8]Reference 8OpenAI API Pricinghttps://developers.openai.com/api/docs/pricing

馃挕 Key insight: Choose credential type before model. openai/gpt-5.6-sol can ride Codex subscription OAuth or an ordered OpenAI API-key profile. The model ID doesn't tell you who pays.[3]Reference 3OpenAIhttps://docs.openclaw.ai/providers/openai

Compare separate billing products

Keep one sample turn in mind: 20,000 fresh input tokens, 10,000 cached input tokens, and 4,000 output tokens. That's a plausible CI-summary pass with tool results still in context. The table prices plans. The figure below prices that turn, so you can see why leftover quota from one vendor isn't a leftover request from another.

OptionCurrent price or meterOpenClaw auth and routeCapacity boundaryWhat happens at the boundary
ChatGPT Plus with Codex$20/month; Codex included in the ChatGPT planOpenAI OAuth, usually openai/gpt-5.6-sol when the account catalog exposes itSubscription usage window and ChatGPT credit balance; no Platform API credit includedWait for the window, buy extra ChatGPT credits, or rotate to another configured OpenAI auth profile
MiniMax Token Plan Plus$20/monthCoding Plan OAuth: minimax-portal/MiniMax-M3; API key: minimax/MiniMax-M3Shared usage bar with rolling 5-hour and weekly quota windowsCapacity returns through rolling windows; eligible purchased credits can cover overflow if enabled
Qwen Cloud Coding Plan$50/monthPlan key through qwen/*; qwen/qwen3.7-plus is a current recommended option6,000 requests per 5 hours, 45,000 weekly, 90,000 monthlyCalls fail until quota returns; no automatic pay-as-you-go fallback
Z.AI Lite$18/monthCoding Plan key through zai/*; zai/glm-5.3 is current2,000 credits per 5 hours and 10,000 weekly; model-weighted burnDynamic queueing, fair-use limits, or quota exhaustion
OpenAI APINo required monthly plan; per-token billingOpenAI API-key profile through openai/*Project budget, rate limits, and available creditRequests continue while allowed and metered spend grows

Prices and limits come from each provider's current plan or pricing pages.[2]Reference 2Pricing - Codexhttps://developers.openai.com/codex/pricing[9]Reference 9Codex rate cardhttps://help.openai.com/en/articles/20001106-codex-rate-card[6]Reference 6MiniMax Token Plan Pricinghttps://platform.minimax.io/docs/guides/pricing-token-plan[7]Reference 7Qwen Cloud Coding Plan Overviewhttps://docs.qwencloud.com/coding-plan/overview[4]Reference 4GLM Coding Plan Overviewhttps://docs.z.ai/devpack/overview[10]Reference 10GPT-5.6 Sol Modelhttps://developers.openai.com/api/docs/models/gpt-5.6-sol Don't compare request counts with credits, tokens, or a shared usage bar. Qwen says a simple coding prompt may consume 5 to 10 requests and a complex task can consume 30 or more. Z.AI applies different credit multipliers by model and token type. MiniMax says its console usage bar is source of truth because actual deduction follows resource consumption.[7]Reference 7Qwen Cloud Coding Plan Overviewhttps://docs.qwencloud.com/coding-plan/overview[4]Reference 4GLM Coding Plan Overviewhttps://docs.z.ai/devpack/overview[11]Reference 11MiniMax Token Plan FAQshttps://platform.minimax.io/docs/token-plan/faq

The reset clocks also disagree. MiniMax uses rolling 5-hour and weekly windows, and unused included quota doesn't carry into the next billing cycle. Qwen's 5-hour quota is a sliding window (each request returns 5 hours after it was used), weekly quota resets Monday 00:00 UTC+8, and monthly quota resets on the subscription anniversary at 00:00 UTC+8. Z.AI refreshes 5-hour credits 5 hours after consumption and resets weekly credits every 7 days from signup.[6]Reference 6MiniMax Token Plan Pricinghttps://platform.minimax.io/docs/guides/pricing-token-plan[7]Reference 7Qwen Cloud Coding Plan Overviewhttps://docs.qwencloud.com/coding-plan/overview[4]Reference 4GLM Coding Plan Overviewhttps://docs.z.ai/devpack/overview

Four incomparable OpenClaw meters for same 20,000 fresh input, 10,000 cached input, and 4,000 output token turn. MiniMax Plus deducts an account-specific amount from one shared usage bar. Qwen consumes several requests against a 6,000-per-5-hour cap. Z.AI Lite consumes 25.1 GLM-5.3 peak credits. OpenAI API charges $0.225 with no quota reset.
Same CI-summary turn deducts an account-specific amount from MiniMax's shared bar, several Qwen requests, 25.1 Z.AI credits on GLM-5.3 at peak, or $0.225 at GPT-5.6 Sol API rates. Remaining capacity from one meter doesn't convert into another.

OpenAI: use subscription access before adding a meter

OpenClaw supports two distinct OpenAI paths:

  1. Codex OAuth uses a ChatGPT/Codex subscription and its quota. Codex isn't a separate SKU. It's included in ChatGPT Free, Go, Plus, Pro, Business, and Enterprise plans. Plus is $20/month and is the usual paid starting point.[2]Reference 2Pricing - Codexhttps://developers.openai.com/codex/pricing
  2. Platform API-key auth uses direct API billing.

Both use the canonical openai/* provider route. Fresh subscription setup selects openai/gpt-5.6-sol only when no primary model is already configured. OpenClaw currently labels GPT-5.6 a limited preview and says exact Sol, Terra, and Luna availability depends on the signed-in account. If GPT-5.6 is absent, choose openai/gpt-5.5 explicitly.[3]Reference 3OpenAIhttps://docs.openclaw.ai/providers/openai

On the sample CI-summary turn, GPT-5.6 Sol standard API rates are $5 per 1M input tokens, $0.50 per 1M cached input tokens, and $30 per 1M output tokens. That mix costs $0.225. Requests with more than 272K input tokens use 2x input and 1.5x output for the full request ($10, $1, and $45 per 1M). A hundred similar turns are about $22.50 before long-context multipliers. Those rates don't describe Codex subscription quota.[10]Reference 10GPT-5.6 Sol Modelhttps://developers.openai.com/api/docs/models/gpt-5.6-sol

Plus and Pro users who hit included Codex limits can buy extra ChatGPT credits without upgrading the plan. That still isn't Platform API credit. OpenClaw can also keep serving if you add an API-key profile to auth.order.openai. That's a different invoice.[9]Reference 9Codex rate cardhttps://help.openai.com/en/articles/20001106-codex-rate-card[12]Reference 12Model failoverhttps://docs.openclaw.ai/concepts/model-failover

Best fit: existing ChatGPT subscribers who can serve routine OpenClaw work from Codex quota, or users who deliberately accept API spend for harder tasks.

Main risk: adding an OpenAI API-key profile after OAuth can create an automatic paid overflow path. OpenClaw rotates auth profiles inside a provider before moving to configured model fallbacks. Keep the API key out of auth.order.openai unless that spend is intentional.[12]Reference 12Model failoverhttps://docs.openclaw.ai/concepts/model-failover

MiniMax: simple rolling plan

MiniMax Token Plan lists Plus at $20/month, Max at $50/month, and Ultra at $120/month. All tiers use 5-hour rolling and weekly quota windows. Quota is shared across supported text, image, speech, and music resources. Simple work deducts less than long-context, multi-turn, multimodal, or complex agent work; console usage bar is source of truth. Purchased credits cost 1,000 credits per $1 and can cover eligible overflow after included quota.[6]Reference 6MiniMax Token Plan Pricinghttps://platform.minimax.io/docs/guides/pricing-token-plan[11]Reference 11MiniMax Token Plan FAQshttps://platform.minimax.io/docs/token-plan/faq

During peak traffic MiniMax may apply dynamic rate limits. FAQ's typical window is weekdays 15:00-17:30, with Plus sized for about 3-4 agents, Max 4-5, and Ultra 6-7. Unused included quota doesn't carry into next billing cycle.[11]Reference 11MiniMax Token Plan FAQshttps://platform.minimax.io/docs/token-plan/faq

Subscription Keys and normal pay-as-you-go API keys are separate credentials. In OpenClaw, Coding Plan OAuth uses minimax-portal/MiniMax-M3; API-key setup uses minimax/MiniMax-M3. Don't paste a normal API key into a Subscription Key flow or infer plan entitlement from the model route.[11]Reference 11MiniMax Token Plan FAQshttps://platform.minimax.io/docs/token-plan/faq[13]Reference 13MiniMaxhttps://docs.openclaw.ai/providers/minimax

Best fit: one MiniMax-first lane with capacity that returns gradually rather than at one fixed reset.

Main risk: MiniMax describes Token Plan as individual, interactive developer access and recommends pay-as-you-go for production. Every supported modality draws from the same quota, so image or speech jobs steal capacity from coding turns.[11]Reference 11MiniMax Token Plan FAQshttps://platform.minimax.io/docs/token-plan/faq

Qwen Cloud: broad allowlist, hard quota stop

Qwen Cloud Coding Plan costs $50/month. Its current recommended set includes qwen3.7-plus, kimi-k2.5, glm-5, and MiniMax-M2.5; the larger published allowlist includes additional Qwen, GLM, and coding models.[7]Reference 7Qwen Cloud Coding Plan Overviewhttps://docs.qwencloud.com/coding-plan/overview

Qwen is now an official external OpenClaw plugin, not a bundled provider. Coding Plan setup uses a plan-specific sk-sp-... key and the Coding Plan endpoint. qwen/qwen3.7-plus, qwen/qwen3.6-plus, and qwen/qwen3.5-plus are supported on the plan, while some catalog models are Standard pay-as-you-go only. OpenClaw's example config still shows qwen/qwen3.5-plus as the default, so set qwen/qwen3.7-plus yourself if that's the model you want.[14]Reference 14Qwenhttps://docs.openclaw.ai/providers/qwen[15]Reference 15Qwen Cloud Coding Plan FAQhttps://docs.qwencloud.com/coding-plan/faq

Best fit: users who will exercise several supported model families enough to justify one broader subscription.

Main risk: Qwen restricts Coding Plan to personal, interactive coding tools. Scripts and batch calls are excluded. Quota exhaustion fails directly instead of falling back to pay-as-you-go, and peak traffic may reduce concurrency.[15]Reference 15Qwen Cloud Coding Plan FAQhttps://docs.qwencloud.com/coding-plan/faq

Z.AI: lowest entry price, weighted credits

Z.AI Lite starts at $18/month and includes 2,000 credits per 5 hours plus 10,000 weekly. Pro includes 12,000 and 60,000; Max includes 28,000 and 140,000. Current plan models include GLM-5.3, GLM-5-Turbo, and GLM-4.7. Requests for GLM-5.2 or GLM-5.1 route to GLM-5.3. On GLM-5.3 with a 90.9% cache hit, Z.AI estimates weekly token allowance at 43 to 87 million on Lite, 263 to 526 million on Pro, and 613 to 1,226 million on Max, with low end all-peak and high end all off-peak.[4]Reference 4GLM Coding Plan Overviewhttps://docs.z.ai/devpack/overview

Credit burn depends on input, cached input, output, and model multipliers. Official peak multipliers are GLM-5.3 at 6.9/1.7/24, GLM-5-Turbo at 5.7/1.5/21, and GLM-4.7 at 4.6/1.2/16. The published formula is:

zai-credit-formula.txt
1credits = (input_tokens 脳 input_mult 2 + cached_input_tokens 脳 cached_mult 3 + output_tokens 脳 output_mult) / 10,000

Plug in the sample CI-summary turn on GLM-5.3 at peak: (20,000 脳 6.9 + 10,000 脳 1.7 + 4,000 脳 24) / 10,000 = 25.1 credits. Lite's 2,000-credit 5-hour window holds about 80 of those turns. Off-peak model use costs 50% of standard credits, so the same turn is 12.55 credits. Z.AI defines peak as Monday through Friday, 14:00 to 18:00 Singapore time.[4]Reference 4GLM Coding Plan Overviewhttps://docs.z.ai/devpack/overview[16]Reference 16GLM Coding Plan FAQhttps://docs.z.ai/devpack/faq

OpenClaw uses an external Z.AI plugin and the Coding Plan default zai/glm-5.3. A zai/glm-5.2 request still works; Z.AI routes it to GLM-5.3.[17]Reference 17Z.AIhttps://docs.openclaw.ai/providers/zai Z.AI says OpenClaw traffic receives secondary, best-effort scheduling while coding-agent tasks take priority under load.[5]Reference 5OpenClaw - Overviewhttps://docs.z.ai/devpack/tool/openclaw

馃幆 Production tip: If you pick Z.AI, run fat OpenClaw jobs outside Monday-Friday 14:00-18:00 Singapore time. Off-peak model use costs half the standard credits, and OpenClaw already sits behind coding-agent traffic when the cluster is busy.

Best fit: price-sensitive users who want GLM and can schedule around a weighted quota.

Main risk: cheapest sticker price doesn't guarantee lowest cost per completed task or low latency. Validate your own workload before upgrading a tier.

Set up without crossing billing paths

The setup decision is credential-first. Each branch below can lead to a similar model name but a different invoice or quota window.

Diagram showing OpenClaw Gateway, Credential type, ChatGPT / Codex subscription quota, and Provider coding plan quota.
OpenClaw Gateway, Credential type, ChatGPT / Codex subscription quota, and Provider coding plan quota.

For a ChatGPT/Codex subscription, use OpenClaw's own OAuth store. It no longer imports an existing ~/.codex login:

OpenAI Codex OAuth setup
1openclaw onboard --auth-choice openai 2openclaw config set agents.defaults.model.primary openai/gpt-5.6-sol 3openclaw models list --provider openai

For MiniMax Coding Plan OAuth:

MiniMax Coding Plan setup
1openclaw onboard --auth-choice minimax-global-oauth 2openclaw models list --provider minimax-portal 3openclaw models set minimax-portal/MiniMax-M3

For Qwen Cloud Coding Plan, install the official provider plugin first:

Qwen Cloud plugin setup
1openclaw plugins install @openclaw/qwen-provider 2openclaw gateway restart 3openclaw onboard --auth-choice qwen-api-key 4openclaw models set qwen/qwen3.7-plus

For the global Z.AI Coding Plan:

Z.AI Coding Plan setup
1openclaw plugins install @openclaw/zai-provider 2openclaw gateway restart 3openclaw onboard --auth-choice zai-coding-global 4openclaw models set zai/glm-5.3

These commands follow current OpenClaw provider docs.[3]Reference 3OpenAIhttps://docs.openclaw.ai/providers/openai[13]Reference 13MiniMaxhttps://docs.openclaw.ai/providers/minimax[14]Reference 14Qwenhttps://docs.openclaw.ai/providers/qwen[5]Reference 5OpenClaw - Overviewhttps://docs.z.ai/devpack/tool/openclaw After setup, inspect resolved model, fallbacks, and auth status without sending a paid probe:

Inspect resolved model and auth
1openclaw models status --json 2openclaw config get agents.defaults.model --json 3openclaw models auth list

openclaw models list proves catalog visibility, not successful execution. OpenClaw's --probe option makes live provider requests and can consume quota, so reserve it for deliberate troubleshooting.

Capacity and billing fail differently

Four OpenClaw capacity and billing timelines: MiniMax remaining quota recovers through rolling windows, Qwen remaining requests hard-stop then reset, Z.AI queue delay rises under load, and OpenAI API cumulative spend grows without a quota reset.
Match the alert to the next state: MiniMax remaining quota recovers through rolling windows, Qwen remaining requests hit a hard stop, Z.AI delay can rise under load, and OpenAI API spend keeps climbing.

OpenClaw failover has two stages: auth-profile rotation inside the current provider, then agents.defaults.model.fallbacks. Pure overload failures can retry the chain up to 10 times before tool execution or output begins. An explicitly selected session model stays strict instead of silently walking the default fallback list.[12]Reference 12Model failoverhttps://docs.openclaw.ai/concepts/model-failover

That behavior makes billing guardrails part of routing policy. Don't configure automatic metered backup for a hard-stop subscription unless uninterrupted service is worth the variable bill. For personal workflows, a visible failure is often safer than silent paid overflow. Model Gateways, Routing, and Fallbacks shows how to make those transitions observable. Agent Failure & Recovery covers bounded retries so a 429 doesn't become an unbounded loop.

Match the plan to the job

Start with one lane. Add another only after logs show a specific gap: unavailable model, exhausted quota, unacceptable queue delay, or a task class that routinely fails.

OpenClaw task classifier with a wide routine branch to a primary plan, a recoverable-failure loop through bounded retry or queueing, and a narrow hard-or-high-impact branch to an intentional metered API.
Classify impact and urgency before picking credentials. Keep routine work fixed-cost, bound ordinary retries, and open a metered lane only for work you already decided is worth it.

Useful starting policy:

  1. Send summaries, search, small edits, and scheduled housekeeping to the primary plan.
  2. Bound retries and context growth before changing provider.
  3. Send stubborn debugging or high-impact decisions to a metered lane on purpose. Don't wait for a quota failure to "discover" that a production incident needed a stronger model.
  4. Record selected model, credential profile, fallback reason, latency, and cost or quota signal.

This is a workload hypothesis, not a universal quality ranking. Test representative tasks before buying a higher tier. LLM Cost Engineering covers the token and retry math behind that evaluation.

Secure the gateway before optimizing price

OpenClaw's Gateway is designed for one trusted operator, not mutually hostile users. Main-session tools run on the host unless sandboxing is enabled, and sandboxing is opt-in. Keep direct messages in pairing mode, restrict channel and group allowlists, enable sandboxing where practical, and require approval for dangerous execution. Run openclaw security audit after connecting channels or adding plugins.[18]Reference 18Gateway Securityhttps://docs.openclaw.ai/gateway/security

Treat prompts, tool results, files, and conversation context as data sent to the selected hosted provider. A self-hosted Gateway doesn't make hosted inference local. Provider privacy terms also differ by product. OpenAI states that API data and data from its business products aren't used for training by default, but that statement shouldn't be generalized to personal ChatGPT plans or other providers.[19]Reference 19Business data privacy, security, and compliancehttps://openai.com/business-data/ Code Generation & Sandboxing is the deeper lesson on keeping generated code and tool execution inside a real boundary.

鈿狅笍 Common mistake: Storing several provider keys, enabling automatic auth rotation, and assuming fallback is free. Limit secret access, name every paid backup, and review the resolved auth order before leaving OpenClaw unattended.

A starting plan

Use the plan you already have before buying another:

  • Existing ChatGPT/Codex subscriber: start with OpenAI OAuth and watch subscription quota. Buy extra ChatGPT credits only if you want more of that same meter, not as a substitute for an API key.
  • Lowest entry price: test Z.AI Lite on real tasks before committing to GLM-weighted credits and best-effort scheduling.
  • MiniMax-first workflow: choose MiniMax Plus for rolling quota and a straightforward M3 route.
  • Multi-model exploration: choose Qwen Cloud only if its current allowlist and hard request quotas fit your workload.
  • Direct OpenAI API: add it only as an intentional metered lane with a budget and escalation rule.

There's no honest universal winner without task traces. One primary credential, bounded retries, and visible fallback reasons matter more than a longer provider list. If your OpenClaw setup is becoming a repeatable engineering workflow, AI Coding Workflow with Agents shows how to structure planning, execution, and verification around it.

PreviousDeepSeek V4: Facts, Claims, and FitNextRun Gemma 4 Locally with Ollama
Share this article
XFacebookLinkedInBlueskyRedditHacker NewsEmail
References

OpenClaw

OpenClaw 路 2026

https://github.com/openclaw/openclaw/blob/main/README.md

Pricing - Codex

OpenAI 路 2026

https://developers.openai.com/codex/pricing

OpenAI

OpenClaw 路 2026

https://docs.openclaw.ai/providers/openai

GLM Coding Plan Overview

Z.AI 路 2026

https://docs.z.ai/devpack/overview

OpenClaw - Overview

Z.AI 路 2026

https://docs.z.ai/devpack/tool/openclaw

MiniMax Token Plan Pricing

MiniMax 路 2026

https://platform.minimax.io/docs/guides/pricing-token-plan

Qwen Cloud Coding Plan Overview

Qwen Cloud 路 2026

https://docs.qwencloud.com/coding-plan/overview

OpenAI API Pricing

OpenAI 路 2026

https://developers.openai.com/api/docs/pricing

Codex rate card

OpenAI 路 2026

https://help.openai.com/en/articles/20001106-codex-rate-card

GPT-5.6 Sol Model

OpenAI 路 2026

https://developers.openai.com/api/docs/models/gpt-5.6-sol

MiniMax Token Plan FAQs

MiniMax 路 2026

https://platform.minimax.io/docs/token-plan/faq

Model failover

OpenClaw 路 2026

https://docs.openclaw.ai/concepts/model-failover

MiniMax

OpenClaw 路 2026

https://docs.openclaw.ai/providers/minimax

Qwen

OpenClaw 路 2026

https://docs.openclaw.ai/providers/qwen

Qwen Cloud Coding Plan FAQ

Qwen Cloud 路 2026

https://docs.qwencloud.com/coding-plan/faq

GLM Coding Plan FAQ

Z.AI 路 2026

https://docs.z.ai/devpack/faq

Z.AI

OpenClaw 路 2026

https://docs.openclaw.ai/providers/zai

Gateway Security

OpenClaw 路 2026

https://docs.openclaw.ai/gateway/security

Business data privacy, security, and compliance

OpenAI 路 2026

https://openai.com/business-data/