Remember when accessing powerful AI models like GPT-3.5 required jumping through hoops and paying hefty fees?
Well, those days are fading into the past. With the recent announcement from OpenAI allowing free access to ChatGPT (GPT-3.5-Turbo) without signup, a whole new world of possibilities has opened up.
FreeGPT35 is a lightweight, open-source JavaScript/TypeScript library that lets you tap into the power of the free GPT-3.5 API directly from your own computer. No need for API keys, subscriptions, or complex setups.
Feel free to download and integrate it into your next AI-powered project for advanced language processing capabilities such as natural language understanding, text generation, and more.
How to deploy it:
1. Begin by downloading FreeGPT35 from GitHub, setting the stage for deployment.
2. Deploy with Node.js:
npm install node app.js
3. Deploy with Docker. You can run FreeGPT35 in a Docker container with:
docker run -p 3040:3040 ghcr.io/missuo/freegpt35 OR: docker run -p 3040:3040 missuo/freegpt35
4. Deploy with Docker Compose. Create a new directory, navigate to it, and run:
wget -O compose.yaml https://raw.githubusercontent.com/missuo/FreeGPT35/main/compose.yaml docker compose up -d
5. Once you’ve deployed FreeGPT35, you can interact with it through an API. The included code example demonstrates how to send a request and receive a response from GPT-3.5.
curl http://127.0.0.1:3040/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer any_string_you_like" \
-d '{
"model": "gpt-3.5-turbo",
"messages": [
{
"role": "user",
"content": "Hello World!"
}
],
"stream": true
}'6. You can integrate FreeGPT35 into various applications like OpenCat, Next-Chat, Lobe-Chat, and Bob. Feel free to use any string as the API key, e.g., “scriptbyai”.
7. There are a few things to keep in mind when using FreeGPT35. Occasionally, your IP address might trigger limitations set by OpenAI. In such cases, try switching your IP or using a US-based home broadband connection. Additionally, avoid abusing the service with excessive requests.
FAQs:
Q: Do I need an API key to use FreeGPT35?
A: No, FreeGPT35 utilizes the free access provided by OpenAI, so no API key is required.
Q: Why am I having trouble using FreeGPT35?
A: Your IP address might be the issue. Try changing your IP or server location, and avoid using proxy providers.
Q: Is FreeGPT35 really free?
A: Yes, FreeGPT35 is an open-source project that allows you to access the free tier of the GPT-3.5-Turbo API. However, please use it responsibly and avoid making excessive requests.
Changelog:
v1.0.3 (04/21/2024)
- Bugfixes








