ai-agent
CLIProxyAPI: Free AI Models
Access free Gemini, GPT, Grok, Claude models through API, for startup founders, backed by 45k+ GitHub stars
44,646 stars6,986 forksGoHealth Score 9/10Updated 7/24/2026100% free · open source
What it does
CLIProxyAPI allows startup founders to access free Gemini, GPT, Grok, and Claude models through a unified API service, compatible with OpenAI, Gemini, Claude, and Codex
Install / run
go run main.goWhen to use it
- •When you need to integrate AI models into your startup's application without incurring significant costs
- •When you want to leverage the capabilities of multiple AI models through a single, unified API
- •When you are looking for an open-source alternative to proprietary AI model APIs
Quick start
- 1Clone the repository from https://github.com/router-for-me/CLIProxyAPI
- 2Navigate to the project directory and run 'go run main.go' to start the API service
- 3Use a tool like curl to test the API, for example: 'curl -X POST -H 'Content-Type: application/json' -d '{'prompt': 'Your prompt here'}' http://localhost:8080/v1/complete'
- 4Modify the config.json file to customize the API settings and model configurations
- 5Test the different AI models, such as Gemini, GPT, Grok, and Claude, by sending requests to the corresponding endpoints
Ready-to-paste prompt
curl -X POST -H 'Content-Type: application/json' -d '{'prompt': 'Write a product description for a new smartwatch'}' http://localhost:8080/v1/completeHeads up: Make sure you have Go installed on your system, as CLIProxyAPI is written in Go and requires it to run. You can download the latest version from the official Go website if you haven't already.
Saves to your device
Topics
antigravity
claude-code
cluade
codex
gemini
openai
How CLIProxyAPI: Free AI Models works
Codeflow
Free to inspect
CLIProxyAPI: Free AI Models is a very large Go project (~352k lines across 1192 code files, plus 6 test files). It is a full software project: use it through its install path rather than reading it end to end. Last commit this month, MIT license, has a test suite.
Size
Very large codebase
~352k lines · 1192 code files · days to read — use, don't read
Setup
Developer setup
A real software project. Use it via its install path; don't expect to read it all.
Runs on
Go · Docker
Needs API keys (.env)
Go 100%
Where to start reading
- 1README.mdStart here — what it does and how to install it
- 2AGENTS.mdThe instructions the AI actually follows
- 3cmd/server/main.goWhere the program starts running
- 4go.modDependencies and the commands it exposes
- 5.env.exampleThe API keys and settings you must provide
What's in each folder
READMEHas testsDocumentedCI checksDocker readyExamples includedMIT licenseUpdated this month
Details
Creator
router-for-me
Language
Go
Category
ai-agent
Published
7/1/2025
Are you the creator of this tool? Claim your listing → and earn 85% of every sale.
Related skills
More ai-agent tools founders pair with this one.
ai-agent★ 276,436
Track GitHub Stars with 996.ICU
Get a popular GitHub star counter for your startup, backed by 276k+ GitHub stars, ideal for founders.
ai-agent★ 264,191
Superpowers
An agentic skills framework & software development methodology that works.
ai-agent★ 244,424
Linux: Open Source Kernel
Get the Linux kernel source tree for custom development, ideal for startup founders in need of a flexible OS foundation with 236k+ GitHub stars
ai-agent★ 204,069
Improve Code with andrej-karpathy-skills
Get better code behavior with andrej-karpathy-skills, 165k+ GitHub stars, for founders using LLMs.
ai-agent★ 189,101
Simplify Zsh with ohmyzsh
Get a customizable terminal experience with ohmyzsh, perfect for startup founders, backed by 188k+ GitHub stars.
ai-agent★ 187,262
FreeDomain: Free Website Domain
Get a free domain with FreeDomain. For startup founders.