> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-5b6e02fd.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateEmbeddingsUsage - Go SDK

> CreateEmbeddingsUsage type definition

<Warning>
  The Go SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/go-sdk/issues).
</Warning>

Token usage statistics

## Fields

| Field                 | Type                                                                                             | Required             | Description                                                                                                                                                                                                   | Example |
| --------------------- | ------------------------------------------------------------------------------------------------ | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| `Cost`                | `*float64`                                                                                       | :heavy\_minus\_sign: | Cost of the request in credits                                                                                                                                                                                | 0.0001  |
| `PromptTokens`        | `int64`                                                                                          | :heavy\_check\_mark: | Number of tokens in the input                                                                                                                                                                                 | 8       |
| `PromptTokensDetails` | [\*operations.PromptTokensDetails](/client-sdks/go/api-reference/operations/prompttokensdetails) | :heavy\_minus\_sign: | Per-modality token breakdown. Only present when the input contains 2+ modalities (e.g. text + image) and the upstream provider returns modality-level usage data. Only non-zero modality counts are included. |         |
| `TotalTokens`         | `int64`                                                                                          | :heavy\_check\_mark: | Total number of tokens used                                                                                                                                                                                   | 8       |
