by AyishikD · 1d ago · 0 comments
Today GoModel has session affinity for load balancing (6 hour TTL by default) and api keys rotation.
As for fallback:
1) Yes, you lose the prompt caching in this case - but usually it's better to keep your app/agent working than to save money here.
2) Actually your comment inspired me to add this... As of today the session is not sticky to the fallback target - but I think it's reasonable to do it by default (with an option to opt-out)
I'd like to mention that we also have a more advanced provider cache awareness for the early Pro/commercial features which can save you money - prompt compression / intelligent routing.