CatGPT-Gateway
Turn your ChatGPT or Claude account into a fully working OpenAI-compatible API. No API keys needed. Supports tool calling, vision, file attachments, and image g
What is CatGPT-Gateway?
Turn 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.
Overview of CatGPT-Gateway
What it is
CatGPT Gateway turns your existing ChatGPT or Claude account into a fully working OpenAI-compatible API server. No API keys are needed; you only need your browser login. The project runs a real browser in the background, automates the web UI, and exposes standard API endpoints that work with the OpenAI Python SDK, LangChain, and any client that speaks the OpenAI protocol.
Key features
- Chat completions with SSE streaming (stream=true)
- Multi-tab concurrency and persistent sessions via x-session-id
- Tool / function calling support
- Image input (vision) and file attachments (PDF, DOCX, CSV, etc.)
- Image generation via DALL-E (ChatGPT provider only)
- Interactive TUI (terminal chat) and live multi-tab web monitor (/preview)
- Docker deployment and compatibility with OpenAI SDK and LangChain
Use cases
Use your existing ChatGPT Plus or Claude account as an API for chat, tool calling, vision, file attachments, and image generation. This avoids extra API costs and works with any OpenAI-compatible client or framework.
Getting started
bash# Docker (recommended)git clone https://github.com/GautamVhavle/CatGPT-Gateway.gitcd CatGPT-Gatewaycp .env.example .env# Edit .env -> set PROVIDER=claude or PROVIDER=chatgptdocker compose up --build -d# Open http://localhost:6080/vnc.html to log in (one-time)# Verify: curl -H 'Authorization: Bearer dummy123' http://localhost:8000/v1/modelsFor local setup (no Docker), see the repository README.
License and pricing
License: MIT. Pricing: open source (free).
Based on the project's public README and repository metadata.