Grok
Connect an xAI account to AI Wallet with xAI's device sign in, on the account's plan, and what the wallet reads of its usage.
The Grok account answers with the visitor's xAI account. The wallet lists it as Grok under "With your plan", with the id grok.
What the visitor needs
An xAI account with a plan. The wallet shows the account as paid from the plan.
Sign in
- In the wallet, the visitor picks Grok under "With your plan".
- The wallet asks xAI for a device code at
https://auth.x.ai/oauth2/device/codeand shows the code in the side panel. - It opens a window on xAI's verification page, with the code filled in when xAI gives such an address.
- The visitor signs in and approves the code.
- The wallet asks xAI's token endpoint each time a page finishes loading in the window, when the window closes, and when the visitor presses "I approved it". xAI answers
authorization_pendingorslow_downuntil the visitor approves. - xAI returns the tokens, and the account is connected.
The code lasts as long as xAI says in expires_in, and ten minutes when xAI gives no duration. The wallet renews the access token with the refresh token from one minute before it expires.
Models
The wallet has no model list for Grok. The account answers with grok-4.6, and the side panel shows no model buttons for its sites.
Usage and limits
The wallet reads no usage header specific to Grok. It reads x-ratelimit-remaining-tokens and x-ratelimit-limit-tokens on any answer that carries them, as it does for every account. Without them, the card keeps saying "Usage shows after the first answer", and Auto ranks the account among the accounts with no reading.
Calls
Answers come from https://api.x.ai/v1/responses in OpenAI's Responses protocol. The protocol has no stop sequences, so the wallet leaves stop out of its calls.
Known issues
- The sign in borrows the OAuth client of Grok's command line tool and asks for its scope,
grok-cli:access.
Gemini plan
Connect a Gemini plan to AI Wallet through the Google sign in of the Antigravity app, with the models of Antigravity's agent.
OpenRouter
Connect an OpenRouter account to AI Wallet with OpenRouter's PKCE sign in, on the visitor's credits, with the whole OpenRouter catalog picked in the account's settings.