Live data from Hacker News

Getting a Gemini API key is an exercise in frustration

ankursethi.com

261–270 of 361 posts

Re: Getting a Gemini API key is an exercise in frustration

#261

As a former employee, the engineering culture at Google gives me old-school hacker vibes, so users are very much expected to “figure it out” and that’s somewhat accepted (and I say this with fond memories). It’s no surprise the company struggles with good UX.

> users are very much expected to “figure it out” and that’s somewhat accepted

That sounds like a really fun place to work but a really awful business to be a customer of.

Re: Getting a Gemini API key is an exercise in frustration

#262
post #229

Earlier quoted context omitted.

I can’t tell if you might be joking. If you are, the rest of this comment is irrelevant. That general idiom is old and fairly widely used. There was a Seinfeld episode in 1997 in which Elaine talked about “…not lurching around like a caveman.” If you’re objecting to criticism of writing code by hand, the phrase is almost invariably used in a self-deprecating way, acknowledging some inefficiency or old-fashioned behav…

Thank you. Seinfeld reference does it. About the "hard way", everything in the article is screaming that OP's new way of coding is the hard way, not the other way around

You came in hot with a wrong assumption couched in absolute terms… and, after correction, you’re flouncing out with the same irrelevent message.

I’m an AI skeptic, but this ain’t it.

Re: Getting a Gemini API key is an exercise in frustration

#264

Earlier quoted context omitted.

I have had way too many arguments over the years with product and sales people at my job on the importance of instant self-signup. I want to be able to just pay and go, without having to talk to people or wait for things. I know part of it is that sales wants to be able to price discriminate and wants to be able to use their sales skills on a customer, but I am never going to sign up for anything that makes me talk t…

If it's only pay and go why have Sales at all? At the very best you need only a slimmed down Sales Department, so being against pay and go is self preservation.

For enterprise deals.

Re: Getting a Gemini API key is an exercise in frustration

#265

I don't understand the multiple posts / comments I've seen about this. I google `gemini API key` and the first result* is this docs page: https://ai.google.dev/gemini-api/docs/api-key That docs page has a link in the first primary section on the page. Sure, it could be a huge CTA, but this is a docs page, so it's kinda nice that it's not gone through a marketing make over. * besides sponsored result for AI Studio (Ma…

Most of them are correlating gemini-cli experience (trash) with the broader access to Gemini via studio or cloud (not at all a problem)

I have a claude max subscription and a gemini pro sub and I exclusively use them on the cli. When I run out of claude max each week I switch over to gemini and the results have been pretty impressive -- I did not want to like it but credit where credit is due to google.

Like the OP others I didn't use the API for gemini and it was not obvious how to do that -- that said it's not cost effective to develop without a Sub vs on API pay-as-you-go, so i do no know why you would? Sure you need API for any applications with built-in LLM features, but not for developing in the LLM assisted CLI tools.

I think the issue with cli tools for many is you need to be competent with cli like a an actual nix user not Mac first user etc. Personally I have over 30 years of daily shell use and a sysadmin and developer. I started with korn and csh and then every one you can think of since.

For me any sort of a GUI slows me down so much it's not feasible. To say nothing of the physical aliments associated with excessive mousing.

Having put approaching thousands of hours working with LLM coding tools so far, for me claude-code is the best, gemini is very close and might have a better interface, and codex is unusable and fights me the whole time.

Re: Getting a Gemini API key is an exercise in frustration

#266

Earlier quoted context omitted.

Oh man let me add onto that! 4. If you read about a new Gemini model, you might want to use it - but are you using @google/genai, @google/generative-ai (wow finally deprecated) or @google-ai/generativelanguage? Silly mistake, but when nano banana dropped it was highly confusing image gen was available only through one of these. 5. Gemini supports video! But that video first has to be uploaded to "Google GenAI Drive"…

12. Release your first version. 13. Get your whole google account banned.

14. Ask why it was banned and they respond with something like "oh you know what you did".

Re: Getting a Gemini API key is an exercise in frustration

#269

Using metaphors is dangerous, but I would dare to say that big tech AI is like cement suppliers. It's too low level of a service. In civil engineering you have the option to contract value added suppliers that will give you prefabricated pieces in concrete or steel you could be using to build your construction. I'm seeing a lot of AI firms building value added services on top of big tech "foundational" AI offerings.…

Openrouter is roughly at that level of value-add. With plenty of competition now, since being able to charge 5% on your AI spend just for having sane billing, spending controls (actually enforced per-api-token budget limits!) and easy sign-up is an insanely profitable business proposition

On the other hand I think it's fair to criticize the model hosts for not offering the same

Re: Getting a Gemini API key is an exercise in frustration

#270
post #177

I wasted several hours this week going around in the exact same circles. We have a billing account, but kept hitting a gemini quota. Fine. But then on the quota page, every quota said 0% usage. And our bill was like $5. Some docs said check AI studio, but then the "import project from google cloud to AI studio" button kept silently failing. This was a requests per minute quota, which was set at 15 (not a whole lot...…

Exactly the same for me. Quote usage is something like 2%, but constantly experience the quota limit error.

The trick here is that they describe internal loadshedding as quota limits.

There’s a quote for your general class of query, and there’s a quota for how many can be in flight on a given server. It’s not necessarily about you specifically.

Post reply on HN