usage, and the cached tokens are billed
at pricing.input_cache_read when the model lists one, otherwise at the normal prompt rate.
input_cache_read in pricing.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Providers that cache a repeated prompt prefix report cached tokens in usage, and RedPill bills them at the model’s cache rate.
usage, and the cached tokens are billed
at pricing.input_cache_read when the model lists one, otherwise at the normal prompt rate.
"usage": {
"prompt_tokens": 1905,
"prompt_tokens_details": {"cached_tokens": 1792},
"completion_tokens": 64
}
input_cache_read in pricing.
Was this page helpful?