Self-hosted alternatives to Gptcli
200 self-hosted apps like Gptcli, closest match first.
Top picks
- C
CliRelay
LaunchSelf-hosted AI gateway for coding CLIs — one OpenAI/Claude/Gemini/Codex-compatible endpoint, with a multi-tenant web console, request logs, and spend quotas.
Self-hosted
- F
Free-GPT4-WEB-API
LaunchNot just GPT4! Easy to use, Self-Hosted, Unlimited and Free WEB API of the latest A.I. like Gemini, DeepSeek, Claude and GPT
Self-hosted
- G
GPTPortal
LaunchA feature-rich portal to chat with GPT-4, Claude, Gemini, Mistral, & OpenAI Assistant APIs via a lightweight Node.js web app; supports customizable multimodality for voice, images, & files.
Self-hosted
- W
Webchat2api
LaunchOpenAI-compatible Web Chat API proxy with GPT, Grok, Gemini account management and Docker self-hosting
Self-hosted
- A

AIClient2API
LaunchSelf-hosted multi-protocol AI API proxy for Antigravity, Codex, Grok, Kiro, OpenAI, Claude, and custom providers. Supports OpenAI-compatible API, Claude API, Gemini protocol conversion, GPT, Grok Build, Claude Opus, Gemini Pro, Kimi, MiniMa
Self-hosted
- C
CatGPT-Gateway
LaunchTurn your ChatGPT or Claude account into a fully working OpenAI-compatible API. No API keys needed. Supports tool calling, vision, file attachments, and image generation.
Self-hosted
More like Gptcli
OmniKey-AI-Unified-Key-Manager
A self-hosted LLM proxy and failover gateway supporting OpenAI & Gemini…
About Gptcli
Gptcli
ChatGPT in command line with OpenAI API (gpt-3.5-turbo/gpt-4/gpt-4-32k)
gptcli is a simple chat client for OpenAI models that runs as a single Python script in your terminal. It defaults to gpt-3.5-turbo, can be set to gpt-4 or gpt-4-32k, and works with any OpenAI-compatible API through a custom base URL, such as Azure OpenAI Service or a proxy server. You put your API key in a config.json file or in the OPENAI_API_KEY environment variable. Each session keeps context at one of three levels: none, previous questions only, or both questions and answers, which trades token cost against how much the model remembers. The client supports streamed output, Markdown rendering with code syntax highlighting, and HTTP, HTTPS, SOCKS4A and SOCKS5 proxies. You can write multiline input with a command, save and load sessions as Markdown or JSON files, and print the tokens used after each reply. The console has tab completion, and the README includes a Docker run option. It suits developers who prefer chatting with OpenAI models from a terminal rather than a web page.
- Price
- Free
- Made by
- evilpan
- Category
- AI
- Website
- github.com/evilpan/gptcli


