mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-10-05 20:28:23 +00:00
Parse cachedInputTokenPricePer1M and cached_prompt_tokens so EHBP relays bill cache reads at the discounted cached rate instead of the full input rate. Models without a cached rate fall back to full input pricing, and cache writes stay at full input since Tinfoil has no separate cache-write price.