Search topic
qwen code usage limit
Practical outcome
The free OAuth tier has ended; check /stats and your plan limits, then track tokens by day.
Quick answer
/stats (alias /usage) for a usage dashboard. /stats model shows tokens and estimated cost per model, and /stats daily shows per-day totals. To see Qwen Code next to Claude Code, Codex, and your other agents, run npx whoburnedmore. It reads Qwen Code's chat logs in ~/.qwen/projects/ and syncs only daily totals. --local keeps the report offline. π₯Qwen Code is Alibaba's Apache-2.0 terminal coding agent. It was originally based on Google's Gemini CLI v0.8.2 and has been developed independently since v0.1. It is developed on GitHub. For a while its big draw was free: sign in with a Qwen account and get a daily pool of requests at no cost. Qwen's own documentation now says plainly that βThe Qwen OAuth free tier was discontinued on 2026-04-15.β Today you reach Qwen models through a Qwen subscription, an Alibaba Cloud plan, or an API key. Each of those has either a quota to pace or a bill to watch.
How do I check my Qwen Code usage?
Qwen Code's built-in usage view is better than most. Everything below runs inside a Qwen Code session:
/stats dashboard with Session, Activity, and Efficiency tabs (alias: /usage)/stats model per-model token breakdown and estimated cost/stats daily 2026-11-07 daily token usage (alias: day); /stats monthly 2026-11 for a month/stats tools per-tool call counts (/stats skills for skills in the live session)/stats export daily --format csv --output ~/qwen-usage.csv export daily or monthly stats as CSV or JSON/context detail what is filling the context window, item by item
These cover Qwen Code on its own very well. What they can't do is put Qwen next to the other agents you use, or merge several machines. That is the job whoburnedmore does:
$ npx whoburnedmore --dry-run --dry-run: this exact payload would be sent, nothing else: { "date": "2026-11-07", "tool": "qwen", "model": "qwen3-coder-plus", "inputTokens": 1920400, "outputTokens": 138200, "cacheCreationTokens": 0, "cacheReadTokens": 655000, "costUSD": 1.12, β¦ }
whoburnedmore counts tokens, not requests. If your plan meters requests, as the Coding Plan does, use Qwen's /stats and your plan console for the request count. Use whoburnedmore for the token and cost history. If a row shows costUSD of 0, the price list bundled with ccusage, which reads Qwen Code for whoburnedmore, had no rate for that model. The tokens still count; only the dollar estimate is missing.
The free quota is gone, so stop planning around it
Older guides quote a daily free OAuth request quota. Qwen discontinued the free tier on April 15, 2026. The βQwen Accountβ OAuth option now requires a Plus or Pro subscription from chat.qwen.ai, and its limits follow that plan.What are Qwen Code's usage limits now?
Your limits depend on how you authenticate. The /auth menu currently offers these routes:
- 1
Qwen Account with Subscription
OAuth sign-in that requires an active Plus or Pro plan on chat.qwen.ai. Quota and cost follow that subscription; Qwen's docs send you to chat.qwen.ai for the details. - 2
Alibaba Cloud Coding Plan
A fixed monthly fee through Alibaba Cloud Model Studio, with a dedicated endpoint and ansk-sp-key. The Pro plan is $50/month, with up to 6,000 requests per 5 hours, 45,000 per week, and 90,000 per month. The Lite plan closed to new subscribers on March 20, 2026, and renewals ended April 13, 2026. Models include qwen3.7-plus, qwen3.6-plus, qwen3.5-plus, qwen3-coder-plus, and qwen3-coder-next, plus GLM-5, Kimi K2.5, and MiniMax M2.5. - 3
Token Plan or a standard API key
QwenCloud and Model Studio sell Token Plans (a monthly credit quota) and pay-as-you-go API keys. There is no request cap here. You pay per token, and Model Studio prices many Qwen models in tiers by input length. - 4
Third-party or custom endpoints
Presets for DeepSeek, Kimi, MiniMax, Z.AI, OpenRouter, and others, or any OpenAI-, Anthropic-, or Gemini-compatible endpoint. Limits and billing are that provider's.
On a request-metered plan, every agent turn counts: a plan step, a tool call, a follow-up. Long tool loops drain the 5-hour window fastest. On token-billed routes, large contexts are what cost money. A daily token history, like the illustrative one below, shows which kind of day you're having π:
A day like Nov 6 is the one to look at. If it lines up with a Coding Plan throttle,/context detail usually shows why: a large file or a long history being resent on every turn.
How do I avoid hitting a Qwen quota?
Avoiding a lockout halfway through a task comes down to spending turns and context deliberately:
- 1
Batch your asks
Every agent turn is a request. One well-scoped prompt for a set of related changes uses fewer requests than a string of one-line follow-ups. - 2
Use /compact and fresh sessions
A long history is resent on every turn. Compact it, or start a new session between unrelated tasks. - 3
Trim the context you send
Point the agent at the few files that matter, not the whole repo. Check/context detailwhen a session feels slow or expensive. - 4
Check the running total
Run/stats dailyat lunch, or look at the whoburnedmore dashboard, which re-syncs every 15 minutes. Either way the afternoon won't end in a surprise throttle.
How is Qwen Code cost estimated?
whoburnedmore prices each day's input, output, and cache tokens at the model's public API rate and adds them up. On a Coding Plan or a subscription, that figure is what the same work would cost on a pay-as-you-go key, not your bill. That comparison is useful when you're deciding whether a $50 flat plan beats paying per token.
Qwen's own views vs whoburnedmore
Where does Qwen Code store its logs?
Qwen Code's data lives under ~/.qwen, which QWEN_HOME overrides. Each chat is recorded as ~/.qwen/projects/<sanitized-project-path>/chats/<sessionId>.jsonl. Model responses carry usageMetadata token counts. Debug logs go to ~/.qwen/debug/. whoburnedmore's bundled ccusage reader scans the chat files with no setup. If you moved your Qwen home, check what it finds with npx ccusage@latest qwen daily first.
Is it safe to point whoburnedmore at my Qwen logs?
Yes. The chat files contain your prompts, but whoburnedmore uses only the numbers: token counts, model names, and dates. What leaves the machine is one row per day, tool, and model, plus usage metadata such as peak-hour blocks, your timezone offset and the CLI version. Run npx whoburnedmore --dry-run to see the exact JSON, or npx whoburnedmore --local to build the dashboard with no network request at all. π‘οΈ
If Qwen Code is one of several agents you run, alongside Claude Code, Codex CLI, or Gemini CLI, the same command puts them in one view. See the complete AI token usage guide for the full picture.
command, all agents
free OAuth tier ended
Coding Plan Pro requests per 5 hours
Sources checked November 8, 2026: Qwen Code commands, Qwen Code authentication, bundled auth doc (free-tier end date), Alibaba Cloud Coding Plan.
Related guides
How to Check Your AI Coding Token Usage
The cross-tool overview: one command that totals your token usage and cost across every AI coding agent you run.
How to Check Codex CLI Usage and Token Cost
Codex shows the current limits; here's how to see your full token history and cost by day.
The Best AI Coding Token Trackers in 2026
ccusage vs tokscale vs native dashboards vs whoburnedmore β a free, cross-tool comparison.