Grok API

Setting up Grok in Kilo Code

Updated:

Grok in Kilo Code: 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 Kilo Code from the VS Code Marketplace.

Install from the VS Code Marketplace

Kilo Code: AI Coding Agent, Copilot, and Autocomplete

Kilo Codekilocode.ai|1,399,331|(204)

Open Source AI coding agent that generates code from natural language, automates tasks, and runs terminal commands. Features inline autocomplete, browser automation, automated refactoring, and custom modes for planning, coding, and debugging. Supports 500+ AI models including Claude (Anthropic), Gem

DisableUninstallAuto Update
2

Open Settings, go to Providers, and add a custom provider.

Popular providers

Anthropic

Direct access to Claude models, including Pro and Max

+ Connect

DeepSeek

DeepSeek models for reasoning and coding tasks

+ Connect

OpenAI

GPT and Codex models with API key or ChatGPT login

+ Connect

Google

Gemini models for fast, structured responses

+ Connect

OpenRouter

Access all supported models from one provider

+ Connect

Vercel AI Gateway

Unified access to AI models with smart routing

+ Connect

Custom providerCUSTOM

Add a custom provider by base URL.

+ Connect
Show more providers
3

Choose OpenAI Compatible, enter the base URL and your key, then save the provider and pick Grok 4.5.

Display name

LLM Gate

Provider API

OpenAI Compatible

Base URL

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

API key

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

Optional. Leave empty if you manage auth via headers.

4

Start your first task.

KILO CODE

Welcome to Kilo

Choose how you want to work

REVIEW FIRST

Kilo pauses and shows you its plan as it works.

  • Asks before editing files or running commands.
  • Shows full conversation details, including reasoning.

HIGH AUTONOMY

Fewer interruptions, streamlined interface.

  • Edits files and runs commands in the workspace without asking.
  • Details stay collapsed until you expand them.

You can change these options anytime in Settings.

New Worktree

Type a message, @ to mention files... (Enter to send, Shift+Enter for new line)

CodeAuto Free
Kilo Code documentation

What's next