MSEMAX Gateway

An OpenAI-compatible API in front of ChatGPT

MSEMAX speaks the OpenAI Chat Completions protocol, so any tool that talks to OpenAI can point at it unchanged. Behind the scenes it forwards each request to a pool of real ChatGPT sessions, rotating accounts, failing over when one breaks, and streaming the reply back token by token.

Your base URL is __BASE__/v1 — every example on these pages is filled in with this gateway's real address, ready to copy.

Where to go next

How a request flows

  1. A client sends an OpenAI-format request to __BASE__/v1/chat/completions with an API key.
  2. The gateway checks the key. A client key may chat and nothing else; the master key also manages sessions and keys.
  3. It picks a healthy session from the pool — the same conversation sticks to the same account, and a dead account is skipped automatically.
  4. The prompt is forwarded to ChatGPT's backend (solving its proof-of-work challenge on the way).
  5. The reply streams back re-encoded as OpenAI Server-Sent Events, so your client sees a normal chat.completion.chunk stream.

Keep the master key private — it can read, write and delete every pooled account. Hand out generated client keys instead, and revoke them individually from the dashboard.