AltHub

xtekky/gpt4free Alternatives

multi-provider LLM access / gateway

Aggregates multiple (often reverse-engineered) LLM providers behind a unified OpenAI-compatible API, Python/JS clients and a web GUI.

66.7kPythonGPL-3.0active · last push 17d agoGitHub

Drop-in peers

Same problem, same approach. Swapping one for another is a config change, not a rewrite.

xiaoY233/Chat2APIGitHub

Pick when you want a TypeScript server that wraps chat web UIs into an OpenAI-compatible API instead of Python g4f.

Chat2API enables zero-cost access to leading AI models by leveraging official web UIs. It supports providers such as DeepSeek, GLM, Kimi, MiniMax, Qwen, and Z.ai, and seamlessly integrates with tools like openlcaw, Cline, and Roo-Code.

1.6k
TypeScript
NOASSERTION
active4mo ago
xllm-go/bypassGitHub

Pick if you prefer a single Go binary exposing reverse-engineered providers through the OpenAI API.

集成了openai-api、coze、deepseek、cursor、windsurf、qodo、blackbox、you、grok、bing 绘画 多款AI的聊天逆向接口适配到 OpenAI API 标准接口服务端。

1.2k
Go
GPL-3.0
active3mo ago
aledipa/Free-GPT4-WEB-APIGitHub

Pick when you need a smaller self-hosted Python API for free access to latest models without the full g4f client suite.

Not just GPT4! Easy to use, Self-Hosted, Unlimited and Free WEB API of the latest A.I. like Gemini, DeepSeek, Claude and GPT

722
Python
GPL-3.0
active2mo ago

Same job, different approach

Solves the same problem with a different architecture or at a different layer. Expect to rewrite the integration.

BerriAI/litellmGitHub

Pick when you need a production gateway over official API keys with cost tracking, guardrails and routing, rather than free reverse-engineered providers.

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

60.1k
Python
NOASSERTION
active2d ago
songquanpeng/one-apiGitHub

Pick when you need multi-tenant key management and redistribution of official LLM APIs, not free provider aggregation.

LLM API 管理 & 分发系统,支持 OpenAI、Azure、Anthropic Claude、Google Gemini、DeepSeek、字节豆包、ChatGLM、文心一言、讯飞星火、通义千问、360 智脑、腾讯混元等主流模型,统一 API 适配,可用于 key 管理与二次分发。单可执行文件,提供 Docker 镜像,一键部署,开箱即用。LLM API management & key redistribution system, unifying multiple providers under a single API. Single binary, Docker-ready, with an English UI.

37.0k
JavaScript
MIT
slowing9mo ago
OEvortex/llm4freeGitHub

Pick when you need a Python library that wraps many free providers with web search, not a standalone OpenAI-compatible server.

LLM4Free — All-in-one Python toolkit for web search, AI interaction (40+ free providers), digital utilities, and more. Formerly WebScout.

366
Python
Apache-2.0
active16d ago

End-user tools

Does the same job, but ships as an app. Useful to a person, not swappable into a codebase.

chatboxai/chatboxGitHub

Pick if you want a polished desktop/mobile chat client for multiple models, but it is not a library or server you can embed.

Powerful AI Client

41.9k
TypeScript
GPL-3.0
active12d ago
ramon-victor/freegpt-webuiGitHub

Pick if you need a self-hosted web UI for free GPT access, but it is archived and unmaintained.

GPT 3.5/4 with a Chat Web UI. No API key required.

5.6k
Python
GPL-3.0
archived3.0y ago

Listed as an alternative to

These projects were analysed and named gpt4free among their alternatives. The relationship is not symmetric — how gpt4free rates them is a separate judgement, made when gpt4free is analysed in its own right.

aledipa/Free-GPT4-WEB-APIGitHub

calls gpt4free “Choose for a larger, actively maintained Python provider collection with its own web UI when you don't need this seed's single-endpoint wrapper.”

Not just GPT4! Easy to use, Self-Hosted, Unlimited and Free WEB API of the latest A.I. like Gemini, DeepSeek, Claude and GPT

722Pythonactive
chatanywhere/GPT_API_freeGitHub

calls gpt4free “Choose when you want a self-hosted, reverse-engineered free gateway to many LLMs and can tolerate unstable/no-token endpoints.”

免费大模型API,支持免费调用GPT、DeepSeek等主流模型,免费额度10000点,每日刷新!另付费价格最低官方1-2折!

42.9kactive
waylaidwanderer/node-chatgpt-apiGitHub

calls gpt4free “Python multi-provider free-LLM proxy; choose for Python reverse-engineered access instead of an official Node client.”

A client implementation for ChatGPT and Bing AI. Available as a Node.js module, REST API server, and CLI app.

4.1kJavaScriptdormant