Skip to main content

Model usage

View usage for Alibaba Cloud Model Studio models.

For more information about free quotas, see New user free quota. Manage free quota usage on the Free Quota page.

Availability

  • Applicable regions: The United States (Virginia) region is not supported yet, and all other regions are supported. For details, see Regions, service deployment scope, and endpoints.
  • Supported models: Usage viewing is supported for all models in the model list, including models fine-tuned based on them.
  • Statistics scope: Usage such as tokens is used for billing verification and only counts model calls billed by token on a pay-as-you-go basis, excluding calls for model training, Provisioned Throughput Units, dedicated throughput units, etc.; the number of calls includes calls via Provisioned Throughput Units, dedicated throughput units, etc. Tool call usage generated by model calls is counted separately.

View free quota usage

The top of the Free Quota page provides "Free Quota Usage Overview", which summarizes the free quota consumption of each model in the current workspace by dimensions such as total number of models, Sufficient quota, usage exceeding 50%, usage exceeding 80%, and no free quota, and displays a list of "Top 3 models with free quota about to run out" to help you quickly locate the models that need attention. The "All Models" table lists each model's Model Code, Remaining Free Quota, Expiration Time, Status (Not Enabled/Enabled/Not Supported), and Actions. It supports search, sort, and filter to locate a specific model; click a single entry to toggle the "Free Quota Only" switch or view the model details drawer. The top of the page provides a Batch Operation entry, which allows you to Batch Enable or Batch Disable "Free Quota Only" for the selected models, or enable/disable all models with one click; a confirmation prompt appears before the operation, success and failure results are displayed after the operation is completed, and you can Exit Batch Operation when finished.

View free quota usage in the console

  1. Go to the Free Quota page and select the model type tab to view the free quota usage of each model.
  2. In the All Models table, you can locate a specific model through search, sort, and filter, toggle the Free Quota Only switch, or use the batch operation feature to manage free quota settings.
Free Quota Only: Only the free tokens granted by the platform are consumed, and the service stops automatically when the free quota runs out (returning a 403 error: AllocationQuota.FreeTierOnly), avoiding charges beyond the free quota. If you want to continue using model services after the free quota is exhausted and pay based on actual usage, keep this feature disabled. You can enable this feature only while your account still has unconsumed free quota. Once the feature is enabled, if you need to disable it, you must wait until the free quota is fully consumed (free quota consumption records can be viewed in bills, which are aggregated and generated by minute; the console's free quota data is updated at minute-level and supports manual page refresh for synchronization, so refer to the free quota values displayed in the console.)

View model usage

View it on the Model Usage page. Data is aggregated by workspace and does not support aggregation by Alibaba Cloud account (how to resolve). Call count statistics have lower latency than other usage metrics: the number of calls is visible about 1 minute after a call, while token usage and fees may be delayed by about 10 minutes. Batch offline inference and batch online inference do not display call counts.
  1. Select the statistics period and time range. Viewing by minute, hour, day, and month is supported: up to 1 day of data for by-minute queries, up to 7 days for by-hour, up to 31 days for by-day, and up to 12 months for by-month. When viewing by minute or hour, the trend chart does not support grouping.
  2. Select the grouping dimension: group by model, API Key, workspace, region, service region, or specification. Specifications include input/output/cache hit, context length, whether thinking mode is enabled, video generation resolution, and other factors that affect the unit price.
  3. Filter models, API Keys, workspaces, regions, service regions, call sources, and inference types as needed. Inference types include online inference, batch offline inference (Batch File), and batch online inference (Batch Chat); when the current workspace has no batch call data, only online inference is displayed.
  4. View the metric cards: Calls, Tokens usage, Image Count, video/speech duration, speech synthesis character count, tool call count, etc. The cards are aggregated by billing dimension — for example, both text models and full-modal models are billed by token, and both count toward Tokens usage. You can switch between "Total" and "Average usage per call"; the average usage per call is usage divided by the number of successful calls.
  5. In the "Model Usage Details" table, view each model's model type, calls, model usage, and tool usage. Click "details" to view the summary, trends, and tool usage of different usage types for the model; click "View fees" to view the payable amount corresponding to these usages.
  6. The "Total successful calls" area at the bottom of the page displays all models in descending order of call count, and supports full-screen view and download.
  • Failure count, failure rate, rate-limit error count, and content safety interception count have been moved to the Monitoring page and are no longer displayed in model usage details.
  • The legacy "batch inference" is now split into batch offline inference (Batch File) and batch online inference (Batch Chat).
The page only supports querying usage data from September 1, 2026 onward; for earlier data, see Expenses and Costs.

View Billing Overview

On the Cost page, view the fees generated by model calls and model training, including total consumption, subscription purchase fees, bill fees, and bill trends. For details, see Bill query and cost management.

Notes on model usage statistics units

In Alibaba Cloud Model Studio, the usage statistics metrics for different models are as follows:

Type

Secondary category

Statistics unit

Billing Details (Model Calling)

Large language model

Text generation models

Token

Billed based on the number of input and output tokens.

Deep thinking models

Visual understanding models

Visual

Image Generation

Image

Billed based on the number of images successfully generated.

Video Generation

Seconds

Billed by the seconds of video successfully generated.

Speech

Speech synthesis model

Seconds, characters, or Tokens

Billed by audio duration (seconds), the corresponding number of text characters, or the number of Tokens, depending on the model.

Real-time speech synthesis model

Recorded file recognition model

Real-time speech recognition model

Audio and video translation model

Full-modal model

Full-modal model

Token

The text portion is billed by the number of Tokens, and other modalities (audio, images, and video) are billed by their corresponding number of Tokens.

Real-time multimodal model

Embedding Model

Multimodal embedding model

Token

Billed by the number of Tokens in the input text.

Text embedding model

Going live

Recommendations for managing model usage:
  • Control model output length: When calling a model API, properly limiting the thinking length and setting the max_tokens parameter can limit the maximum length of content a model generates in a single call (and thus control costs).
  • Choose a model based on the task type: For simple tasks such as classification and summarization, prefer lower-cost lightweight models instead of always using powerful but more expensive models.
  • Monitoring and alerting: Use Monitoring to monitor usage trends and configure usage alerts so you are promptly notified when usage becomes abnormal.
  • Optimize prompts: Concise, clear prompts not only improve model output quality but also reduce unnecessary input Token consumption.
  • Use batch inference: For non-real-time, high-volume processing tasks, batch inference is usually more cost-effective than real-time calls.

Glossary

Term

Description

Token

A Token is the basic unit a model uses to process input and output. A Token can be:

  • A single character: such as A or I

  • A complete word: such as large or Model

  • Part of a long word: A long word is usually split into multiple Tokens; this splitting process is called tokenization.

The number of Tokens in a text is determined by the tokenizer of the model used; actual usage is subject to the usage statistics returned by the API.

Each model has a maximum number of input and output Tokens (see the model list for details); exceeding the limit causes the request to fail.

Online inference

Refers to all direct and indirect calls to a model, mainly covering the following scenarios:

Batch offline inference (Batch File)

For scenarios that do not require real-time responses, large-scale data processing performed offline through the OpenAI-compatible Batch (file input) interface.

Batch online inference (Batch Chat)

Batch online calls initiated through the Batch Chat interface.

FAQ

Q: How do I check the total token usage of my Alibaba Cloud account? A: Use your Alibaba Cloud account (primary account) to visit the Billing details page and export the bill, then check the token usage in the bill.
When you view data by model, API Key, workspace, or other dimensions, some values may appear as "-" or be empty. Common causes:
  • A "-" may indicate that the model does not support the metric.
  • Data for a specific dimension is delayed. Right after a call, the value may appear as "-" and change to the actual value after a few minutes or more.
  • An empty API Key usually indicates that the call came from the console.
  • For calls made through Batch Chat, API Key ID-related data is empty.
  • Region information is empty for some models.
  • The invocation method is empty for speech models.