Y
Hacker News
new
|
ask
|
show
|
jobs
Show HN: Gemini OpenAI API Proxy. Serverless
(
github.com
)
39 points
by
johnd0e_
847 days ago
4 comments
anonzzzies
846 days ago
What’s with the sad region limitations on this thing? We are a company in a region that is allowed , but I live/work in a region that’s not allowed and the thing keeps being annoying. Does Google ever learn?
link
johnd0e_
846 days ago
This proxy can solve your problem. Just deploy it to Vercel or Netlify.
link
lobito14
846 days ago
Compliance with local laws, probably regarding privacy.
link
android521
846 days ago
but i can use openai in my country but not google ai. It is quite annoying that Google restricts access based on countries.
link
johnd0e_
846 days ago
That is sad. But fixable, with this openai-gemini project. Try it!
link
WiSaGaN
846 days ago
openrouter provides access to gemini, and it has openai compatible API too. [1]
[1]:
https://openrouter.ai/docs
link
rbatista19
845 days ago
Even if you use a VPN to get the Gemini API key, doesn't the Google server check your IP server location?
link
johnd0e_
845 days ago
Sure it does. But Vercel and Netlify servers are located in US, so..
link
rbatista19
845 days ago
Gotcha, thanks!
link
printvoid
846 days ago
What is the advantage because the model is anyways gpt-turbo 3.5 and not 4 which costs money.
link
johnd0e_
845 days ago
Model is in fact "gemini-pro" (and "gemini-pro-vision"). And in case of OpenAI "gpt-3.5-turbo" also costs money, if you want to use it via API.
link
silly_ninja
846 days ago
I had a similar question in mind.
link