{"id":32789476,"url":"https://github.com/router-for-me/CLIProxyAPI","last_synced_at":"2025-11-05T11:00:17.390Z","repository":{"id":302734314,"uuid":"1012087571","full_name":"router-for-me/CLIProxyAPI","owner":"router-for-me","description":"Wrap Gemini CLI, ChatGPT Codex, Claude Code, Qwen Code, iFlow as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini 2.5 Pro, GPT 5, Claude, Qwen model through API","archived":false,"fork":false,"pushed_at":"2025-11-03T03:18:01.000Z","size":1908,"stargazers_count":1244,"open_issues_count":5,"forks_count":185,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-11-03T03:18:27.579Z","etag":null,"topics":["claude-code","cluade","codex","gemini","openai","qwen3-coder"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/router-for-me.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["router-for-me"]}},"created_at":"2025-07-01T19:43:27.000Z","updated_at":"2025-11-03T03:18:05.000Z","dependencies_parsed_at":"2025-07-21T05:21:21.769Z","dependency_job_id":"8c46f3df-cd2a-4951-bcac-48d19f70223c","html_url":"https://github.com/router-for-me/CLIProxyAPI","commit_stats":null,"previous_names":["luispater/cliproxyapi","router-for-me/cliproxyapi"],"tags_count":194,"template":false,"template_full_name":null,"purl":"pkg:github/router-for-me/CLIProxyAPI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/router-for-me%2FCLIProxyAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/router-for-me%2FCLIProxyAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/router-for-me%2FCLIProxyAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/router-for-me%2FCLIProxyAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/router-for-me","download_url":"https://codeload.github.com/router-for-me/CLIProxyAPI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/router-for-me%2FCLIProxyAPI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":282807269,"owners_count":26730414,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-05T02:00:05.946Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["claude-code","cluade","codex","gemini","openai","qwen3-coder"],"created_at":"2025-11-05T11:00:12.292Z","updated_at":"2025-11-05T11:00:17.348Z","avatar_url":"https://github.com/router-for-me.png","language":"Go","funding_links":["https://github.com/sponsors/router-for-me"],"categories":["Go","AI","Projects","claude-code","Proxy \u0026 Customization","A01_文本生成_文本对话","Productivity Tools","AI 相关","HarmonyOS","AI应用"],"sub_categories":["大语言对话模型及数据","API \u0026 Integration Tools","CLI 工具","Windows Manager"],"readme":"# CLI Proxy API\n\nEnglish | [中文](README_CN.md)\n\nA proxy server that provides OpenAI/Gemini/Claude/Codex compatible API interfaces for CLI.\n\nIt now also supports OpenAI Codex (GPT models) and Claude Code via OAuth.\n\nSo you can use local or multi-account CLI access with OpenAI(include Responses)/Gemini/Claude-compatible clients and SDKs.\n\n## Overview\n\n- OpenAI/Gemini/Claude compatible API endpoints for CLI models\n- OpenAI Codex support (GPT models) via OAuth login\n- Claude Code support via OAuth login\n- Qwen Code support via OAuth login\n- iFlow support via OAuth login\n- Streaming and non-streaming responses\n- Function calling/tools support\n- Multimodal input support (text and images)\n- Multiple accounts with round-robin load balancing (Gemini, OpenAI, Claude, Qwen and iFlow)\n- Simple CLI authentication flows (Gemini, OpenAI, Claude, Qwen and iFlow)\n- Generative Language API Key support\n- AI Studio Build multi-account load balancing\n- Gemini CLI multi-account load balancing\n- Claude Code multi-account load balancing\n- Qwen Code multi-account load balancing\n- iFlow multi-account load balancing\n- OpenAI Codex multi-account load balancing\n- OpenAI-compatible upstream providers via config (e.g., OpenRouter)\n- Reusable Go SDK for embedding the proxy (see `docs/sdk-usage.md`)\n\n## Getting Started\n\nCLIProxyAPI Guides: [https://help.router-for.me/](https://help.router-for.me/)\n\n## Management API\n\nsee [MANAGEMENT_API.md](https://help.router-for.me/management/api)\n\n## SDK Docs\n\n- Usage: [docs/sdk-usage.md](docs/sdk-usage.md)\n- Advanced (executors \u0026 translators): [docs/sdk-advanced.md](docs/sdk-advanced.md)\n- Access: [docs/sdk-access.md](docs/sdk-access.md)\n- Watcher: [docs/sdk-watcher.md](docs/sdk-watcher.md)\n- Custom Provider Example: `examples/custom-provider`\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## Who is with us?\n\nThose projects are based on CLIProxyAPI:\n\n### [vibeproxy](https://github.com/automazeio/vibeproxy)\n\nNative macOS menu bar app to use your Claude Code \u0026 ChatGPT subscriptions with AI coding tools - no API keys needed\n\n### [Subtitle Translator](https://github.com/VjayC/SRT-Subtitle-Translator-Validator)\n\nBrowser-based tool to translate SRT subtitles using your Gemini subscription via CLIProxyAPI with automatic validation/error correction - no API keys needed\n\n\u003e [!NOTE]  \n\u003e If you developed a project based on CLIProxyAPI, please open a PR to add it to this list.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frouter-for-me%2FCLIProxyAPI","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frouter-for-me%2FCLIProxyAPI","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frouter-for-me%2FCLIProxyAPI/lists"}