Hacker News new | ask | show | jobs
by andunieee 13 days ago
How do I use it? Do I have to create a Google Console account and navigate through 15 menus in order to generate an API key? Or are there another 7 different ways to achieve similar outcomes?
2 comments

The subscription is the most cost effective way to use. But if you want to avoid the monthly cost you can create an API key and pay per use.

There are a few ways to create/use an API key. Through Google cloud, through vertex, but by far the easiest way is to use AI studio. https://aistudio.google.com/ pretty good platform to try out any Google model or just create an API key and use in whatever you want without having to deal with Google Cloud UI.

Alternatively you can get from other sources as well such as openrouter.

Is that link the one in which I get a subscription?

Once I get a subscription can I use it from OpenCode or do I have to install some other thing?

I opened that link and immediately had to answer a bunch of questions, sign some terms of use, and finally faced an error "Failed to list API keys: permission denied. Please try again." I had never used this website before.

There is no place that shows me billing plans and what I would get from them. When I go on Billing it says something about API usage, so I guess this is not where I'll get a subscription, right? Still, it makes me create a project on Google Cloud Console, and it starts to hurt very quickly.

Is the subsidy good on the subscription? Claude would cost me $10K or so in tokens on what I do in the $200/mo plan. It does good work but the written communication from it hurts my head. Open to trying a new provider.
Openrouter if you just want to pay as you go at token rates.

https://one.google.com/about/google-ai-plans/ had a 75% off on the Pro plan ($5/mo for 3 months) and limits are decent.