# AiUsageWindow

object type

YOUR group's AI-usage window: the days WITH usage, newest first, + the window totals.

## Fields

| Field | Type | Notes |
| --- | --- | --- |
| `days` | [AiUsageDay](/types/AiUsageDay/) `[AiUsageDay!]!` | No further notes. |
| `totalCalls` | [Int](/types/#scalars) `Int!` | No further notes. |
| `totalTokensInput` | [Int](/types/#scalars) `Int!` | No further notes. |
| `totalTokensOutput` | [Int](/types/#scalars) `Int!` | No further notes. |
| `totalCostUsd` | [String](/types/#scalars) `String!` | The window's total spend — a DECIMAL STRING in USD (the money-string law). |

## Used by

- [aiUsage](/reference/billing-and-the-wallet/aiUsage/)
