free-gpt3.5-2api  by aurorax-neo

Free API for accessing GPT-3.5

created 1 year ago
506 stars

Top 62.4% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a free, self-hostable API gateway for GPT-3.5-turbo, enabling users to access OpenAI's models without direct login or paid subscriptions. It's designed for developers and researchers who need programmatic access to large language models and want to avoid the complexities of managing API keys or direct OpenAI account usage.

How It Works

The service acts as a proxy, routing requests to OpenAI's ChatGPT service. It supports multiple authentication methods, including direct account tokens (Bearer tokens) and a novel AUTHORIZATIONS mechanism. This latter feature allows users to define custom authorization headers to protect their endpoints from abuse, effectively creating a shared, rate-limited access pool. It maps various GPT-3.5-turbo model names to a common backend identifier.

Quick Start & Requirements

  • Install/Run: Docker is the primary deployment method.
    • docker run -itd --name=free-gpt3.5-2api -e AUTHORIZATIONS=abc,bac -p 9846:3040 ghcr.io/aurorax-neo/free-gpt3.5-2api
    • Docker Compose is also supported.
  • Prerequisites: Docker, Docker Compose. Proxy configuration is required if deploying in regions that block direct OpenAI access.
  • Setup Time: Minimal, dependent on Docker installation and image pull time.
  • Docs: README

Highlighted Details

  • Supports Authorization: Bearer <token> and Authorization: ac-<token> for account access tokens.
  • Customizable AUTHORIZATIONS environment variable for endpoint protection.
  • Supports streaming and JSON responses for /v1/chat/completions.
  • Model mapping includes gpt-3.5-turbo, gpt-3.5-turbo-16k, and gpt-4o.

Maintenance & Community

  • The project appears to be maintained by aurorax-neo.
  • No explicit community links (Discord, Slack) are provided in the README.

Licensing & Compatibility

  • The repository does not explicitly state a license. The Docker image is hosted on GHCR.io.
  • Given the nature of proxying OpenAI services, commercial use may be subject to OpenAI's terms of service.

Limitations & Caveats

  • The project relies on the availability and accessibility of OpenAI's ChatGPT service, which may change or be restricted by region.
  • Direct login-free access might be region-dependent or require proxy configuration.
  • The lack of a specified license and explicit community channels may impact long-term support and adoption.
Health Check
Last commit

1 month ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
12 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.