Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Gemini OpenAI API Proxy. Serverless (github.com/publicaffairs)
39 points by johnd0e_ 3 months ago | hide | past | favorite | 12 comments



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?


This proxy can solve your problem. Just deploy it to Vercel or Netlify.


Compliance with local laws, probably regarding privacy.


but i can use openai in my country but not google ai. It is quite annoying that Google restricts access based on countries.


That is sad. But fixable, with this openai-gemini project. Try it!


openrouter provides access to gemini, and it has openai compatible API too. [1]

[1]: https://openrouter.ai/docs


Even if you use a VPN to get the Gemini API key, doesn't the Google server check your IP server location?


Sure it does. But Vercel and Netlify servers are located in US, so..


Gotcha, thanks!


What is the advantage because the model is anyways gpt-turbo 3.5 and not 4 which costs money.


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.


I had a similar question in mind.




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

Search: