• This repository has been archived on 27/Mar/2023
  • Stars
    star
    3,118
  • Rank 13,862 (Top 0.3 %)
  • Language
    JavaScript
  • License
    Creative Commons ...
  • Created about 1 year ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple and open-source proxy API that allows you to access OpenAI's ChatGPT API for free!

ChatGPT API Free

简体中文版 - 繁體中文版

Welcome to the ChatGPT API Free project, a simple and open-source proxy API that allows you to access OpenAI's ChatGPT API for free.

You may want to check out the Free ChatGPT website!

News

  • 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.
  • 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.
  • 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.
  • 2023-03-04: Check out the Free ChatGPT, 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.

The Open ChatGPT Initiative

In 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.

With 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.

This 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.

It 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.

This 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.

It 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.

If you would like to read another article with more technical details, please read Unleashing the Boundlessness of ChatGPT: A Public Appeal.

Usage

To use ChatGPT API Free, simply send a POST request to the following endpoint:

https://chatgpt-api.shn.hk/v1/

For instance, to generate a response to the prompt "Hello, how are you?" using the gpt-3.5-turbo model, send the following curl command:

curl https://chatgpt-api.shn.hk/v1/ \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "gpt-3.5-turbo",
  "messages": [{"role": "user", "content": "Hello, how are you?"}]
}'

You can view the full API documentation on the OpenAI official documentation.

Introduction

ChatGPT 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.

The 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.

ChatGPT 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.

What does ChatGPT API Free do?

This 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.

Significance

The 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.

Moreover, other successful projects such as ChatGPT Free App build on top of this API, showing the vast potential of this project.

Privacy Statement

This 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.

However, the OpenAI API does retain data for 30 days in accordance with its data usage policies.

Host Your Own Instance

If you'd like to run your own instance of ChatGPT API Free, you can easily do so by following these steps:

  1. Obtain an OpenAI API Key from OpenAI API Keys.
  2. Star and fork this repository on GitHub.
  3. Configure your environment variables correctly.
  4. Deploy Docker locally or on Google Cloud Run.
  5. Setup rate limit locally or using Google Cloud Armor.

Improve this project

This 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.

Sponsor me!

If you find ChatGPT API Free useful, please consider sponsoring the author 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!

Ko-fi Ko-fi
Alipay Alipay
WeChat WeChat

More Repositories

1

awesome-rime

A curated list of Rime IME schemata and configs | Rime 輸入法方案和配置列表
886
star
2

tpu-starter

Everything you want to know about Google Cloud TPU
Python
452
star
3

FanWunMing

A Simplified-Chinese-to-Traditional-Chinese font based on GenYoMin, which can handle the one-to-many problem | 繁媛明朝是基於源樣明體開發的簡轉繁字型,能處理一簡對多繁
HTML
218
star
4

llama-2-jax

JAX implementation of the Llama 2 model
Python
186
star
5

jax-smi

JAX Synergistic Memory Inspector
Python
141
star
6

FanWunHak

A Simplified-Chinese-to-Traditional-Chinese font based on GenYoGothic, which can handle the one-to-many problem | 繁媛黑體是基於源樣黑體開發的簡轉繁字型,能處理一簡對多繁
HTML
99
star
7

TinyPE-on-Win10

Smallest (268 bytes) 64-bit Portable Executable (PE) file that displays a message box on Windows 10
Assembly
83
star
8

TrAVis

TrAVis: Visualise BERT attention in your browser
Python
50
star
9

TransCan

An English-to-Cantonese machine translation model
Python
42
star
10

ByteVid

Say goodbye to long and boring videos 👋
Python
35
star
11

bart-base-jax

JAX implementation of the bart-base model
Python
29
star
12

cantoseg

Cantonese segmentation tool 粵語分詞工具
Python
26
star
13

lihkg-scraper

A Python script for scraping LIHKG
Python
25
star
14

librime-python

Python Plug-in for the Rime Input Method Engine
C++
23
star
15

bert-tokenizer-cantonese

BERT Tokenizer with vocabulary tailored for Cantonese
Python
16
star
16

llama-jax

JAX implementation of LLaMA, aiming to train LLaMA on Google Cloud TPU
Python
14
star
17

ayaka-site

Personal website deployed at https://ayaka.shn.hk/
CSS
14
star
18

basehangul-online

Online BaseHangul Encoder And Decoder
HTML
12
star
19

einshard

Einsum-like high-level array sharding API for JAX
Python
12
star
20

gpt4-cantonese-english-translator

A Cantonese-English translator based on prompt engineering
Python
11
star
21

telegram-translate-bot

Telegram translation bot @suginatransbot
Python
10
star
22

wordshk-parallel-corpus

A Cantonese-English parallel corpus extracted from words.hk
Python
10
star
23

rime-putonghua

rime 有声调普通话拼音方案
C++
8
star
24

nya-calendar

Implementation of the Nya Calendar, a lunisolar-mercurial calendar that considers the synodic period of the Earth and Mercury
Python
8
star
25

en-ayaka-site

Personal website deployed at https://en.ayaka.shn.hk/
HTML
8
star
26

abc-cantonese-parallel-corpus

Cantonese-English Parallel Corpus (extracted from the ABC Dictionary)
Python
8
star
27

smart-home

Source code for Ayaka's smart home AI assistant
Python
6
star
28

bart-base-cantonese

The pre-trained Cantonese BART model
Python
6
star
29

OpenCCFontGenerator

A generator of Simplified-Chinese-to-Traditional-Chinese fonts | 簡轉繁字型生成工具
Python
6
star
30

uyghur-practice

Uyghur Online Practice System
JavaScript
5
star
31

VunsioNewsList

List of daily news videos in Vunsio Hainanese
Python
4
star
32

bert-related-paper-abstracts

A curated list of abstracts of BERT-related papers | BERT 相关论文摘要一览表
Python
4
star
33

t5-finetuning-qa

T5 Fine-Tuning on QA Dataset
Python
4
star
34

inject-xdi8

A browser extension that adds Xdi8 on Chinese characters
JavaScript
4
star
35

SNHakkaNews

Video list of Shang Shong Rid Sien, a daily news programme in Shin Neng Hakka
Python
4
star
36

ayaka14732

The special repository whose README.md will appear on my public profile
3
star
37

bart-jax

JAX implementation of BART, aiming to demonstrate how Transformer-based models can be implemented using JAX and trained on Google Cloud TPUs
Python
3
star
38

graphviz-server

Render Graphviz images from web requests
Python
3
star
39

twblg-translate

Taiwanese Hokkien Translator 華語-臺語機械翻譯工具
HTML
2
star
40

rime-ayaka-v8

綾香思考用語輸入方案 Ayaka’s Thinking Language Input Schema
2
star
41

hls-simple

A simple HLS loop streaming server in Haskell
Haskell
2
star
42

research-blog

Ayaka’s Research Blog
CSS
2
star
43

wakong

Wakong: A mathematically-rigorous and robust masking algorithm for generating the training objective of text infilling
Python
2
star
44

ayaka14732.github.io

GitHub Pages of Ayaka
HTML
2
star
45

cs224n-a4

A decent solution to Assignment #4 of CS 224n, Winter 2022 (Cherokee NMT)
Python
2
star
46

mg-classifier

文言文-現代文分類器
Python
1
star
47

yue-cmn-classification-task

Cantonese/Mandarin Classification Task
Python
1
star
48

large-tooltip

Create a selectable large tooltip on the web page
JavaScript
1
star
49

cdn

GitHub Pages + Cloudflare as a CDN
1
star
50

translate-bot

A Telegram bot that translates English messages to Danish and German
Python
1
star
51

rime-ayaka-2021

rime 中古漢語拼音(綾香 2021 版)方案
JavaScript
1
star
52

source-han-serif-k-without-locl

Build script that generates the Source Han Serif K font without the locl feature for Hani script
Python
1
star
53

malacology-rss

Scripts for forwarding https://diary.malacology.net/ to Telegram
Python
1
star
54

tibetan-practice

Online Tibetan Practice System
JavaScript
1
star
55

MyRimeConfig

Ayaka's rime config
Python
1
star