← all repositories

chenyme/grok2api

FastAPI-based gateway that converts Grok's AI capabilities into OpenAI and Anthropic compatible REST APIs.

grok2api
Velocity · 7d
+21
★ / day
Trend
steady
star history

The project provides a reverse-proxy layer enabling developers to access xAI’s Grok model using standard OpenAI SDK calls. It translates requests and responses between formats, supports multi-account pooling with load balancing, and aggregates token usage statistics across sessions. Additional features include local caching of generated media, a built-in admin dashboard, web chat interface, and support for multimodal generation including text-to-image, image editing, and text-to-video.

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