Official (free tier)Up
72
api.x.ai
Source · mnfst/awesome-free-llm-apis
Overviewapi.x.ai is xAI's (Elon Musk's company) official paid API endpoint for the Grok LLMs, OpenAI-compatible; primarily pay-as-you-go, with a limited new-user trial credit and a (repeatedly changed) data-sharing credit program.
Free quotaNo permanent free tier. New accounts typically get ~$25 in promotional trial credit (varies by promotion/region/verification, expires in ~30 days and does not carry over). A historical 'data sharing program' once gave $150/month but required first spending $5, opting in to use your API requests for model training, and was non-revocable once enabled at team level; that $150 program is reported to have been changed/ended around May 2025 — rely on what your xAI Console actually shows now.