2023-04-24 00:25:28 +00:00
# GPT4free - use ChatGPT, for free!!
2023-04-22 17:57:53 +00:00
< img width = "1383" alt = "image" src = "https://user-images.githubusercontent.com/98614666/233799515-1a7cb6a3-b17f-42c4-956d-8d2a0664466f.png" >
2023-04-01 12:53:30 +00:00
2023-04-25 00:45:47 +00:00
Have you ever come across some amazing projects that you couldn't use **just because you didn't have an OpenAI API key?**
2023-04-01 12:55:00 +00:00
2023-04-25 00:45:47 +00:00
**We've got you covered!** This repository offers **reverse-engineered** third-party APIs for `GPT-4/3.5` , sourced from various websites. You can simply **download** this repository, and use the available modules, which are designed to be used **just like OpenAI's official package** . **Unleash ChatGPT's potential for your projects, now!** You are welcome ; ).
2023-04-22 18:44:49 +00:00
2023-04-24 00:25:28 +00:00
By the way, thank you so much for `2k` stars and all the support!!
2023-04-01 12:55:00 +00:00
2023-04-09 22:22:16 +00:00
2023-04-01 21:04:33 +00:00
## Table of Contents
2023-04-01 12:53:30 +00:00
2023-04-23 18:08:50 +00:00
- [To do list ](#todo )
2023-04-22 18:50:35 +00:00
- [Current Sites ](#current-sites )
- [Best Sites for gpt4 ](#best-sites )
2023-04-24 15:54:21 +00:00
- [How to install ](#install )
2023-04-23 09:46:36 +00:00
- [Legal Notice ](#legal-notice )
- [Copyright ](#copyright )
- [Usage Examples ](./README.md )
2023-04-22 12:56:34 +00:00
- [`quora (poe)` ](./quora/README.md )
- [`phind` ](./phind/README.md )
- [`t3nsor` ](./t3nsor/README.md )
- [`ora` ](./ora/README.md )
- [`writesonic` ](./writesonic/README.md )
- [`you` ](./you/README.md )
2023-04-22 13:10:12 +00:00
- [`sqlchat` ](./sqlchat/README.md )
2023-04-23 18:08:50 +00:00
2023-04-24 19:15:43 +00:00
- [replit Example (feel free to fork this repl) ](#replit )
2023-04-25 01:53:08 +00:00
2023-04-23 18:08:50 +00:00
## Todo <a name="todo"></a>
2023-04-25 00:45:47 +00:00
- [ ] Add a GUI for the repo
- [ ] Make a general package named `openai_rev` , instead of different folders
- [ ] Live api status to know which are down and which can be used
- [ ] Integrate more API's in `./unfinished` as well as other ones in the lists
- [ ] Make an API to use as proxy for other projects
- [ ] Make a pypi package
2023-04-01 12:53:30 +00:00
2023-04-01 21:04:33 +00:00
## Current Sites <a name="current-sites"></a>
2023-04-01 12:53:30 +00:00
2023-04-22 18:50:35 +00:00
| Website | Model(s) |
| ---------------------------------------------------- | ------------------------------- |
| [ora.sh ](https://ora.sh ) | GPT-3.5 / 4 |
| [poe.com ](https://poe.com ) | GPT-4/3.5 |
| [writesonic.com ](https://writesonic.com ) | GPT-3.5 / Internet |
| [t3nsor.com ](https://t3nsor.com ) | GPT-3.5 |
| [you.com ](https://you.com ) | GPT-3.5 / Internet / good search|
| [phind.com ](https://phind.com ) | GPT-4 / Internet / good search |
| [sqlchat.ai ](https://sqlchat.ai ) | GPT-3.5 |
| [chat.openai.com/chat ](https://chat.openai.com/chat ) | GPT-3.5 |
| [bard.google.com ](https://bard.google.com ) | custom / search |
| [bing.com/chat ](https://bing.com/chat ) | GPT-4/3.5 |
## Best sites <a name="best-sites"></a>
2023-03-29 19:00:39 +00:00
2023-04-22 13:26:57 +00:00
#### gpt-4
2023-04-24 18:53:41 +00:00
- [`/phind` ](./ora/README.md )
- pro: only stable gpt-4 with streaming ( no limit )
- contra: weird backend prompting
- why not `ora` anymore ? gpt-4 requires login + limited
2023-04-22 13:26:57 +00:00
#### gpt-3.5
2023-04-24 18:53:41 +00:00
- [`/ora` ](./ora/README.md )
- only stable api at the moment ( for gpt-3.5, gpt-4 is dead)
2023-04-01 21:04:33 +00:00
2023-04-23 09:46:36 +00:00
## Install <a name="install"></a>
2023-04-25 09:16:05 +00:00
download or clone this GitHub repo
2023-04-22 17:59:37 +00:00
install requirements with:
2023-04-22 12:54:01 +00:00
```sh
pip3 install -r requirements.txt
```
2023-04-25 09:16:05 +00:00
2023-04-24 15:52:44 +00:00
## To start gpt4free GUI
2023-04-25 09:16:05 +00:00
move `streamlit_app.py` from `./gui` to the base folder
then run:
`streamlit run streamlit_app.py` or `python3 -m streamlit run streamlit_app.py`
2023-04-16 23:14:41 +00:00
2023-04-25 01:54:19 +00:00
## Docker
Build
```
docker build -t gpt4free:latest -f Docker/Dockerfile .
```
Run
```
docker run -p 8501:8501 gpt4free:latest
```
2023-04-24 00:25:28 +00:00
## ChatGPT clone
2023-04-23 18:08:50 +00:00
> currently implementing new features and trying to scale it, please be patient it may be unstable
> https://chat.chatbot.sex/chat
> This site was developed by me and includes **gpt-4/3.5**, **internet access** and **gpt-jailbreak's** like DAN
> run locally here: https://github.com/xtekky/chatgpt-clone
2023-04-23 09:46:36 +00:00
## Legal Notice <a name="legal-notice"></a>
This repository uses third-party APIs and AI models and is *not* associated with or endorsed by the API providers or the original developers of the models. This project is intended **for educational purposes only** .
Please note the following:
1. **Disclaimer** : The APIs, services, and trademarks mentioned in this repository belong to their respective owners. This project is *not* claiming any right over them.
2. **Responsibility** : The author of this repository is *not* responsible for any consequences arising from the use or misuse of this repository or the content provided by the third-party APIs and any damage or losses caused by users' actions.
3. **Educational Purposes Only** : This repository and its content are provided strictly for educational purposes. By using the information and code provided, users acknowledge that they are using the APIs and models at their own risk and agree to comply with any applicable laws and regulations.
2023-04-16 23:04:20 +00:00
## Copyright:
This program is licensed under the [GNU GPL v3 ](https://www.gnu.org/licenses/gpl-3.0.txt )
Most code, with the exception of `quora/api.py` (by [ading2210 ](https://github.com/ading2210 )), has been written by me, [xtekky ](https://github.com/xtekky ).
2023-04-23 09:46:36 +00:00
### Copyright Notice: <a name="copyright"></a>
2023-04-16 23:04:20 +00:00
```
xtekky/openai-gpt4: multiple reverse engineered language-model api's to decentralise the ai industry.
Copyright (C) 2023 xtekky
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see < https: / / www . gnu . org / licenses / > .
```
2023-04-24 19:19:15 +00:00
## replit
You can fork this repl to host your own ChatGPT-clone WebUI. https://replit.com/@gpt4free/gpt4free-webui