FreeGPTHub: A truly free, unified GPT API gateway—unlike “fake-free” alternatives that hide paywalls behind quotas, trials, or mandatory top-ups.
Project description
📄 Documents: freegpthub.readthedocs.io
学习收获更多有趣的内容, 欢迎关注微信公众号:Charles的皮卡丘
📢 What's New
- 2025-12-21:
🤖 Introduction
A truly free, unified GPT API gateway—unlike “fake-free” alternatives that hide paywalls behind quotas, trials, or mandatory top-ups.
⚠️ Disclaimer
This repository (including code, models, data, documentation, and any derivatives, collectively the “Project”) is provided for non-commercial purposes only, such as personal learning, academic research, and teaching/demo.
Commercial use of any kind is strictly prohibited, and no commercial license or collaboration will be granted. Commercial use includes, but is not limited to:
- Using the Project in any product or service that is directly or indirectly monetized;
- Providing paid services/consulting/training or delivering it to clients based on the Project;
- Integrating the Project into commercial software/systems (including internal corporate use);
- Redistributing or sublicensing the Project for commercial purposes;
- Any use, reproduction, modification, distribution, deployment, or sale for commercial advantage.
In case of violation, the author reserves all rights to pursue legal action.
🧩 Supported GPT Models
| GPT Model (EN) | GPT Model (CN) | WeChat Article | Core Code |
|---|---|---|---|
| IFLYTEKSparkEndpoints | 讯飞星火知识大模型 | click | iflytek.py |
| BaiduQianfanEndpoints | 百度智能云千帆大模型 | click | baidu.py |
| OpenAIGPTEndpoints | OpenAI ChatGPT | click | oai.py |
| DoubaoEndpoints | 字节豆包 | click | [doubao.py] |
| DeepSeekEndpoints | 深度求索 | click | [deepseek.py] |
📦 Install
You have three installation methods to choose from,
# from pip
pip install freegpthub
# from github repo method-1
pip install git+https://github.com/CharlesPikachu/FreeGPTHub.git@main
# from github repo method-2
git clone https://github.com/CharlesPikachu/FreeGPTHub.git
cd FreeGPTHub
python setup.py install
🚀 Quick Start
from freegpthub.gpthub import ChatRequest, IFLYTEKSparkEndpoints
# prepare questions for spark
req = ChatRequest(text='10 * 10 = ?')
# thirdparty
spark_client = IFLYTEKSparkEndpoints()
resp = spark_client.send(req=req, version='thirdparty')
print(resp.text)
# officialapiv1
spark_client = IFLYTEKSparkEndpoints()
resp = spark_client.send(req=req, version='lite')
print(resp.text)
🌟 Recommended Projects
| Project | ⭐ Stars | 📦 Version | ⏱ Last Update | 🛠 Repository |
|---|---|---|---|---|
| 🎵 Musicdl 轻量级无损音乐下载器 |
🛠 Repository | |||
| 🎬 Videodl 轻量级高清无水印视频下载器 |
🛠 Repository | |||
| 🖼️ Imagedl 轻量级海量图片搜索下载器 |
🛠 Repository | |||
| 🌐 FreeProxy 全球海量高质量免费代理采集器 |
🛠 Repository | |||
| 🌐 MusicSquare 简易音乐搜索下载和播放网页 |
🛠 Repository | |||
| 🌐 FreeGPTHub 真正免费的GPT统一接口 |
🛠 Repository |
📚 Citation
If you use this project in your research, please cite the repository,
@misc{freegpthub,
author = {Zhenchao Jin},
title = {FreeGPTHub: A truly free, unified GPT API gateway—unlike “fake-free” alternatives that hide paywalls behind quotas, trials, or mandatory top-ups.},
year = {2025},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/CharlesPikachu/FreeGPTHub}},
}
⭐️ Star History
💖 Appreciation (赞赏 / 打赏)
| WeChat Appreciation QR Code (微信赞赏码) | Alipay Appreciation QR Code (支付宝赞赏码) |
|---|---|
💬 WeChat Official Account (微信公众号)
Charles的皮卡丘 (Charles_pikachu)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file freegpthub-0.0.1.tar.gz.
File metadata
- Download URL: freegpthub-0.0.1.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca908963988288b53533bc72225cf90abaf36ed9ab2cebb01ec633c14c71f6ca
|
|
| MD5 |
c80929aaac1658639f831448c847d494
|
|
| BLAKE2b-256 |
10f59bcdca41d34378210e8a02e687c1db59db6e45e6a599fecc06ac1c70d0f7
|
File details
Details for the file freegpthub-0.0.1-py3-none-any.whl.
File metadata
- Download URL: freegpthub-0.0.1-py3-none-any.whl
- Upload date:
- Size: 22.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd5f4b936332b1c5a99645d787980e67393149c252a4873df932d7c1ba7a016a
|
|
| MD5 |
2252b2501b9cb162b89eaa801c776b16
|
|
| BLAKE2b-256 |
0f86ed60f71f575da6efaec02e73165ab70b31fac2069f45ae0d5c0f871ea042
|