You can now use your @grok or X Premium subscription in @opencode. Use the model powering Grok Build for high speed and codebase intelligence. https://t.co/8D2F9jYoIQ https://t.co/kX170e84IL
xAI enables Grok subscription portability for OpenCode agentic workflows
xAI· Updated
xAI enabled subscription portability for OpenCode, allowing X Premium and SuperGrok users to power the open-source agent via OAuth sign-in. This move allows developers to use the specialized Grok Build model for codebase intelligence without incurring per-token API costs.
OAuth to power the platform. This follows a similar move to enable Grok subscription portability for Hermes Agent.- Model
- Grok Build
- Required subscription
- X Premium or SuperGrok
- Authentication
- OAuth sign-in
- Platform
- OpenCode (CLI or Desktop)
- Pricing
- Included in subscription
This integration provides direct access to Grok Build, the high-speed model xAI designed for codebase intelligence. By allowing subscribers to bring their own account to open-source tools, xAI is challenging traditional API billing. It mirrors how Vercel brings Grok Build 0.1 to its gateway for custom agentic workflows.
You can start today by installing the OpenCode CLI and selecting xAI Grok OAuth during onboarding. This setup enables autonomous multi-file editing and repository-wide reasoning powered by your existing subscription. The integration is available now, with xAI promising more open-source agent connections in the coming weeks.
Still wondering? A few quick answers below.
Every HeadsUpAI update is written based on its original source and reviewed before it's published. Read our editorial standards →



