

# BillableTokenUsage
<a name="API_BillableTokenUsage"></a>

The billable token usage for a training session, broken down by operation type.

## Contents
<a name="API_BillableTokenUsage_Contents"></a>

 ** PrefillTokenCount **   <a name="sagemaker-Type-BillableTokenUsage-PrefillTokenCount"></a>
The number of prefill tokens consumed.  
Type: Long  
Required: No

 ** SampleTokenCount **   <a name="sagemaker-Type-BillableTokenUsage-SampleTokenCount"></a>
The number of sample tokens consumed.  
Type: Long  
Required: No

 ** TrainingTokenCount **   <a name="sagemaker-Type-BillableTokenUsage-TrainingTokenCount"></a>
The number of training tokens consumed.  
Type: Long  
Required: No

## See Also
<a name="API_BillableTokenUsage_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/sagemaker-2017-07-24/BillableTokenUsage) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/sagemaker-2017-07-24/BillableTokenUsage) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/sagemaker-2017-07-24/BillableTokenUsage) 