Grok API

Setting up Grok in Cline

Updated:

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

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 Cline from the VS Code Marketplace and open its settings.

Install from the VS Code Marketplace

Cline

Clinecline.bot|4,909,518|(307)

Autonomous coding agent right in your IDE, capable of creating/editing files, running commands, using the browser, and more with your permission every step of the way.

DisableUninstallAuto Update
2

Choose OpenAI Compatible as the API Provider, then fill in the base URL, your API key, and the Model ID.

CLINE

Settings

Done

API Configuration

API Provider

OpenAI Compatible

Base URL

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

OpenAI Compatible API Key

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

This key is stored locally and only used to make API requests from this extension.

Model ID

grok-4.5
Custom HeadersAdd Header
3

Save the settings and start a new task.

CLINE

What can I do for you?

Auto-approve: Read, Commands, MCP

Type your task here…

Type @ for context, / for slash command…
openai-compat:grok-4.5PlanAct
Cline documentation

What's next