Get an xAI (Grok) API key for Interviewdom
Load xAI credits, create a Grok API key and connect it to Interviewdom. Grok 4.7 can read screenshots.
- Updated November 19, 2026
- Easy
- About 5 min
- Payment card needed
- Needs a second key for listening
1. At a glance
- What you get: answers with Grok, and screenshot reading with Grok 4.7.
- Speech-to-text: xAI now sells a speech-to-text API, but Interviewdom doesn't support it yet, so add a Groq or OpenAI key for listening.
- Cost: prepaid credits; about $0.13 per 1-hour interview with Grok 4.20 non-reasoning (see section 8).
- Time needed: about 5 minutes.
2. Create an account
- Create an account at console.x.ai.
3. Add credits
- In the console's billing section, buy prepaid credits. xAI asks you to "load it with credits" before using the API.
- Spending safety: by default, monthly invoiced billing is off (its limit is $0), so when your prepaid credits run out, requests are simply rejected. Keeping a small prepaid balance is a natural spend limit.
4. Create the API key
- Open the API Keys page: console.x.ai/team/default/api-keys.
- Create a key named Interviewdom – laptop.
- Copy the key now.
5. Pick a model
| Model | Best for | Reads screenshots |
|---|---|---|
Grok 4.20 non-reasoning (grok-4.20-0309-non-reasoning) – recommended | Quick answers, lower cost | being verified |
Grok 4.3 (grok-4.3) | Balanced | being verified |
Grok 4.7 (grok-4.7) | Best answers | Yes |
6. Connect in Interviewdom
- Go to Settings → AI Providers → xAI (Grok).
- Paste your key.
- Choose a model.
- Click Test connection. You should see something like OK · 450 ms.
Your key is stored encrypted on your PC and is sent only to xAI, never to Interviewdom.
7. Speech-to-text
xAI's speech-to-text uses its own endpoint (not the OpenAI-style one), which Interviewdom doesn't support yet. Add a Groq key (cheapest) or an OpenAI key in Settings → AI Providers → Speech-to-text.
8. Costs in practice (estimate)
Assumptions: about 80,000 input + 12,000 output tokens per 1-hour interview (prompts under 200k tokens).
- Grok 4.20 non-reasoning or Grok 4.3 ($1.25 in / $2.50 out per 1M tokens): about $0.13.
- Grok 4.7 ($2 in / $6 out): about $0.23.
Add your listening cost (Groq is about $0.04 per hour).
9. Troubleshooting
| Problem | What it means | Fix |
|---|---|---|
| 401 / 400 invalid key | Key is wrong or deleted | Create a new key. |
| Requests rejected, no credits | Prepaid credits ran out | Buy more credits. |
| 404 model not found | Model ID is wrong or retired | Pick a model from the list. |
| 429 rate limit | Too many requests | Wait and retry. |
| Screenshot not understood | The model can't read images | Use Grok 4.7 (JPG/PNG up to 20 MiB). |
| Network error | Proxy/VPN blocks api.x.ai | Ask IT to allow it. |
10. Security tips
- Never share your key, including with Interviewdom support.
- Delete a leaked key in the console and create a new one.
- Interviewdom stores your key encrypted on your PC and sends it only to xAI.