> ## Documentation Index > Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt > Use this file to discover all available pages before exploring further. # GetCreditsResponse Total credits purchased and used ## Example Usage ```typescript theme={null} import { GetCreditsResponse } from "@openrouter/sdk/models/operations"; let value: GetCreditsResponse = { data: { totalCredits: 100.5, totalUsage: 25.75, }, }; ``` ## Fields | Field | Type | Required | Description | Example | | ------ | ----------------------------------------------------------------------- | -------------------- | ----------- | ------------------------------------------------------------------ | | `data` | [operations.GetCreditsData](../../models/operations/getcreditsdata.mdx) | :heavy\_check\_mark: | N/A | \{
"total\_credits": 100.5,
"total\_usage": 25.75
} |