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

# GetCreditsResponse - Python SDK

> GetCreditsResponse method reference

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

Total credits purchased and used

## Fields

| Field  | Type                                                                                     | Required             | Description | Example                                         |
| ------ | ---------------------------------------------------------------------------------------- | -------------------- | ----------- | ----------------------------------------------- |
| `data` | [operations.GetCreditsData](/client-sdks/python/api-reference/operations/getcreditsdata) | :heavy\_check\_mark: | N/A         | `{"total_credits": 100.5,"total_usage": 25.75}` |
