feat: include cache creation/read tokens for AWS Bedrock explicit caching#1721
Merged
mathetake merged 7 commits intoenvoyproxy:mainfrom Jan 5, 2026
Merged
feat: include cache creation/read tokens for AWS Bedrock explicit caching#1721mathetake merged 7 commits intoenvoyproxy:mainfrom
mathetake merged 7 commits intoenvoyproxy:mainfrom
Conversation
Signed-off-by: Dan Sun <dsun20@bloomberg.net>
Signed-off-by: Dan Sun <dsun20@bloomberg.net>
Signed-off-by: Dan Sun <dsun20@bloomberg.net>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1721 +/- ##
==========================================
+ Coverage 81.05% 81.10% +0.04%
==========================================
Files 147 147
Lines 13319 13327 +8
==========================================
+ Hits 10796 10809 +13
+ Misses 1873 1869 -4
+ Partials 650 649 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Dan Sun <dsun20@bloomberg.net>
Signed-off-by: Dan Sun <dsun20@bloomberg.net>
mathetake
approved these changes
Jan 5, 2026
mathetake
pushed a commit
that referenced
this pull request
Jan 7, 2026
…hing (#1721) **Description** Include cache creation and cache hit tokens to total input tokens as well as keep separate fields for cache miss/hit accounting. This is to unify the usage response to user for both implicit and explicit cache as the input tokens for gpt and gemini include the cache tokens. --------- Signed-off-by: Dan Sun <dsun20@bloomberg.net>
hustxiayang
pushed a commit
to hustxiayang/ai-gateway
that referenced
this pull request
Jan 7, 2026
…hing (envoyproxy#1721) **Description** Include cache creation and cache hit tokens to total input tokens as well as keep separate fields for cache miss/hit accounting. This is to unify the usage response to user for both implicit and explicit cache as the input tokens for gpt and gemini include the cache tokens. --------- Signed-off-by: Dan Sun <dsun20@bloomberg.net> Signed-off-by: yxia216 <yxia216@bloomberg.net>
hustxiayang
pushed a commit
to hustxiayang/ai-gateway
that referenced
this pull request
Jan 13, 2026
…hing (envoyproxy#1721) **Description** Include cache creation and cache hit tokens to total input tokens as well as keep separate fields for cache miss/hit accounting. This is to unify the usage response to user for both implicit and explicit cache as the input tokens for gpt and gemini include the cache tokens. --------- Signed-off-by: Dan Sun <dsun20@bloomberg.net> Signed-off-by: yxia216 <yxia216@bloomberg.net>
hustxiayang
pushed a commit
to hustxiayang/ai-gateway
that referenced
this pull request
Jan 29, 2026
…hing (envoyproxy#1721) **Description** Include cache creation and cache hit tokens to total input tokens as well as keep separate fields for cache miss/hit accounting. This is to unify the usage response to user for both implicit and explicit cache as the input tokens for gpt and gemini include the cache tokens. --------- Signed-off-by: Dan Sun <dsun20@bloomberg.net>
hustxiayang
pushed a commit
to hustxiayang/ai-gateway
that referenced
this pull request
Feb 2, 2026
…hing (envoyproxy#1721) **Description** Include cache creation and cache hit tokens to total input tokens as well as keep separate fields for cache miss/hit accounting. This is to unify the usage response to user for both implicit and explicit cache as the input tokens for gpt and gemini include the cache tokens. --------- Signed-off-by: Dan Sun <dsun20@bloomberg.net>
hustxiayang
pushed a commit
to hustxiayang/ai-gateway
that referenced
this pull request
Feb 5, 2026
…hing (envoyproxy#1721) **Description** Include cache creation and cache hit tokens to total input tokens as well as keep separate fields for cache miss/hit accounting. This is to unify the usage response to user for both implicit and explicit cache as the input tokens for gpt and gemini include the cache tokens. --------- Signed-off-by: Dan Sun <dsun20@bloomberg.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Include cache creation and cache hit tokens to total input tokens as well as keep separate fields for cache miss/hit accounting. This is to unify the usage response to user for both implicit and explicit cache as the input tokens for gpt and gemini include the cache tokens.