logoalt Hacker News

Areibmanyesterday at 10:12 PM2 repliesview on HN

Could you say more about how caching works? One major advantage of sticking with a single model is saving money on cached input tokens. I'd imagine if you swap between a bunch of models, you may improve performance but cost would would balloon out of control


Replies

SilenNyesterday at 10:24 PM

The trick is to rarely switch, or switch at task boundaries. Often the conclusion of routing is actually "this one model is actually at the pareto front for this task, just use it always".

show 1 reply
purplecatsyesterday at 10:21 PM

and caching is related to performance too ofc