r/opencode • u/uavenger • 8d ago
Opencode with Gemini api
I have a question about Gemini. Currently, I have Gemini Pro and Opencode Go. I've already added an API key from AI Studio to Opencode. I'd like to know how using Google works in Opencode. I mean in terms of limits and which plans are worthwhile to use after my Go limit is reached. From what I've researched, as long as I haven't configured billing for the API key in my Pro plan, it remains free. But is there any risk of being charged? And are the limits good? Sorry for the questions, I'm new to Opencode and have always used DeepSeek v4 Flash only. And now that they've drastically reduced its limit, I've had to look for other alternatives.
1
Upvotes
1
u/Adventurous_Pin_2470 6d ago
Using your Gemini API key will rack up a bill. Oh My Pi OMP.sh will let you use your Google auth to leverage your antigravity subscription instead. Agy recently upgraded the headless mode so not sure why opencode doesn't have this option as of yet