| 1 | // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. |
| 2 | |
| 3 | /** |
| 4 | * Token accounting passed through from the Anthropic API response. |
| 5 | * Fields are snake_case (unlike the rest of the frontend schema) because |
| 6 | * they're verbatim from the API payload — renaming would require an |
| 7 | * intermediate parse step that has no benefit. |
| 8 | */ |
| 9 | export type Usage = { input_tokens: number, output_tokens: number, cache_creation_input_tokens: number, cache_read_input_tokens: number, }; |