tech
Use Grok in OpenCode
Use your SuperGrok or X Premium subscription inside OpenCode.

TL;DR
- OpenCode now supports using Grok, powered by SuperGrok or X Premium subscriptions.
- Grok Build is the AI model available within OpenCode, same as xAI's terminal-based agent.
- Installation of OpenCode is done via a `curl` command.
- Users connect to xAI within OpenCode using the `/connect` command.
- Two sign-in methods are available: xAI Grok OAuth for SuperGrok subscribers (browser-based) and xAI Grok OAuth for Headless/Remote/VPS setups (code-based).