Status: [UNTESTED] Endpoints found: http://127.0.0.1:8080/api/chat Source: https://github.com/rfawadt/freeport

Freeport

Freeport

Let anything call ChatGPT as an API — using the account you already have.
by Fawad Tahir

Claude Code, Cursor, your own scripts, a cron job, a side project — if it can make an HTTP request, it can now talk to ChatGPT. Freeport runs a tiny server on your Mac that speaks to your **logged-in browser session**, so there's no API key to buy and no per-token bill. Works on **free and paid** ChatGPT accounts alike; you get whatever models your plan already gives you. The idea: you're paying for ChatGPT (or using it free) but your code can't reach it — that costs a separate API key billed per token. Freeport closes that gap. Point any app at `http://127.0.0.1:8080` and it just works. ```bash curl -N http://127.0.0.1:8080/api/chat \ -H 'Content-Type: application/json' \ -d '{"provider":"chatgpt","message":"write me a haiku about ports"}' ``` **Use it to:** give Claude Code a free LLM backend · generate images in bulk · batch classify or summarize · prototype without burning API credit · run agents that would be too expensive per-token. ## What you get - **Text** — an OpenAI-ish `/api/chat` SSE endpoint, plus `/docs` to poke at it. - **Images, both directions** — generate images, and send images *in* for vision or image-to-image. (See [Images](#images) — this needs the bundled scripts.) - **Whatever models your account has**, including reasoning models (`gpt-5-6-thinking`, `o3`, …). - **Menubar app** — start/stop, live status, session refresh, one click to the docs. - **A Claude Code skill** — so Claude can wire Freeport into any project for you. - Also speaks **Perplexity** and **Gemini**. ## Requirements macOS, Python 3.9+, and any Chromium browser you're logged into ChatGPT with. Freeport finds it automatically; `chrome, chromium, brave,