Wei-Shaw/sub2api
Sub2API 一站式开源中转服务,让 Claude、Openai 、Gemini、Grok订阅统一接入,支持拼车共享,更高效分摊成本,原生工具无缝使用。
- Stars
- 45k
- Forks
- 9.6k
- Open issues
- 2.7k
- Last push
- today
About sub2api
sub2api is a free, open-source AI coding tool by Wei-Shaw, written mainly in Go. Sub2API 一站式开源中转服务,让 Claude、Openai 、Gemini、Grok订阅统一接入,支持拼车共享,更高效分摊成本,原生工具无缝使用。. It has 45k GitHub stars and 9.6k forks, and was last updated today. It's released under the LGPL-3.0 license, a standard open-source license.
- License
- LGPL-3.0
- Language
- Go
- Stars
- 44,645
- Last update
- today
- Runs on Mac
- Not stated
- GPU
- Not stated
- Paid API key
- Not stated
- Self-hostable
- Yes
Similar free tools
claude-mem102k stars · Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Cla
graphify133k stars · Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, e
claude-skills29k stars · 380 Claude Code skills & agent skills & plugins (30+ Agents, 70+ custom commands, 380+ skills, customizable references, scripts)for Claude Code, Codex, Gemini CLI, Cursor, and 8 more coding agents — e
Understand-Anything88k stars · Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI,
OmniRoute80k stars · Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline
OmniRoute80k stars · Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline
sub2api FAQ
Is sub2api free?
Yes. sub2api is open source and free to use. It's released under the LGPL-3.0 license, a standard open-source license.
Does sub2api run on a Mac?
The project doesn't say. Check its installation guide before you start.
Does sub2api need a GPU?
The project doesn't state hardware needs. AI models generally run much faster with a GPU.
Is sub2api still maintained?
Yes. It was last updated today and has 2,713 open issues on GitHub.
What are alternatives to sub2api?
Similar free, open-source tools include claude-mem, graphify, claude-skills, Understand-Anything.