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

# ActivityItem - Go SDK

> ActivityItem type definition

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

## Fields

| Field                | Type      | Required             | Description                                         | Example                              |
| -------------------- | --------- | -------------------- | --------------------------------------------------- | ------------------------------------ |
| `ByokUsageInference` | `float64` | :heavy\_check\_mark: | BYOK inference cost in USD (external credits spent) | 0.012                                |
| `CompletionTokens`   | `int64`   | :heavy\_check\_mark: | Total completion tokens generated                   | 125                                  |
| `Date`               | `string`  | :heavy\_check\_mark: | Date of the activity (YYYY-MM-DD format)            | 2025-08-24                           |
| `EndpointID`         | `string`  | :heavy\_check\_mark: | Unique identifier for the endpoint                  | 550e8400-e29b-41d4-a716-446655440000 |
| `Model`              | `string`  | :heavy\_check\_mark: | Model slug (e.g., "openai/gpt-4.1")                 | openai/gpt-4.1                       |
| `ModelPermaslug`     | `string`  | :heavy\_check\_mark: | Model permaslug (e.g., "openai/gpt-4.1-2025-04-14") | openai/gpt-4.1-2025-04-14            |
| `PromptTokens`       | `int64`   | :heavy\_check\_mark: | Total prompt tokens used                            | 50                                   |
| `ProviderName`       | `string`  | :heavy\_check\_mark: | Name of the provider serving this endpoint          | OpenAI                               |
| `ReasoningTokens`    | `int64`   | :heavy\_check\_mark: | Total reasoning tokens used                         | 25                                   |
| `Requests`           | `int64`   | :heavy\_check\_mark: | Number of requests made                             | 5                                    |
| `Usage`              | `float64` | :heavy\_check\_mark: | Total cost in USD (OpenRouter credits spent)        | 0.015                                |
