Skip to content

Connect xAI (Grok)

Grok models, image and video (Grok Imagine).

API key · official docs

How to connect

  1. Ask: connect xAI (Grok). Wittley opens a settings card on the dashboard.
  2. Paste xAI API key (get it at console.x.ai). console → API Keys → Create API key. It goes into the vault; the model never sees the value.
  3. Wittley tests the connection with a call to api.x.ai and tells you whether the key works.

Step-by-step video coming soon.

What it costs to use

xAI (Grok) bills you directly. Wittley multiplies the usage each response reports by this table and shows the spend on the dashboard, with a cap per provider.

xAI (Grok) reference pricing
Model or featurePrice (USD)
grok-4.7$2 input per 1M tokens · $6 output per 1M tokens
grok-4.6$2 input per 1M tokens · $6 output per 1M tokens
grok-4.5$2 input per 1M tokens · $6 output per 1M tokens
grok-4.3$1.25 input per 1M tokens · $2.5 output per 1M tokens
grok-4.20$1.25 input per 1M tokens · $2.5 output per 1M tokens
grok-build$1 input per 1M tokens · $2 output per 1M tokens
grok-imagine-image-2$0.04 per image
grok-imagine-image$0.02 per image

Prices as of 2026-11, from the official pricing page. Check the current rate before heavy use.

What Wittley does and doesn't do with it

Also in AI models

Wittley is still in waitlist mode.

People on the list get the beta invite and first access to the Hub.

Your system

Launch and Hub news only. No spam, never shared with anyone.