Redeem a Grok card, create your own API key, and call Chat Completions, Responses, or Anthropic Messages. Claude Code: ANTHROPIC_BASE_URL=https://api.apimonth.com with Grok chat models such as grok-4.6.
ApiMonth is not an official xAI website.
Endpoints on this line
POST /v1/chat/completions
POST /v1/responses
POST /v1/messages
wss://api.apimonth.com/v1/responses
POST /v1/images/generations
POST /v1/images/edits
Grok Imagine uses POST /v1/images/generations and POST /v1/images/edits. Example identifiers: grok-imagine-image, grok-imagine-image-2.0, grok-imagine-image-quality. Billed per image, not by tokens.
Example Chat Completions identifier: grok-4.6. Query GET /v1/models for the currently admitted list.
Published rates
Chat figures are USD / 1M tokens; image models are USD / image. These are live sale rates (default 70% off, Gemini and GPT-5.6 Luna 20% off, Grok chat 50% off, every image model a flat $0.10; the current discount is the rate shown here), not an upstream invoice. New packs last 30 days; historical cards convert to a permanent USD balance. Cache writes are not part of the public billing claim.
Chat: USD / million tokens. Images: USD / image. Live billable prices, updated automatically; — means unavailable or unsupported.
Grok Imagine 使用 POST /v1/images/generations 与 POST /v1/images/edits。示例标识:grok-imagine-image、grok-imagine-image-2.0、grok-imagine-image-quality。按张计费,不按 token。
Chat Completions 示例标识:grok-4.6。当前可用列表以 GET /v1/models 为准。