# chenyme/grok2api

Multi-account API gateway for Grok Build, Grok Web, and Grok Console

Repository: https://github.com/chenyme/grok2api
Canonical: https://ross.abutalabs.com/products/grok2api
Language: Go
License: MIT
License Family: permissive
Topics: grok, grok-imagine, grok-build, grok-video, grok-console, grok-web
Last push: 2026-08-25T10:16:42+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 99, longevity 23
- inputs: {"age_days": 327, "days_push": 8, "days_rel": 8, "gap_med": 1, "n_releases_24m": 30}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7538, forks 2277 (observed 2026-08-28T04:10:00.650722+00:00)

## What it is
A self-hosted multi-account API gateway for Grok Build, Grok Web, and Grok Console, written in Go with a React frontend. It exposes Grok capabilities (chat, image, video) through a unified API with account pooling.

## Use cases
- expose grok as an openai-compatible api
- pool multiple grok accounts behind one gateway
- generate images and videos via grok api
- self-host a grok chat proxy
- route chat requests across grok web and console accounts

## When to choose
- you want programmatic access to Grok models without official API keys
- you need to distribute requests across multiple Grok accounts
- you want a self-hosted gateway with a management UI

## When to avoid
- you need guaranteed compliance with Grok's terms of service
- you require official support and SLAs
- you only need standard OpenAI API access

## Facets
- artifact type: service
- maturity: active
- function: api-gateway, llm-inference, proxy, chatbot, image-processing, video-processing
- domain: large-language-models, artificial-intelligence, apis, self-hosted
- platform: self-hosted, go, cross-platform
- tags: grok, reverse-proxy, openai-compatible-api, multi-account, image-generation, video-generation, api-relay, docker, web-server

## Member repositories
- chenyme/grok2api (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:00.650722+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:37:26.322687+00:00, confidence not recorded.
  - readme: https://github.com/chenyme/grok2api (fetched 2026-08-28T04:10:00.650722+00:00, sha 74d852004659)
- Data as of 2026-08-30T08:39:29.467469+00:00.
