# openai-api-vercel-proxy **Repository Path**: fangjunjie/openai-api-vercel-proxy ## Basic Information - **Project Name**: openai-api-vercel-proxy - **Description**: OpenAI API Proxy - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-11-14 - **Last Updated**: 2025-11-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 零代码、零成本代理OpenAI等限制访问的接口 ### 快速开始 #### 0.注册Vercel 如果你没有Vercel账号,首先需要前往 https://vercel.com/ 免费注册一个账号。 #### 1.安装Vercel环境 ```shell npm i -g vercel ``` #### 2.拉取项目并本地测试 ```shell npm install ``` ```shell vercel dev --debug ``` 首次使用Vercel需要登录,按照提示操作即可。 #### 3.部署到Vercel ```shell vercel --prod ``` #### 4.代理接口说明 - 使用部署后返回的域名测试,建议绑定个人域名使用。 - 代理接口地址:https://openai-vercel-proxy-xxxx.vercel.app/{openai接口路径} - 例如: OpenAI官方Chat接口为 https://api.openai.com/v1/chat/completions 对应代理接口为 https://openai-vercel-proxy-xxxx.vercel.app/v1/chat/completions` - OpenAI接口文档:https://platform.openai.com/docs/api-reference/chat - 建议在vercel配置个人域名保持接口稳定,无需证书即可实现https。 #### 5.扩展 只需在`vercel.json`文件中修改或者增加代理配置即可。