Deepseek provider isn't exposing caching values in usage · Issue ...
We read every piece of feedback, and take your input very seriously. To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community. By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails. Already on GitHub? Sign in to your account.
Monitoring Cache Hits
Two new fields in the API response's usage section help users monitor cache performance:
- prompt_cache_hit_tokens: Number of tokens from the input that were served from the cache ($0.014 per million tokens)
- prompt_cache_miss_tokens: Number of tokens from the input that were not served from the cache ($0.14 per million tokens)
This is most likely related to the open-ai compatible package which isn't spreading the usage record.
The text was updated successfully, but these errors were encountered: Hi, thanks for the report, looking into support for this.
Sorry, something went wrong.
shaperNo branches or pull requests.
No branches or pull requests.
No branches or pull requests.