Support Passing X-Amzn-Bedrock-Request-Metadata headers for cost allocation within AWS Bedrock #6765
m4x1202
started this conversation in
Ideas & Feature Requests
Replies: 2 comments 3 replies
|
@m4x1202, thanks for submitting the request. The support is feasible, but I wonder what kind of information you would like to see there? Following current support for different gateways on our platform, we are usually sending users and groups, so potentially the upstream request could have the following: X-Amzn-Bedrock-Request-Metadata: {"group": "orchestrator", "user": "user@example.com"} |
2 replies
|
An extension to this request that would be awesome to have for cost efficiency optimization is the |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Before posting
Product area
Dashboard / Admin UI
Problem or use case
Although it is great to see the costs of AI of our users in the Netbird Web UI, it would be awesome to have a similar details directly in the AWS Cost Management.
As far as I know this is possible using Cost-allocation tags.
Proposed solution
I found the this header
X-Amzn-Bedrock-Request-Metadata, that seems to, when forwarded as part of the AI requests to Bedrock, should solve the Use case described above:https://docs.aws.amazon.com/bedrock/latest/userguide/cost-mgmt-request-metadata.html#cost-mgmt-request-metadata-how-it-works
Alternatives or workarounds considered
No response
Community impact and priority
Examples from other tools or products
No response
Security, privacy, and compatibility considerations
No response
Implementation ideas
No response
Are you willing to help?
Yes, I can test or validate a proposed implementation.
Additional context
Thanks a lot in advance for the help
All reactions