Live data from Hacker News

Getting a Gemini API key is an exercise in frustration

ankursethi.com

291–300 of 361 posts

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

#291
post #53

Earlier quoted context omitted.

They could always just use OpenCoder, Crush or Goose with OpenRouter ( https://openrouter.ai/google/gemini-3-pro-preview )

Google has the ADK project, which is really good. Python is the primary implementation, Java is there, Go is relatively new and aiming for parity. They could have contributed the Typescript implementation and built on common, solid foundation, but alas, the hydra's heads are not communicating well These other "frameworks" are (1) built by people who need to sell something, so they are often tied to their current thin…

openrouter just gives you prompt in, result out in standard openai api format.

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

#292

There are plenty of ways to get access to gemini - a single google search took me directly to the simplest way (subscribe to Google AI Ultra) in one click: https://one.google.com/intl/en/about/google-ai-plans/ The author apparently found himself on a much more difficult path, one designed for enterprises who are already on google cloud, already have billing set up, etc. The fact that an individuals experience with an…

The url you sent, when signing up, just sends me to my homepage where I get a overview of my subscription at one.google.com, I can't see where to access a api key

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

#293

There are plenty of ways to get access to gemini - a single google search took me directly to the simplest way (subscribe to Google AI Ultra) in one click: https://one.google.com/intl/en/about/google-ai-plans/ The author apparently found himself on a much more difficult path, one designed for enterprises who are already on google cloud, already have billing set up, etc. The fact that an individuals experience with an…

Does it let you use Gemini 3 in Gemini CLI?

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

#295

Earlier quoted context omitted.

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 Su…

> 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

My spend is lower, so I conclude otherwise

> I think the issue with cli tools for many is...

Came from that world, vim, nvim, my dev box is remote, homelab

The issue is not that it is a CLI, it's that you are trying to develop software through the limited portal of a CLI. How do you look at multiple files at the same time? How do you scroll through that file

1. You cannot through a tool like gemini-cli

2. You are using another tool to look at files / diffs

3. You aren't looking at the code and vibe coding your way to future regret

> or me any sort of a GUI slows me down so much it's not feasible.

vim is a "gui" (tui), vs code has keyboard shortcuts, associating GUI with mouse work

> 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.

Anecdotal "vibe" opinions are not useful. We need to do some real evals because people are telling stories like they do about their stock wins, i.e. they don't tell you about the losses.

Thousands of hours sounds like your into the vibe coding / churning / outsourcing paradigm. There are better ways to leverage these tools. Also, if you have 1000+ hours of LLM time, how have you not gone below the prepackaged experience Big AI is selling you?

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

#296
post #284

Earlier quoted context omitted.

Yeah at $WORK we use various LLM APIs to analyze text; it's not heavy usage in terms of tokens but maybe 10K calls per day. We've found that response times vary a lot, sometimes going over a minute for simple tasks, and random fails happen. Retry logic is definitely mandatory, and it's good to have multiple providers ready. We're abstracting calls across three different APIs (openai, gemini and mistral, btw we're get…

I've been impressed by ollama running locally for my work, involving grouping short text snippets by semantic meaning, using embeddings, as well as summarization tasks. Depending on your needs, a local GPU can sometimes beat the cloud. (I get no failures and consistent response times with no extra bill.) Obviously YMMV, and not ideal for scaling up unless you love hardware.

Which models have you been using?

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

#297

Earlier quoted context omitted.

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".

Ha, bold of you to assume they'll respond!

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

#299

Earlier quoted context omitted.

Google has the ADK project, which is really good. Python is the primary implementation, Java is there, Go is relatively new and aiming for parity. They could have contributed the Typescript implementation and built on common, solid foundation, but alas, the hydra's heads are not communicating well These other "frameworks" are (1) built by people who need to sell something, so they are often tied to their current thin…

openrouter just gives you prompt in, result out in standard openai api format.

These projects are all a level above open router, they call the same standard APIs, or even custom ones and manage the translation. They do a lot more as well

ADK has an option to use litellm (openrouter alternative), among many options

https://google.github.io/adk-docs/agents/models/#using-cloud...

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

#300
post #58

Earlier quoted context omitted.

> Gemini via studio Excuse me? If you mean AI Studio, are you talking about the product where you can’t even switch which logged in account you’re using without agreeing to its terms under whatever random account it selected, where the ability to turn off training on your data does not obviously exist, and where it’s extremely unclear how an organization is supposed to pay for it?

Yes, much like admin.google.com (the GSuite admin interface), which goes ahead and tries to two-factor your personal GMail account every single time you load it instead of asking you which of the actual GSuite accounts you're signed into you'd like to use...

I always have a buggy ass hell experience with having multiple google accounts pretty much across all their services. I've been wondering if its just me or how the hell this is normal.
Post reply on HN