Grok API via a monthly card

Redeem a Grok card, create your own API key, and call Chat Completions on https://api.apimonth.com/v1. Responses is GPT-only.

ApiMonth is not an official xAI website.

Endpoints on this line

  • POST /v1/chat/completions
  • 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.

Example Chat Completions identifier: grok-4.6. Query GET /v1/models for the list admitted by your active card.

Published token rates

These USD / 1M token figures are platform reference rates for quota accounting, not an upstream invoice. Access depends on an active Grok card.

ModelRoute idContextInput / 1MOutput / 1M
Grok 4.7grok-4.7500k$2.00$6.00
Grok 4.6grok-4.6500k$2.00$6.00
Grok 4.5grok-4.5500k$2.00$6.00
Grok 4.3grok-4.31,000k$1.25$2.50
Composer 2.5composer-2.5200k$2.00$6.00

First request

curl https://api.apimonth.com/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_APIMONTH_API_KEY' \
  -d '{"model":"grok-4.6","messages":[{"role":"user","content":"Hello"}]}'

Full API quickstart · All models

Grok 专线

兑换 Grok 月卡后,用 Chat Completions 调用已开放路由。Grok Imagine 走 POST /v1/images/generations 与 /v1/images/edits。Responses 仅限 GPT 月卡。ApiMonth 不是 xAI 官方网站。

Get a Grok card