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

# BodyUsage1

## Fields

| Field | Type | Required | Description |
| - | - | - | - |
| `completion_tokens` | *int* | :heavy\_check\_mark: | The tokens generated |
| `completion_tokens_details` | [OptionalNullable\[components.BodyCompletionTokensDetails\]](../components/bodycompletiontokensdetails.mdx) | :heavy\_minus\_sign: | N/A |
| `prompt_tokens` | *int* | :heavy\_check\_mark: | Including images, input audio, and tools if any |
| `prompt_tokens_details` | [OptionalNullable\[components.BodyPromptTokensDetails1\]](../components/bodyprompttokensdetails1.mdx) | :heavy\_minus\_sign: | Breakdown of tokens used in the prompt. |
| `server_tool_use` | [OptionalNullable\[components.BodyServerToolUse\]](../components/bodyservertooluse.mdx) | :heavy\_minus\_sign: | Usage for server-side tool execution (e.g., web search) |
| `server_tool_use_details` | [OptionalNullable\[components.BatchObjectServerToolUseDetails\]](../components/batchobjectservertoolusedetails.mdx) | :heavy\_minus\_sign: | Usage for server-side tool execution (e.g., web search) |
| `total_tokens` | *int* | :heavy\_check\_mark: | Sum of the above two fields |
