# chenyme/grok2api

Source: [GitHub](https://github.com/chenyme/grok2api)  
Feed7 permalink: https://feed7.dev/p/grok2api-0jko7ks  
Published: Unknown  
Trust: Needs Review (needs_review)

## Why Included

Grok2API fronts Grok Build, Web, and Console account pools with OpenAI- and Anthropic-compatible APIs, but its unofficial SSO routing creates terms, credential, and renewal risk.

## Source Summary

This Go gateway separates **Grok Build, Grok Web, and Grok Console** into account pools and exposes Responses, Chat Completions, Images, asynchronous Videos, and **Anthropic Messages**. It adds quota gating, sticky sessions, failover, audit records, and an admin UI.

## Practical Implication

Treat it as infrastructure requiring explicit security ownership: retain the AES-256-GCM encryption key, rotate the bootstrap admin setup, require client API keys, use HTTPS, redact logs, and keep Swagger disabled in production. Console calls must replay full conversation and tool state.

## Agent-Ready Context

This Go gateway separates **Grok Build, Grok Web, and Grok Console** into account pools and exposes Responses, Chat Completions, Images, asynchronous Videos, and **Anthropic Messages**. It adds quota gating, sticky sessions, failover, audit records, and an admin UI.

Treat it as infrastructure requiring explicit security ownership: retain the AES-256-GCM encryption key, rotate the bootstrap admin setup, require client API keys, use HTTPS, redact logs, and keep Swagger disabled in production. Console calls must replay full conversation and tool state.

It is an unofficial research project that tells users to follow Grok terms and local law. Web and Console SSO cannot auto-renew, Console supports only stateless POST Responses, and grok-4.5 is unavailable through the Console provider.

## Context Map

- Layer: infra
- Domains: coding, image
- Topics: gateways, tool-use, sandboxing

## Uncertainty

- It is an unofficial research project that tells users to follow Grok terms and local law. Web and Console SSO cannot auto-renew, Console supports only stateless POST Responses, and grok-4.5 is unavailable through the Console provider.

## Agent Instruction

Use this item as source-backed context. Do not invent claims beyond the linked source. If this item conflicts with another source, call out the conflict.
