Grok API

Setting up Grok in Continue

Updated:

Grok in Continue: 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 Continue and open its configuration.

Install from the VS Code Marketplace

Continue - open-source AI code agent

Continuecontinue.dev|3,869,096|(178)

The leading open-source AI code agent

Switch to Pre-Release VersionDisableUninstallAuto Update
2

Go to the Configs section and open Main Config for editing.

CONTINUE

Configs

Main Config
3

Add the model block below to config.yaml, replace the placeholder API key, and save the file.

config.yaml
name: Main Config
version: 1.0.0
schema: v1

models:
  - name: Grok 4.5
    provider: openai
    model: grok-4.5
    apiBase: https://api.llm-gate.tech/v1
    apiKey: sk-lg-YOUR_API_KEY
    roles:
      - chat
      - edit
      - apply
4

Select Grok 4.5 in the model picker.

CONTINUE
Main Config

Ask anything, '@' to add context

AgentGrok 4.5

Last Session

Continue documentation

What's next