Skip to content
RED SAG Skills
hard20 pts · first answer countsai-agentscontext-management

Savings from caching a long prefix

Each of 20 agent calls sends a 10,000-token unchanged prefix. Normal input is $3 per million tokens. Writing the cache costs 1.25x and cache reads cost 0.1x. Ignoring other tokens, what is the prefix cost with caching (1 write, 19 reads)?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions