← all repositories

lanqian528/chat2api

A reverse-proxy service that converts web ChatGPT into an OpenAI-compatible API endpoint.

chat2api
Not currently ranked — collecting fresh signals.
star history

This service acts as an API gateway for ChatGPT, reverse-engineering the web interface to expose OpenAI-compatible endpoints. It supports streaming and non-streaming responses, manages multiple accounts and tokens with automatic rotation and refresh, handles models including GPT-3.5/4, O1 series, and GPTs, and includes features like image/file uploads, multi-machine distributed deployment, and failure retry logic.

Frequently asked

What is lanqian528/chat2api?
A reverse-proxy service that converts web ChatGPT into an OpenAI-compatible API endpoint.
Is chat2api open source?
Yes — lanqian528/chat2api is open source, released under the MIT license.
What language is chat2api written in?
lanqian528/chat2api is primarily written in Python.
How popular is chat2api?
lanqian528/chat2api has 3.7k stars on GitHub.
Where can I find chat2api?
lanqian528/chat2api is on GitHub at https://github.com/lanqian528/chat2api.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.