Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Per-modality token breakdown. Only present when the input contains 2+ modalities (e.g. text + image) and the upstream provider returns modality-level usage data. Only non-zero modality counts are included.

Example Usage

Fields