SpaceXAI
Developer of the Grok model family. Grok 4.7 targets long-running coding and knowledge work with a 500K-token context window and tiered API pricing.
getModelKey links official API key pages only. We do not sell, generate, or broker API keys.
Overview
SpaceXAI develops the Grok model family. Grok 4.7 focuses on long-running coding, knowledge work, documents, presentations, and tool-using agents.
API access is managed through the developer console. Grok 4.7 uses model ID grok-4.7, supports text and image input, and has a 500K-token context window.
How to Get an API Key
- Open console.x.ai and sign in with an eligible xAI developer account.
- Create an API key in the console, then copy and store it securely.
- Call xAI’s documented API endpoints with the key as required by their auth scheme.
- Keep keys server-side only; revoke and recreate them if compromised.
Common Models
FAQ
Does an xAI API key unlock every Grok version?
Availability depends on your account and xAI’s current catalog. Confirm models and limits in the official console and docs.
Where should I look for Grok pricing?
Only on xAI’s official pricing or console materials. Published rates change; we do not hard-code prices here.