Skip to content

Kilo Code Integration

Kilo Code accelerates development with AI-driven code generation and task automation. This guide shows you how to connect Kilo Code to LLMCloud.

  1. Open VS Code and click the Kilo Code icon in the sidebar
  2. Click the settings icon (⚙️) in the top-right corner
  3. Configure the following settings:
SettingValue
API ProviderLLMCloud
Base URLhttps://llmcloud.studio/v1
API KeyYour LLMCloud API key
Model IDanthropic/claude-sonnet-4.5 (or your preferred model)

Important: Enable Use legacy OpenAI API format to prevent write_file errors.

Kilo Code OpenAI Configuration

ModelModel ID
Claude Opus 4.6anthropic/claude-opus-4.6
Claude Opus 4.5 Thinkinganthropic/claude-opus-4.5-thinking
Claude Sonnet 4.6anthropic/claude-sonnet-4.6
Claude Sonnet 4.5anthropic/claude-sonnet-4.5
Claude Sonnet 4.5 Thinkinganthropic/claude-sonnet-4.5-thinking
Claude Haiku 4.5anthropic/claude-haiku-4.5
Gemini 3 Flash Previewgoogle/gemini-3-flash-preview
Gemini 3 Pro Previewgoogle/gemini-3-pro-preview
  1. Click Done to save

After configuration, Kilo Code is ready to use. Open the Kilo Code panel to:

  • Generate new code
  • Automate repetitive tasks
  • Debug issues
  • Refactor existing code

Kilo Code Usage

Problem: “API Key invalid or unauthorized” error

Solutions:

  • Verify your API key is correct
  • Check your account has sufficient balance at LLMCloud Dashboard

Problem: Errors when Kilo Code tries to write files

Solution: Enable Use legacy OpenAI API format in settings (for OpenAI Compatible mode)

Problem: Unable to connect to API

Solutions:

  • For OpenAI Compatible: Base URL must be https://llmcloud.studio/v1
  • For Anthropic: Base URL must be https://llmcloud.studio
  • Check your internet connection
  • Test with curl:
    Terminal window
    curl https://llmcloud.studio/v1/models \
    -H "Authorization: Bearer YOUR_API_KEY"

Problem: “Model not found” or “Invalid model” error

Solutions:

  • Use the exact model ID format (e.g., anthropic/claude-sonnet-4.5)
  • Verify the model is available in your subscription