lanqian528/chat2api
A service that can convert ChatGPT on the web to OpenAI API format. observed · 2026-08-28
Health v2 · maintenance only
35/100
- Activity 22
- Release rhythm 35
- Longevity 62
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 881
- days_rel: n/a
- days_push: 473
- n_releases_24m: 0
Adoption not part of the score
3794 stars · 729 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Python service that proxies ChatGPT's web interface into an OpenAI-compatible API format, supporting GPT-3.5, GPT-4/4o, O1/O3 models, GPTs, and file uploads. It also provides a native ChatGPT website mirror with account pooling and token management.
Use cases
- use chatgpt web account as an openai-compatible api
- expose gpt-4 via openai api format without official key
- self-host a chatgpt to api gateway
- rotate multiple chatgpt tokens for api access
- mirror the chatgpt website with account pool
- use gpts and o1 models through openai sdk clients
When to choose
- you have ChatGPT web accounts (AccessToken/RefreshToken) and want OpenAI-format API access
- you need compatibility with existing OpenAI API clients
- you want multi-account token rotation and a self-hosted gateway
When to avoid
- you need a fully official, ToS-compliant OpenAI API
- you need guaranteed uptime or SLA, since this relies on unofficial reverse-engineered endpoints
- you don't have ChatGPT accounts or tokens
Facets
service · maturity active
proxy api-framework http-server llm-inference chatbot large-language-models apis self-hosted artificial-intelligence self-hosted python reverse-proxy openai-api-compatibility chatgpt token-pooling unofficial-api docker web-server
1 source
- readme: https://github.com/lanqian528/chat2api · fetched 2026-08-28 · 59d6b8c7ef56
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| lanqian528/chat2api | main | 35 |
For agents
markdown · JSON · MCP: product_card(name="lanqian528/chat2api")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem