Grok (xAI): get an API key and write fiction with it on your phone

One key runs text, image, video, and speech through xAI's native endpoints — one of the few providers matching OpenAI's modality spread. This page is the BYOK quick answer for Grok (xAI): key steps, direct console and pricing links, and the app-side notes that matter. Verified 2026-07-18.

Two links up front: get your key at the official console and check rates on the official pricing page. Prices and free quotas move; the official pages are authoritative.

What does it power inside Foreverse?

The factory preset declares 5 modality flags for Grok (xAI). The models actually available come from the live catalog fetched in-app — catalogs move fast, and the flag only means the protocol wiring is ready.

ModalityUsed for
TextContinuation · roleplay chat · agent
VisionImage understanding in chat
ImageScene illustration · moment cards · comics
VideoScene-to-video
SpeechAudiobook narration · character voice

How do I get a Grok (xAI) API key?

  1. Sign up at accounts.x.ai. The API platform is separate from X Premium — no subscription needed.
  2. Open console.x.ai and load credits; new accounts often get time-limited promotional credit, so check the balance page first.
  3. On the API Keys page → Create API Key; you can scope which endpoints and models the key may access.
  4. The xai- key is shown once — copy and store it.

Key in hand: three steps to connect

  1. Open the app's Settings → AI models & services and find Grok (xAI) in the list (one of 62 presets, with logo and search).
  2. Paste the key and tap the connectivity test — it fires one real request to verify key and network, and pulls back the model list while it's at it.
  3. Enable the models you want, then set per-modality defaults (text, image, speech, and video each get their own); continuation, chat, and listening route through them from then on.

The one universal host pitfall: the API host must include its full version prefix (this provider's exact form is in the notes below) — the app never appends /v1 for you.

Grok (xAI)-specific notes

The preset host is https://api.x.ai/v1. Text uses the OpenAI-compatible protocol; image, video, and voice use xAI's native endpoints, already wired in the app under the same key. Some new models reach the EU console later than elsewhere.

FAQ

Does Grok (xAI) have a free tier?

No permanent free tier. New accounts often receive time-limited promotional credit (expires after roughly 30 days, no carry-over) — the console shows the current offer.

Where does the key live once I paste it into the app?

It's stored on your device only, under system-level encryption — never uploaded or synced to any Foreverse server. Requests go straight from your phone to the provider's official endpoint with zero markup. To revoke access, delete the key in the provider's console.

Grok (xAI) API Key — Get One and Plug It into Foreverse (BYOK)