CLIProxyAPI icon indicating copy to clipboard operation
CLIProxyAPI copied to clipboard

[Suggestion] Improve Prompt Caching for Gemini CLI / Antigravity - Don't do round-robin for all every request

Open NguyenSiTrung opened this issue 1 year ago • 2 comments

As far as I know, both the Gemini CLI provider and Antigravity currently provide access to the Gemini 3 Pro model. With the current handling—load balancing that constantly switches between providers and between different accounts of a single provider—does this completely break Gemini's prompt caching mechanism?

NguyenSiTrung avatar Nov 22 '25 12:11 NguyenSiTrung

It is well known that both Gemini CLI and Antigravity charge per call rather than by token count.

So input caching is meaningless to them, as caching neither noticeably improves speed nor saves costs.

luispater avatar Nov 22 '25 13:11 luispater

https://linux.do/t/topic/1223482?u=sssun 似乎并不是,Antigravity 好像是有缓存的。

Image

sdsdsdff avatar Nov 27 '25 01:11 sdsdsdff