Grok API

Setting up Grok in Roo Code

Updated:

Grok in Roo Code: setting it up through Grok API Dev takes under 5 minutes.

Roo Code's own documentation states that the extension was shut down on May 15th and points to ZooCode and Cline as successors. The steps below apply to installs that are still running.

Before you start

Create an account and issue an API key — the setup below starts from the key in your dashboard.

Create an account
1

Install Roo Code from the VS Code Marketplace.

Install from the VS Code Marketplace

Roo Code

Roo Coderoocode.com|1,907,585|(348)

A whole dev team of AI agents in your editor.

DisableUninstallAuto Update
2

Open the Roo Code settings and pick OpenAI Compatible as the API Provider.

ROO CODE

Choose your provider

Roo needs an LLM provider to work. Choose one to get started, you can add more later.

API ProviderProvider Docs
OpenRouter
ope
OpenRouter
OpenAI
OpenAI - ChatGPT Plus/Pro
OpenAI Compatible
3

Enter the GrokAPI base URL, your API key, and set the model to grok-4.5.

ROO CODE

Base URL

https://api.llm-gate.tech/v1

API Key

••••••••••••••••••••••••••••••••••••••••••••••••

Model

grok-4.5
4

Save the configuration and start your first task.

Type your task here...

(@ to add context, / for commands, hold shift to drag in files/images)

CodedefaultOff
Roo Code documentation

What's next