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 accountInstall Kilo Code 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
Open Settings, go to Providers, and add a custom provider.
Popular providers
Anthropic
Direct access to Claude models, including Pro and Max
DeepSeek
DeepSeek models for reasoning and coding tasks
OpenAI
GPT and Codex models with API key or ChatGPT login
Gemini models for fast, structured responses
OpenRouter
Access all supported models from one provider
Vercel AI Gateway
Unified access to AI models with smart routing
Custom providerCUSTOM
Add a custom provider by base URL.
Choose OpenAI Compatible, enter the base URL and your key, then save the provider and pick Grok 4.5.
Display name
Provider API
Base URL
API key
Optional. Leave empty if you manage auth via headers.
Start your first task.
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)