All key guides

Get an xAI (Grok) API key

Create a key in the xAI console to use Grok models.

About 5 minKey starts with xai-…
Open xAI console

1. Create your account

  1. 1Go to console.x.ai and sign in, or create an xAI account.
  2. 2Create or join a team/workspace if prompted.

2. Create the API key

  1. 1In the console, open the API Keys section.
  2. 2Click "Create API key", give it a name, and confirm.
  3. 3Copy the key immediately — it is shown only once.

xAI keys start with "xai-".

3. Add billing

  1. 1Open the Billing section of the console.
  2. 2Add a payment method and a starting credit balance.

4. Keep it safe

Treat an API key like a password. Anyone who has it can spend on your account. Never post it publicly, commit it to a git repository, or paste it into a chat. If a key is ever exposed, revoke it in the provider console and create a new one.

Common questions

Where is the xAI API console?

At console.x.ai. Sign in with your xAI account, load credit, then create keys in the API keys section.

Does SuperGrok include API access?

No. xAI bills the API separately from the SuperGrok subscription, so you need credit in the xAI console to use the API.

How much do I need to start?

xAI works on prepaid credit with a $5 minimum top-up, or invoiced billing for larger accounts. xAI says API credits are non-refundable, so start small.

What does an xAI API key look like?

It starts with "xai-" followed by a long random string.

Checked against xAI's own pages on 28 September 2026. Providers change free tiers and minimums often.

You have the key. Give it something to do.

Most people create a key for one project and never use it again. On BizWax.Ai you add it once and it works across every tool built on xAI, with everything you make saved to one Library. Creating an account is free and includes some tools outright, plus free credits each week. The $20-a-month plan runs everything.

Create your account

Getting a key from another provider? All key guides

Get an xAI (Grok) API key · BizWax.Ai