tencent cloud

Introduction to Points Management

Download
Focus Mode
Font Size
Last updated: 2026-11-17 14:27:53
AI-Translated
Credit management aims to provide users with flexible and controllable capabilities for managing model usage and resource consumption. By configuring model coefficients and credit budgets, it enables fine-grained control over resource allocation, helping teams or projects effectively plan, monitor, and optimize token consumption.

Feature Overview

Resource control: Budgets are bound to resources to achieve fine-grained control over consumption.
Cost visibility: View credit consumption in real time, supporting cost analysis and forecasting.
Flexible adaptation: Model coefficients are adjustable to accommodate different business scenarios and cost policies.
Seamless integration: The feature is automatically enabled after association, with no need to modify business code.

Core Features

1. Configuring Model Coefficients

You can set different coefficients for different models, including input coefficients, output coefficients, cache read coefficients, and cache write coefficients. You can customize the credit consumption ratio based on factors such as model capability, performance, and cost, enabling differentiated cost control across multi-model usage scenarios. For example, you can configure the coefficient in the same proportion as the model unit price. If the model unit price is CNY 2.5 per million tokens, it is recommended to configure a tenfold ratio and set the coefficient to 25.

2. Managing Credit Budgets

You can set different credit budgets as needed. A credit budget includes the maximum credit consumption, reset cycle, and rate limits. You can bind the same or different credit budgets to different CMR instances or API keys, which means granting different quotas to achieve proactive control and alerting for token consumption.
Note:
A credit budget can be associated with multiple instances or multiple API keys at the same time. After association, calls from the corresponding objects are constrained by the budget configuration.
After an API Key is bound to a credit budget, its calls are subject not only to the credit budget limit of the API Key itself, but also to the rate limit or credit budget limit configured on the CMR instance.
For example, credit budget test-A has a maximum credit quota of 1 million, and credit budget test-B has a maximum credit quota of 1,000. CMR instance A has two API keys: Key_01 and Key_02.
The credit consumption of CMR instance A = the credit consumption of Key_01 + the credit consumption of Key_02.
Scenario 1: A CMR instance and one of its API keys are bound to the same credit budget
After the quota of CMR instance A is exhausted, both Key_01 and Key_02 can no longer be used, even if Key_01 still has a remaining balance.
Associated Object
Associations
Maximum Points Quota
CMR instance A
Credit budget test-A
1 million
Key_01
Credit budget test-A
1 million
Key_02
Not bound to a credit budget
No credit budget limit (rate limits apply in practice, which are not further elaborated here).
Scenario 2: API keys under a CMR instance are bound to different credit budgets
Key_02 has a smaller credit budget quota. Once the quota is exhausted, the service will be stopped, even if CMR instance A still has remaining quota at that time.
Associated Object
Associations
Maximum Points Quota
CMR instance A
Credit budget test-A
1 million
Key_01
Credit budget test-A
1 million
Key_02
Credit budget test-B
1 thousand

Typical Scenarios

Assign independent API Keys and credit budgets to different project groups for team project management, enabling cost allocation and control.
Multi-model cost optimization guides business users to choose more cost-effective models while meeting their requirements by adjusting model coefficients.
Resource alerting and prevention: Set budget alerts for CMR instances or API keys in production environments to prevent unexpected traffic from causing excessive credit consumption.

FAQs

1. What Happens After the Credit Budget Is Used Up?

When the credit budget is exhausted, the associated CMR instance or API Key will be suspended until the budget is reset or increased.

2. When Do Model Coefficients Take Effect After Adjustment?

Coefficient adjustments take effect immediately without requiring a service restart.

3. How to View Historical Credit Consumption Records?

You can view it in Usage Details through the Request Credit Consumption (Count) metric.

References



Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback