Grok2API
Self-hosted gateway pooling Grok accounts behind OpenAI-style APIs
What it is
A Go server with a React admin console that manages pools of Grok accounts across the Build, Web, and Console products and serves them through OpenAI- and Anthropic-compatible endpoints. It handles chat completions, responses, messages, image and asynchronous video requests, with account syncing, quota tracking, retries, proxy pools, and usage billing per client key. Developers who want to call Grok from existing OpenAI or Anthropic clients run it on their own server with SQLite or PostgreSQL.
