Hacker News new | past | comments | ask | show | jobs | submit login

Wait, the API is free? I thought you had to use their web interface for it to be free. How do you use the API for free?



You can get an API key and they don't bill you. Free tier rate limits for some models (even decent ones like Gemini 2.0 Flash) are quite high.

https://ai.google.dev/gemini-api/docs/pricing

https://ai.google.dev/gemini-api/docs/rate-limits#free-tier


The rate limits I've encountered with free api keys has been way lower than the limits advertised.


I agree. I found it unusable for anything but casual usage due to the rate limiting. I wonder if I am just missing something?


I think it's the small TPM limits. I'll be way under the 10-30 requests per minute while using Cline, but it appears that the input tokens count towards the rate limit so I'll find myself limited to one message a minute if I let the conversation go on for too long, ironically due to Gemini's long context window. AFAIK Cline doesn't currently offer an option to limit the context explosion to lower than model capacity.


I'm pretty sure that's a google maps' level of free where once in control they will massively bill it


There is no reason to expect the other entrants in the market to drop out and give them monopoly power. The paid tier is also among the cheapest. People say it’s because they built their own their inference hardware and are genuinely able to serve it cheaper.


create an api key and dont set up billing. pretty low rate limits and they use your data


I use Gemini 2.5 pro experimental via openrouter in my openwebui for free. Was using sonnet 3.7 but I don't notice much difference so just default to the free thing now.


using aistudio.google.com




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: