OpenAI Free API Key - Complete Description
Category: Development • Platform: Web
GPT-API-free / DeepSeek-API-free
Free use of gpt-5 | deepseek
Supports gpt | deepseek | claude | gemini | grok
Domestic dynamic acceleration | Direct connection without proxy | Unified protocol for easy integration
Quick Start / API Documentation / Apply for Internal Beta Free Key / Support Paid Key / Service Availability
Privacy Statement
This project highly values privacy and is committed to protecting the privacy of its users. The project does not collect, record, or store any text input by users or any text returned by OpenAI servers in any way. The project does not provide OpenAI or any third party with any information regarding the identity of the API caller, including but not limited to IP addresses and user agent strings.
However, OpenAI officials will retain data for 30 days in accordance with their Data Usage Policy.
Features
- Supports top-ranked common large models such as gpt | deepseek | claude | gemini | grok.
- Free version support:
- gpt-5.2, gpt-5.1, gpt-5, gpt-4o, and gpt-4.1: 5 times per day.
- deepseek-r1, deepseek-v3, deepseek-v3-2-exp: 30 times per day.
- gpt-4o-mini, gpt-3.5-turbo, gpt-4.1-mini, gpt-4.1-nano, gpt-5-mini, gpt-5-nano: 200 times per day.
- Interface standards completely consistent with the official version, compatible with various software/plugins.
- Supports streaming responses.
- Domestic routes use dynamic acceleration; the experience is significantly better than using a proxy to connect to official endpoints.
- No need for specialized internet access (VPN); directly available in domestic environments.
- Completely free for personal use.
- Protocols uniformly use the OpenAI standard protocol; for models from other vendors, only the model name needs to be changed, making integration convenient.
🚩 Important Notes
❗️If you encounter issues like no response or errors, check status.chatanywhere.tech to confirm the service status and assist in troubleshooting.
❗️The reasoning capabilities of the Free API Key gpt-5 series models are relatively weak; if stronger reasoning is required, please purchase a paid API.
❗️Free API Keys are strictly for personal non-commercial use, education, and non-profit scientific research. Commercial use is strictly prohibited, as is the large-scale training of commercial models! Contact us via the group in advance for research model training.
❗️We will periodically ban keys that are found to be abused. If you find your key has been mistakenly banned, please contact us via the QQ group.
❗️Our system is for internal evaluation and testing only; use for commercial or public-facing purposes is at your own risk.
To ensure long-term development, Free API Keys are limited to 200 requests/day/IP & Key (GPT and Embeddings are calculated separately at 200 each). This means if you use multiple keys under one IP, the total daily requests for all keys cannot exceed 200; similarly, if one key is used across multiple IPs, the daily requests for that key cannot exceed 200. (Paid version APIs do not have this limit.)
Free Use
- 🚀 Apply for Internal Beta Free API Key
- Free version supports deepseek, gpt-3.5-turbo, embedding, gpt-4o series, and gpt-5 series.
- Forwarding Host 1:
https://api.chatanywhere.tech(Domestic transit, lower latency) - Forwarding Host 2:
https://api.chatanywhere.org(For international use)
We will expand capacity regularly based on usage. As long as we are not sanctioned by official providers, we will continue to provide free APIs. If this project helps you, please give us a Star. Feedback can be provided in Issues.
To use the key for forwarding, change the Host to api.chatanywhere.tech (preferred for domestic) or api.chatanywhere.org (international).
Paid Version API
- Providing free keys is purely a public welfare effort and not a sustainable long-term solution. Therefore, we introduced paid API keys to maintain daily expenses and promote a virtuous cycle for the project.
- Purchase Paid Key
- Paid Version Price List
- Supports a more stable and faster GPT4 API with a better experience, unlimited use, lower prices than official rates, and convenient recharging.
- Follows the official billing strategy: streaming Q&A uses the tiktoken library for accurate token calculation; non-streaming uses official returned token counts.
- Balance never expires. Based on feedback, 30 RMB for moderate personal use of gpt-4o-mini can last roughly half a year.
- All interfaces (including free versions) are guaranteed to be forwarded from official OpenAI or Azure interfaces—no unstable "peo" or "plus" solutions or reverse engineering—ensuring stability.
Paid Version Supported Models
(Note: Pricing is in CA/1K Tokens unless otherwise specified)
| Model | Input (Request) | Output (Response) | Supported | Features |
|---|---|---|---|---|
| gpt-5.2 | 0.01225 | 0.098 | Yes | Flagship model for coding and agent tasks. |
| gpt-5.2-2025-12-11 | 0.01225 | 0.098 | Yes | Flagship model for coding and agent tasks. |
| gpt-5.2-chat-latest | 0.01225 | 0.098 | Yes | Points to the latest snapshot used by ChatGPT web. |
| gpt-5.2-pro | 0.147 | 1.176 | Yes | Supports multi-turn interaction; may timeout on long queries. |
| gpt-5.1 | 0.00875 | 0.07 | Yes | Flagship for coding/agents with configurable reasoning. |
| gpt-5-search-api | 0.00875 | 0.07 + Search Fee [6] | Yes | OpenAI search model with web access. |
| gpt-5-mini | 0.00175 | 0.014 | Yes | Faster, more economical version for well-defined tasks. |
| gpt-5-nano | 0.00035 | 0.0028 | Yes | Fastest, lowest cost; ideal for summary/classification. |
| o3 | 0.014 | 0.056 | Yes | New standard for math, science, and coding. |
| gpt-4.1 | 0.014 | 0.056 | Yes | Improved coding/instruction following; 1M input. |
| gpt-oss-120b | 0.0044 | 0.0176 | Yes | OpenAI's latest open-source model. |
| gpt-3.5-turbo | 0.0035 | 0.0105 | Yes | Default 3.5 model (0125). |
| o1 | 0.12 | 0.48 | Yes | Reinforcement learning model with internal chain of thought. |
| gpt-4o | 0.0175 | 0.07 | Yes | Faster, smarter, lower price flagship. |
| chatgpt-4o-latest | 0.035 | 0.105 | Yes | Dynamically updated with latest research. |
| deepseek-v3.2 | 0.0012 | 0.0018 | Yes | Via Volcano Engine; may have occasional latency. |
| deepseek-r1 | 0.0024 | 0.0096 | Yes | DeepSeek reasoning model R1. |
| claude-3-7-sonnet | 0.015 | 0.075 | Yes | Latest Claude model via third-party providers. |
| gemini-2.5-pro | 0.007 | 0.04 | Yes | Google's latest flagship model. |
| gemini-2.5-flash-image | 0.0015 | 0.15 | Yes | Image generation model (Nano Banana). |
(Table abridged for readability; all models listed in original file are supported)
How to Use
- Due to frequent malicious requests, we no longer provide public free keys directly. You must bind your GitHub account to receive your own free key.
- 🚀 Apply for Internal Beta Free API Key or Purchase Paid API Key
- Forwarding Host 1:
https://api.chatanywhere.tech(Domestic transit, lower latency) - Forwarding Host 2:
https://api.chatanywhere.org(For international use) - Balance & Usage Inquiry: Balance & Announcements
- Forwarding APIs cannot request
api.openai.comdirectly; change the request address toapi.chatanywhere.tech.
Usage in Common Software/Plugins
Python OpenAI Official Library
Sample code can be found in demo.py.
Method 1
from openai import OpenAI
client = OpenAI(
api_key="YOUR API KEY",
base_url="[https://api.chatanywhere.tech/v1](https://api.chatanywhere.tech/v1)"
)