This repository provides a free API for accessing various large language models like GPT, DeepSeek, Claude, Gemini, and Grok, offering a unified protocol for easy integration and domestic acceleration without requiring a proxy.
Free to use gpt | deepseek / Support gpt | deepseek | claude | gemini | grok
Domestic dynamic acceleration Direct connection without proxy Unified protocol for easy access
Quick Start / API Documentation / Apply for Internal Beta Free Key / Support Paid Key / Service Availability
This project highly values privacy and is committed to protecting its users' privacy. This project will not collect, record, or store any text entered by users or any text returned by OpenAI servers in any way. This project will not provide OpenAI or any third party with any information about the identity of API callers, including but not limited to IP addresses and user agent strings.
However, OpenAI will retain data for 30 days according to its Data Usage Policies.
⚠️If you encounter no response, errors, etc., you can check status.chatanywhere.tech to confirm whether the service status is normal to help troubleshoot the problem.
⚠️Free API Keys can only be used for personal non-commercial purposes, education, and non-profit scientific research work. Commercial use of free API Keys is strictly prohibited, and large-scale training of commercial models is strictly prohibited! Please contact us in the group in advance for training scientific research models.
⚠️We will periodically ban Keys that are being abused. If you find that your key has been mistakenly banned, please contact us through the QQ group.
⚠️Our system is only for internal evaluation and testing. Please bear the risks yourself for commercial or public use.
For the long-term development of this project, the free API Key limits the calling frequency to 200 requests/day/IP&Key (gpt and embedding are calculated separately, 200 times each), which means that if you use multiple Keys under one IP, the total number of requests per day for all Keys cannot exceed 200; similarly, if you use one Key for multiple IPs, the number of requests per day for this Key cannot exceed 200. (Paid API version does not have this limitation)
https://api.chatanywhere.tech
(Domestic relay, lower latency)https://api.chatanywhere.org
(Overseas use)We will regularly expand according to the usage. As long as it is not sanctioned by the official, we will always provide free API. If this project is helpful to you, please give us a Star. If you encounter problems, you can in
chatanywhere/GPT_API_free
April 23, 2023
July 7, 2025
Python