Analyze and manage costs
Learn how to query detailed bills, view invoices, and stop billing to avoid charges.
For details on billing types and pricing, see Pricing.
The Pay-as-you-go page shows your current month's billed amount and spending limit at the top. Below, you can view detailed bills in Chart or List view, and access invoices.
On the Pay-as-you-go page, the Spending Trends section lets you analyze costs by different dimensions:
On the Pay-as-you-go page:
The Coding Plan is a subscription plan. On the Coding Plan page:
On the Pay-as-you-go page, click the settings icon next to Limit to open the Spending Limit & Alerts dialog:
To avoid charges when you no longer need Qwen Cloud:
No. Qwen Cloud uses a "reserve and settle monthly" model for pay-as-you-go billing. The system reserves an amount from your available balance to cover usage, and then generates a final bill and deducts the actual cost at the end of the billing cycle (early in the next month).
Some features of Qwen Cloud, such as web search, are billed separately (post-paid) based on the number of calls and are invoiced separately from model inference fees. Even if you have not actively used the console recently, if the
You can query model call statistics on the Analytics page.
Pay-as-you-go billing
The Pay-as-you-go page shows your current month's billed amount and spending limit at the top. Below, you can view detailed bills in Chart or List view, and access invoices.
View spending trends
On the Pay-as-you-go page, the Spending Trends section lets you analyze costs by different dimensions:
- Toggle between Chart and List views:
- Chart: Visualize spending trends as a bar chart. Use the Group by selector to choose a grouping dimension:
- Production Steps: Group by production stage (such as Inference)
- API Key: Group by API key
- Model: Group by model
- List: View itemized billing records with columns: Billing Month, Production Steps, Job ID, Model, Usage, Amount, Workspace Name, API Key, Line Item
- Chart: Visualize spending trends as a bar chart. Use the Group by selector to choose a grouping dimension:
- Use filters to narrow down records:
- All Production Steps: Filter by specific production stage
- All API Keys: Filter by specific API key
- All Models: Filter by specific model
- By Month/By Day: Switch time granularity
- Time range: Select billing period (such as Last 12 months)
View invoices
On the Pay-as-you-go page:
- Navigate to the Invoices section
- Select a month from the date picker to view invoices for that period
- View invoice details:
- Month: Billing period
- Amount (Incl. Tax): Total amount including tax
- Status: Invoice status
- Action: Download or view invoice
Coding Plan billing
The Coding Plan is a subscription plan. On the Coding Plan page:
- Plan details: View current plan type, status (Active), auto renewal settings, and subscription period
- Usage Consumption: View request quota usage and reset timers for 5-hour, weekly, and monthly windows
- Subscription History: View and filter past subscription orders, download invoices
Cost management
Set spending limit and alerts
On the Pay-as-you-go page, click the settings icon next to Limit to open the Spending Limit & Alerts dialog:
- Enable Monthly Spending Limit
- Set your spending limit in the New Limit field
- Configure alert settings:
- Alert Threshold: Drag the slider to set the percentage (for example, 80%) at which you want to be notified
- Notification Methods: Add email addresses to receive alerts
- Click Save Settings
The spending limit helps you control costs and receive alerts before charges exceed your budget. For additional cost-saving strategies, see Cost optimization.
Stop billing
To avoid charges when you no longer need Qwen Cloud:
- Stop using Try AI or making API calls.
- Delete your API key on the API Key page to prevent accidental calls.
FAQ
Why can't I find the bill right after calling a model?
- Bill delay: Bills update hourly but may lag during peak hours (costs from 16:00-17:00 might appear at 19:30).
- Free tier: No charges or bills are generated for usage within free quota or when calling free models.
Is Pay-as-you-go billed in real time?
No. Qwen Cloud uses a "reserve and settle monthly" model for pay-as-you-go billing. The system reserves an amount from your available balance to cover usage, and then generates a final bill and deducts the actual cost at the end of the billing cycle (early in the next month).
Why do I have an overdue payment even though I have barely used the service?
Some features of Qwen Cloud, such as web search, are billed separately (post-paid) based on the number of calls and are invoiced separately from model inference fees. Even if you have not actively used the console recently, if the enable_search parameter is enabled in your application code, web search fees are still incurred for each call.
Solution:
- In your bill details, check the model name and invocation channel that incurred the cost.
- Check whether
enable_searchis enabled in your application code. If you no longer need web search, set this parameter tofalseor remove it. - If you have stopped all calls but are still being charged, check if other API keys or applications are still running. You can find and delete unused keys on the API Key page.