Skip to content

Commit ceaf5db

Browse files
Merge pull request #283649 from msakande/timegen-1-token-calculation
Timegen-1 edits to token calculation
2 parents 899067a + b9ff72c commit ceaf5db

File tree

2 files changed

+16
-18
lines changed

2 files changed

+16
-18
lines changed

articles/ai-studio/how-to/deploy-models-timegen-1.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,10 @@ You can deploy TimeGEN-1 as a serverless API with pay-as-you-go billing. Nixtla
4747
- An [Azure AI Studio project](../how-to/create-projects.md).
4848
- Azure role-based access controls (Azure RBAC) are used to grant access to operations in Azure AI Studio. To perform the steps in this article, your user account must be assigned the __Azure AI Developer role__ on the resource group. For more information on permissions, visit [Role-based access control in Azure AI Studio](../concepts/rbac-ai-studio.md).
4949

50-
### Pricing information
5150

5251
#### Estimate the number of tokens needed
5352

54-
Before you create a deployment, it's useful to estimate the number of tokens that you plan to use and be billed for.
53+
Before you create a deployment, it's useful to estimate the number of tokens that you plan to consume and be billed for.
5554
One token corresponds to one data point in your input dataset or output dataset.
5655

5756
Suppose you have the following input time series dataset:
@@ -72,15 +71,15 @@ Given the following output dataset:
7271

7372
You can also determine the number of tokens by counting the number of data points returned after data forecasting. In this example, the number of tokens is two.
7473

75-
#### Estimate the pricing
74+
#### Estimate pricing based on tokens
7675

77-
There are four pricing meters, as described in the following table:
76+
There are four pricing meters that determine the price you pay. These meters are as follows:
7877

79-
| Pricing Meter | Description |
80-
|-----------------------------------------------|-----------------------------------------------------------------------------------------|
81-
| paygo-inference-input-tokens | Costs associated with the tokens used as input for inference when *finetune_steps* = 0 |
82-
| paygo-inference-output-tokens | Costs associated with the tokens used as output for inference when *finetune_steps* = 0 |
83-
| paygo-finetuned-model-inference-input-tokens | Costs associated with the tokens used as input for inference when *finetune_steps* > 0 |
78+
| Pricing Meter | Description |
79+
|--|--|
80+
| paygo-inference-input-tokens | Costs associated with the tokens used as input for inference when *finetune_steps* = 0 |
81+
| paygo-inference-output-tokens | Costs associated with the tokens used as output for inference when *finetune_steps* = 0 |
82+
| paygo-finetuned-model-inference-input-tokens | Costs associated with the tokens used as input for inference when *finetune_steps* > 0 |
8483
| paygo-finetuned-model-inference-output-tokens | Costs associated with the tokens used as output for inference when *finetune_steps* > 0 |
8584

8685
### Create a new deployment

articles/machine-learning/how-to-deploy-models-timegen-1.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,10 @@ You can deploy TimeGEN-1 as a serverless API with pay-as-you-go billing. Nixtla
4646

4747
- Azure role-based access controls (Azure RBAC) are used to grant access to operations in Azure Machine Learning. To perform the steps in this article, your user account must be assigned the __Azure AI Developer role__ on the resource group. For more information on permissions, see [Manage access to an Azure Machine Learning workspace](how-to-assign-roles.md).
4848

49-
### Pricing information
5049

5150
#### Estimate the number of tokens needed
5251

53-
Before you create a deployment, it's useful to estimate the number of tokens that you plan to use and be billed for.
52+
Before you create a deployment, it's useful to estimate the number of tokens that you plan to consume and be billed for.
5453
One token corresponds to one data point in your input dataset or output dataset.
5554

5655
Suppose you have the following input time series dataset:
@@ -71,15 +70,15 @@ Given the following output dataset:
7170

7271
You can also determine the number of tokens by counting the number of data points returned after data forecasting. In this example, the number of tokens is two.
7372

74-
#### Estimate the pricing
73+
#### Estimate pricing based on tokens
7574

76-
There are four pricing meters, as described in the following table:
75+
There are four pricing meters that determine the price you pay. These meters are as follows:
7776

78-
| Pricing Meter | Description |
79-
|-----------------------------------------------|-----------------------------------------------------------------------------------------|
80-
| paygo-inference-input-tokens | Costs associated with the tokens used as input for inference when *finetune_steps* = 0 |
81-
| paygo-inference-output-tokens | Costs associated with the tokens used as output for inference when *finetune_steps* = 0 |
82-
| paygo-finetuned-model-inference-input-tokens | Costs associated with the tokens used as input for inference when *finetune_steps* > 0 |
77+
| Pricing Meter | Description |
78+
|--|--|
79+
| paygo-inference-input-tokens | Costs associated with the tokens used as input for inference when *finetune_steps* = 0 |
80+
| paygo-inference-output-tokens | Costs associated with the tokens used as output for inference when *finetune_steps* = 0 |
81+
| paygo-finetuned-model-inference-input-tokens | Costs associated with the tokens used as input for inference when *finetune_steps* > 0 |
8382
| paygo-finetuned-model-inference-output-tokens | Costs associated with the tokens used as output for inference when *finetune_steps* > 0 |
8483

8584
### Create a new deployment

0 commit comments

Comments
 (0)