---
Product: Aspose.PDF
Platform: go
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/go/usage
---

# Usage

## Overview

`Usage` is a type in Aspose.PDF FOSS for Go.

Usage reports token counts when the provider returns them.

Properties: `CompletionTokens`, `PromptTokens`, `TotalTokens`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `PromptTokens` | `int` | Read/Write | Gets the prompt tokens. |
| `CompletionTokens` | `int` | Read/Write | Gets the completion tokens. |
| `TotalTokens` | `int` | Read/Write | Gets the total tokens. |

## See Also

- [Aspose.PDF — Enterprise API Reference](https://reference.aspose.com/pdf/)