{"registry_version":"2026.1025.387","generated_at":"2026-10-25T06:27:00Z","content_sha256":"089d16f627d9365e3d0663cc8069203706d7cb23a76c332226e29686968811a5","signed":true,"signature":{"key_id":"ed25519:74ca19268e364242","algorithm":"ed25519","expires_at":"2026-11-24T06:27:09Z","expired":false,"manifest":"/registry/manifest.json"},"id":"xai/grok-api","name":"xAI Grok API","vendor":"xAI","status":"researched","last_verified":null,"last_researched":"2026-10-25","summary":"Account at console.x.ai, a team, prepaid credits, then an API key with model and endpoint ACLs. Keys can also be created through the Management API.","account_model":{"summary":"An xAI console account belongs to one or more teams; credits, billing and API keys belong to a team.","accounts":[{"name":"xAI console account","kind":"personal","owned_by":"the person","required":true},{"name":"Team","kind":"organisation","owned_by":"the company","parent":"xAI console account","required":true,"note":"A default team is referenced in console URLs (team/default). Billing changes apply to every user on the team. Admins see all team keys; members see only their own."}],"notes":["Several official pages now brand the platform \"SpaceXSI API\"; the console and docs remain at console.x.ai and docs.x.ai."]},"prerequisites":[{"need":"An account to sign up at console.x.ai"}],"identity_requires":[],"have_ready":[{"kind":"payment_card","description":"Card for prepaid credits (card saved at first purchase)","why":"With the default $0 invoiced limit, requests are rejected without prepaid credits","needed_for":["billing"],"auto_check":"none","source_url":"https://docs.x.ai/console/billing"}],"steps":[{"id":"account","title":"Sign up at console.x.ai","summary":"You create the account yourself.","route":"guided","gate":"human_login","human_only":true,"gate_label":"You sign in","depends_on":[],"optional":false,"url":"https://console.x.ai/login?mode=sign-up","lead_time":null,"preflight":[],"captures":null},{"id":"terms","title":"Accept xAI's terms","summary":"API use is governed by the Enterprise Terms of Service and the Acceptable Use Policy. You accept them yourself. [to verify where acceptance happens]","route":"guided","gate":"human_terms","human_only":true,"gate_label":"You accept the terms","depends_on":["account"],"optional":false,"url":null,"lead_time":null,"preflight":[],"captures":null},{"id":"team","title":"Choose the team","summary":"Make sure you are in the intended team before billing or creating keys; credits and billing changes apply to the whole team. The team ID is on the team settings page.","route":"guided","gate":"none","human_only":false,"gate_label":null,"depends_on":["account"],"optional":false,"url":"https://console.x.ai/team/default/settings/team","lead_time":null,"preflight":[],"captures":null},{"id":"billing","title":"Buy prepaid credits","summary":"Under Billing > API spend management buy credits (card processes immediately, bank transfer 2-3 business days); optionally set auto top-up and a monthly cap. verapli never touches payment details.","route":"guided","gate":"human_payment","human_only":true,"gate_label":"You add payment details","depends_on":["terms","team"],"optional":false,"url":null,"lead_time":{"official":{"text":"Card payments process immediately; bank transfers take 2-3 business days.","source_url":"https://docs.x.ai/console/billing","source_title":"Billing, Credits & Invoices"},"reported":null,"typical_minutes":null},"preflight":[],"captures":null},{"id":"api-key","title":"Create an API key","summary":"On the API Keys page create a key and grant ACLs (e.g. api-key:model:* and api-key:endpoint:*); a key with no permissions fails every request. The full key is not shown again; verapli writes it to your env file.","route":"copilot","gate":"human_submit","human_only":true,"gate_label":"You press submit","depends_on":["billing"],"optional":false,"url":"https://console.x.ai/team/default/api-keys","lead_time":null,"preflight":[],"captures":"XAI_API_KEY"},{"id":"management-key","title":"Create a management key (optional, for API provisioning)","summary":"In Settings > Management Keys create a management key, separate from inference keys, to create, list and rotate team API keys via management-api.x.ai.","route":"guided","gate":"human_submit","human_only":true,"gate_label":"You press submit","depends_on":["team"],"optional":true,"url":null,"lead_time":null,"preflight":[],"captures":"XAI_MANAGEMENT_API_KEY"}],"gates":[{"step":"account","gate":"human_login","label":"You sign in"},{"step":"terms","gate":"human_terms","label":"You accept the terms"},{"step":"billing","gate":"human_payment","label":"You add payment details"},{"step":"api-key","gate":"human_submit","label":"You press submit"},{"step":"management-key","gate":"human_submit","label":"You press submit"}],"lead_times":[{"step":"billing","what":"Buy prepaid credits","official":{"text":"Card payments process immediately; bank transfers take 2-3 business days.","source_url":"https://docs.x.ai/console/billing","source_title":"Billing, Credits & Invoices"},"reported":null}],"outputs":[{"name":"XAI_API_KEY","description":"xAI inference API key for the team","secret":true,"example_format":"xai-… [to verify]","environments":["development","test","staging","production"]},{"name":"XAI_MANAGEMENT_API_KEY","description":"Management API key for key, team and billing management","secret":true,"example_format":"[to verify: format not documented]…","environments":["production"]}],"renewals":[],"estimated_minutes":null,"guide_url":"https://verapli.com/guides/xai/grok-api"}