[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10319":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":29,"readmeContent":30,"aiSummary":31,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":32,"discoverSource":33},10319,"ChatGPTAPIFree","ayaka14732\u002FChatGPTAPIFree","ayaka14732","A simple and open-source proxy API that allows you to access OpenAI's ChatGPT API for free!","",null,"JavaScript",3328,744,1,8,0,2,10,30.62,"Creative Commons Zero v1.0 Universal",true,false,"main",[25,26,27,28],"api","chatbot","chatgpt","free","2026-06-12 02:02:20","# ChatGPT API Free\n\n[简体中文版](README-zh_CN.md) - [繁體中文版](README-zh_HK.md)\n\nWelcome to the ChatGPT API Free project, a simple and open-source proxy API that allows you to access OpenAI's ChatGPT API for free.\n\n**You may want to check out the [Free ChatGPT](https:\u002F\u002Fgithub.com\u002Fztjhz\u002FFreeChatGPT) website!**\n\n## News\n\n- **2023-03-26**: It is with a heavy heart that I announce the archiving of the ChatGPTAPIFree repository. Our endeavour to provide a free API for all has reached an unsustainable financial crossroad, prompting a temporary halt in our pursuit of equal access to AI technology. Despite this setback, our commitment remains unwavering. We will continue to explore alternative methods and advocate for OpenAI to lower their API pricing and remove regional restrictions. While our progress may have slowed, our resolve to create a world where the power of AI is accessible to all is stronger than ever.\n- **2023-03-14**: A kind group member sponsored this project with 400 USD, which enables the free API to run for an even longer period of time.\n- **2023-03-12**: A kind group member sponsored this project with 5000 CNY (724 USD), allowing for continued free access to ChatGPT. Rate limits have been implemented to ensure the API's stability and security. You are welcome to support this project by sponsoring it or hosting your own API endpoint.\n- **2023-03-04**: Check out the [Free ChatGPT](https:\u002F\u002Ffreechatgpt.chat\u002F), an amazing open-source web application that allows you to interact with OpenAI's ChatGPT API for free. It is built on top of this project.\n\n## The Open ChatGPT Initiative\n\nIn a world where technology advances at an exponential pace, where the line between man and machine grows increasingly blurred, it is the responsibility of those who have the capability to create, to ensure that the benefits of this progress are shared by all.\n\nWith this in mind, I would like to present to you the Open ChatGPT Initiative. A beacon of hope in a world where the potential of AI is limited by the barrier and the cost of entry. A free and open-source proxy API that removes the barriers to accessing the latest AI technology, and makes it available to all.\n\nThis project was born from a belief, a belief in a future where the power of artificial intelligence is not reserved for the privileged few, but available to every creator, every innovator, and every dreamer.\n\nIt is a belief that technology should serve humanity, not the other way around. A belief that access to the latest advancements should not be determined by one’s technological ability or financial resources, but by one’s creativity, imagination and ambition.\n\nThis project does not seek to revolutionise the AI industry, but to democratise it. To make the power of AI accessible to every person, regardless of their background or financial situation. To promote equality, education, and innovation.\n\nIt is my sincerest hope that this project will be a catalyst for change, a rallying point for those who believe that the benefits of AI should be shared by all. Join me in this endeavour, and let us create a future where the power of AI belongs to us all.\n\n> If you would like to read another article with more technical details, please read [_Unleashing the Boundlessness of ChatGPT: A Public Appeal_](https:\u002F\u002Fmedium.com\u002F@ayaka_45434\u002Funleashing-the-boundlessness-of-chatgpt-a-public-appeal-f1b535a5ca05).\n\n## Usage\n\nTo use ChatGPT API Free, simply send a POST request to the following endpoint:\n\n```\nhttps:\u002F\u002Fchatgpt-api.shn.hk\u002Fv1\u002F\n```\n\nFor instance, to generate a response to the prompt \"Hello, how are you?\" using the `gpt-3.5-turbo` model, send the following `curl` command:\n\n```sh\ncurl https:\u002F\u002Fchatgpt-api.shn.hk\u002Fv1\u002F \\\n  -H 'Content-Type: application\u002Fjson' \\\n  -d '{\n  \"model\": \"gpt-3.5-turbo\",\n  \"messages\": [{\"role\": \"user\", \"content\": \"Hello, how are you?\"}]\n}'\n```\n\nYou can view the full API documentation on the [OpenAI official documentation](https:\u002F\u002Fplatform.openai.com\u002Fdocs\u002Fapi-reference\u002Fchat\u002Fcreate).\n\n## Introduction\n\nChatGPT is a world-renowned conversational AI model developed by OpenAI, known for generating human-like responses to various prompts and queries. With its cutting-edge capabilities, ChatGPT is a valuable asset for chatbots, virtual assistants, and other natural language processing applications.\n\nThe ChatGPT API is a powerful tool that allows developers to integrate the ChatGPT model into their own applications. However, to use this API, users need to have an OpenAI API key and pay for usage.\n\nChatGPT API Free believes that everyone should have access to the latest AI technology without the financial burden of paying for an API key. This open-source proxy API allows you to access the ChatGPT API without a key, promoting accessibility and innovation for all.\n\n## What does ChatGPT API Free do?\n\nThis simple proxy API acts as a bridge between you and the OpenAI ChatGPT API. You can send requests to the ChatGPT API Free endpoint using the same format as the original API. This proxy API then forwards the request to the OpenAI API with an API key provided by this project, and the response from the OpenAI API is returned to you.\n\n## Significance\n\nThe ChatGPT API Free project is a game-changer for the AI development community. With the proxy API, anyone can access the state-of-the-art ChatGPT model without needing a key. This accessibility fosters creativity, innovation, and collaboration among developers, and could potentially lead to groundbreaking advancements in AI technology.\n\nMoreover, other successful projects such as [ChatGPT Free App](https:\u002F\u002Ffreechatgpt.chat\u002F) build on top of this API, showing the vast potential of this project.\n\n## Privacy Statement\n\nThis project highly values privacy and is committed to safeguarding the privacy of its users. This project does not collect, record, or store any text entered by users or returned by the OpenAI server in any manner. This project does not provide any information to OpenAI or any third parties about the identity of API callers, including but not limited to IP addresses and user-agent strings. The source code of this project is available for inspection to verify this statement.\n\nHowever, the OpenAI API does retain data for 30 days in accordance with its [data usage policies](https:\u002F\u002Fplatform.openai.com\u002Fdocs\u002Fdata-usage-policies).\n\n## Host Your Own Instance\n\nIf you'd like to run your own instance of ChatGPT API Free, you can easily do so by following these steps:\n\n1. Obtain an OpenAI API Key from [OpenAI API Keys](https:\u002F\u002Fplatform.openai.com\u002Faccount\u002Fapi-keys).\n1. Star and fork this repository on GitHub.\n1. Configure your [environment variables](.env.example) correctly.\n1. Deploy Docker locally or on [Google Cloud Run](https:\u002F\u002Fcloud.google.com\u002Frun).\n1. Setup rate limit locally or using [Google Cloud Armor](https:\u002F\u002Fcloud.google.com\u002Farmor\u002Fdocs\u002Frate-limiting-overview).\n\n## Improve this project\n\nThis project is always seeking ways to improve and welcomes feedback and contributions from its users. If you have any suggestions or ideas, please feel free to create an issue or submit a pull request on the GitHub repository.\n\n## Sponsor me!\n\nIf you find ChatGPT API Free useful, please consider [sponsoring the author](https:\u002F\u002Fgithub.com\u002Fsponsors\u002Fayaka14732) on GitHub to support ongoing development and maintenance. Your support would help her maintain this project and continue to make AI technology accessible for all. Thank you for your support!\n\n\u003Ctable>\n  \u003Ctr>\n    \u003Cth>Ko-fi\u003C\u002Fth>\n    \u003Ctd>\u003Ca href=\"https:\u002F\u002Fko-fi.com\u002Ffreechatgpt\">\u003Cimg src=\"https:\u002F\u002Fko-fi.com\u002Fimg\u002Fgithubbutton_sm.svg\" alt=\"Ko-fi\">\u003C\u002Fa>\u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Cth>Alipay\u003C\u002Fth>\n    \u003Ctd>\u003Cimg src=\"https:\u002F\u002Fayaka14732.github.io\u002Fsponsor\u002Falipay.jpg\" alt=\"Alipay\" width=\"150\">\u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Cth>WeChat\u003C\u002Fth>\n    \u003Ctd>\u003Cimg src=\"https:\u002F\u002Fayaka14732.github.io\u002Fsponsor\u002Fwechat.png\" alt=\"WeChat\" width=\"150\">\u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n","ChatGPT API Free 是一个简单且开源的代理API，允许用户免费访问OpenAI的ChatGPT API。项目采用JavaScript开发，核心功能是提供了一个无需付费即可与ChatGPT进行交互的接口，降低了使用门槛。它特别适合于个人开发者、小型团队或非商业用途场景下希望低成本探索和利用先进AI聊天机器人技术的情况。尽管由于财务原因该项目已归档，但它曾通过社区赞助等方式延长了服务时间，并实施了速率限制以保证API的稳定性和安全性。","2026-06-11 03:27:47","top_topic"]