{"repo":"PublicAffairs/openai-gemini","free":true,"listed":false,"github":"https://github.com/PublicAffairs/openai-gemini","clone":"git clone https://github.com/PublicAffairs/openai-gemini.git","description":"✦ Gemini ➜ OpenAI API proxy. Serverless!","language":"JavaScript","stars":3621,"topics":["chatgpt-api","gemini-ai","openai","proxy","serverless","gemini"],"license":"MIT","category":"networking-infra","readme_excerpt":"Why The Gemini API has Free Tier with generous limits , but there are still many tools that work exclusively with the OpenAI API. This project provides a personal OpenAI-compatible endpoint for free. Serverless? Although it runs in the cloud, it does not require server maintenance. It can be easily deployed to various providers for free (with generous limits suitable for personal use). [!TIP] Running the proxy endpoint locally is also an option! How to start You will need a personal Google API key. [!IMPORTANT] Even if you are located outside of the supported regions, it is still possible to acquire one using a VPN. Deploy the project to one of the providers, using the instructions below. You will need to set up an account there. If you opt for “button-deploy”, you'll be guided through the process of forking the repository first, which is necessary for continuous integration (CI). Deploy with Vercel - Alternatively can be deployed with cli: vercel deploy - Serve locally: vercel dev - Vercel Functions limitations (with Edge runtime) Deploy to Netlify - Alternatively can be deployed with cli: netlify deploy - Serve locally: netlify dev - Two different api bases provided: - /v1 (e.g. /v1/chat/completions endpoint) Functions limits - /edge/v1 Edge functions limits Deploy to Cloudflare - Alternatively can be deployed manually pasting content of src/worker.mjs to https://workers.cloudflare.com/playground (see there Deploy button). - Alternatively can be deployed with cli: wrangler ","default_branch":null,"files":null,"tree":[],"storefront":"/r/PublicAffairs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/PublicAffairs/openai-gemini/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}