Skip to content

[Feature]: pricing for 1h cache writes with long-context models #18988

Description

@nuernber

The Feature

It looks like LiteLLM already has cache_creation_input_token_cost_above_1hr, but it doesn't have a notion for cache_creation_input_token_cost_above_1hr_above_200k_tokens. That is, from the AWS Bedrock pricing page (https://aws.amazon.com/bedrock/pricing/), the following red circled price isn't getting tracked right now:

Image

Motivation, pitch

Pricing is not working correctly right now for this situation

What part of LiteLLM is this about?

Proxy

LiteLLM is hiring a founding backend engineer, are you interested in joining us and shipping to all our users?

No

Twitter / LinkedIn details

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions