Prompt Caching
How prompt caching works on TensorX.
Does TensorX offer prompt caching?
Cache-hit pricing
curl -H "Authorization: Bearer $TENSORX_API_KEY" \
https://api.tensorx.ai/v1/model/info \
| jq '.data[] | select(.model_info.supports_prompt_caching == true) | {
model: .model_name,
input_cost_per_token: .model_info.input_cost_per_token,
cache_read_input_token_cost: .model_info.cache_read_input_token_cost,
cache_creation_input_token_cost: .model_info.cache_creation_input_token_cost
}'Measuring cache usage
What this means in practice
Caching and zero data retention
Last updated
Was this helpful?

