ai-agent

CLIProxyAPI: Free AI Models

Access free Gemini, GPT, Grok, Claude models through API, for startup founders, backed by 45k+ GitHub stars

From the repo · “Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini 3.1 Pro, GPT 5.5, Grok 4.3, Claude model through API”

55,909 stars+683★ this week8,545 forksGoGuide quality 9/10 · reviewed Jul 26Updated 10/21/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

When 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
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/complete
Heads 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
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

🛠️ Technical setup

Expect 20–40 minutes in a terminal — or let your AI agent drive it.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/cliproxyapi && curl -fsSL https://workflowstacks.com/api/skills/cliproxyapi/claude-skill -o ~/.claude/skills/cliproxyapi/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

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
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    AGENTS.md
    The instructions the AI actually follows
  3. 3
    cmd/server/main.go
    Where the program starts running
  4. 4
    go.mod
    Dependencies and the commands it exposes
  5. 5
    .env.example
    The API keys and settings you must provide
What's in each folder
internal/Core code — the actual logic855 files
cmd/Command-line entry points6 files
examples/Examples you can copy143 files
docs/Documentation8 files
sdk/SDKs / client libraries259 files
auths/Folder1 files
assets/Images & static assets25 files
.github/CI / automation (GitHub Actions)9 files
READMEHas testsDocumentedCI checksDocker readyExamples includedMIT licenseUpdated this month
Quick Actions
Details
Creator
router-for-me
Language
Go
Category
ai-agent
Published
7/1/2025

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/cliproxyapi.svg)](https://workflowstacks.com/skills/cliproxyapi?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.

Do this with a working workflow

Pages we wrote and tested that put a skill like this to work — importable n8n templates, outcome guides and Claude Desktop configs.