1.3.1
What's Changed
Added
- Add dedicated
inputTokenLimitandoutputTokenLimitrate limit properties toMetaInformation - Add
cache_creationbreakdown to usage (CreateResponseUsageCacheCreationwithephemeral5mInputTokensandephemeral1hInputTokens) - Add
serviceTierfield to usage (standard, priority, or batch) - Add
serverToolUsefield to usage (CreateResponseUsageServerToolUsewithwebSearchRequests)
Improved
- Input/output token rate limit headers are now parsed as dedicated properties instead of falling into the generic
custombucket - Usage objects now capture all fields returned by the API instead of silently dropping extended fields
Full Changelog: 1.3.0...1.3.1