Release date 2026/09/15
Bugfix
Fixed an issue where Gemini streaming analytics could over-report token usage. Gemini repeats its usage metadata on every stream chunk as a running request-level total, but the counts were summed across chunks instead of replaced, multiplying the reported usage by the number of chunks. Reasoning tokens were affected the most, because Gemini reports them in full on the first chunk and does not change them afterwards. A chunk that carried no usage metadata also reset the recorded output token count to zero.
Fixed a 500 crash on Bedrock Converse requests when a
cachePointcontent block immediately followed atoolResultblock in the same message.Fixed an issue where the Azure managed identity token was cached indefinitely and never refreshed, causing requests to fail with 401 after the token expired (roughly one hour).
Fixed Gemini token accounting to include reasoning tokens in
completion_tokensfor both OpenAI-format and native-format proxying.