Self-host CatGPT-Gateway
OpenAI-compatible API gateway for ChatGPT and Claude
- Stars
- 314
- Ports
- 8000 (FastAPI OpenAI-compatible API), 6080 (noVNC web UI for browser login/debugging)
What is CatGPT-Gateway?
A self-hosted gateway that automates a real Chromium browser to turn your ChatGPT or Claude web login into an OpenAI-compatible API. It delivers chat completions with streaming, tool calling, vision, file uploads, and DALL-E 3 image generation (ChatGPT only). The FastAPI service works with OpenAI SDKs, LangChain, and any OpenAI-protocol client. Run it via Docker Compose (with virtual display and noVNC), local Python, or Nix. Auth is a Bearer token; browser profiles survive restarts. MIT licensed, active development.
Should you self-host CatGPT-Gateway?
CatGPT-Gateway scores 47/100 on selfhost.directory (how scoring works) and ranks #64 of 125 in AI. It has 314 GitHub stars.
There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.
Setup is advanced: plan for several services and some ongoing maintenance. It is MIT-licensed and written mostly in Python.
Its closest alternative on selfhost.directory is ComfyUI (93/100, 143 701 stars). It scores higher overall, so compare the two before you pick. See CatGPT-Gateway vs ComfyUI side by side.
Features
- Chat completions
- File attachments
- Image generation (DALL-E)ChatGPT provider only; returns 501 for Claude
- Interactive TUI
- LangChain compatibility
- Live browser monitor
- Multi-tab concurrency
- OpenAI Compatible API
- Persistent Sessions
- SSE streaming
- Tool/Function calling
- Vision (image input)
CatGPT-Gateway README
More in API Gateway
ccLoadOpen-source gateway you host that combines AI keys and subscriptions into one endpoint with failover, protocol translation, and usage costs for coding assistants.
claude-code-aws-gatewaySelf-hosted proxy giving teams complete Claude Code capabilities via their AWS Bedrock accounts, with budgets, SSO, and analytics.
ClawRouterSelf-hosted LLM router with local smart routing across 88 models. Agents pay per request via USDC/x402 or credit-card API keys. MIT licensed.
CLI2APISelf-hosted OpenAI-compatible API that turns your own Qoder, WorkBuddy, and Trae account logins into a local API endpoint with multi-account routing and a web console.
cliproxyapi-cloudflare-stackA deployment template for running an OpenAI-compatible LLM API gateway on your own infrastructure using CLIProxyAPI and Cloudflare services.
Codex LB EnhancedSelf-hosted open-source gateway pooling ChatGPT accounts for Codex clients with transparent failover, session recovery, native quota headers, and a web dashboard.
consulSelf-hosted Consul is a service networking tool for service discovery, service mesh with mTLS, API gateway and health checks across multi-datacenter infrastructure.
ConvoyOpen-source webhooks gateway handling incoming and outgoing events with retries, signatures, fan-out and rate limits; self-host via Docker Compose or Helm chart.
Copilot_ProxySelf-hosted proxy that converts GitHub Copilot API into OpenAI, Anthropic, and Gemini compatible endpoints with a WebUI for multi-account management and token handling.
DreamFactoryDreamFactory is a self-hosted, open-source platform that instantly generates secure REST APIs from any database with RBAC, SSO, and MCP server for AI integration.
FusioSelf-hosted, open-source API management platform: expose databases and services as REST APIs, with developer portal, SDK generation, MCP/AI agents, and monetization.
gatewayLunarGate is a self-hosted, open-source AI gateway exposing an OpenAI-compatible endpoint with multi-provider routing, retries, fallbacks, and circuit breakers.
0 comments