> ## 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.

# UsageCostDetails - Go SDK

> UsageCostDetails 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 |
| ----------------------------- | --------------------------------------------- | -------------------- | ----------- |
| `UpstreamInferenceCost`       | optionalnullable.OptionalNullable\[`float64`] | :heavy\_minus\_sign: | N/A         |
| `UpstreamInferenceInputCost`  | `float64`                                     | :heavy\_check\_mark: | N/A         |
| `UpstreamInferenceOutputCost` | `float64`                                     | :heavy\_check\_mark: | N/A         |
