Skip to content
Kilo Code

Editors and IDE extensions

Use Kilo Code with Shannon

Add Shannon as a custom provider once in kilo.jsonc and the Kilo Code extensions and CLI all use it.

  • Tested Nov 7, 2026
  • OpenAI Chat Completions
  • About 3 min

About Kilo Code

Kilo Code is an open-source coding agent for VS Code, JetBrains and the terminal, with modes for planning, coding, debugging and asking questions. Its custom provider form takes any OpenAI- or Anthropic-compatible endpoint, so it can run on Shannon models.

What you need

A Shannon API key
Keys & usage
Base URL
https://api.shannon-ai.com/v1 Endpoint: /v1/chat/completions
Every snippet below follows your choice.

Set it up

  1. Export your API key

    The config refers to it as {env:SHANNON_API_KEY}.

    Shell
    export SHANNON_API_KEY=YOUR_API_KEY
  2. Add Shannon as a custom provider

    Kilo Code keeps one settings file for the VS Code and JetBrains extensions and the CLI: ~/.config/kilo/kilo.jsonc. In the extension, open Settings → Providers, choose Custom provider → Connect, keep Provider API on OpenAI Compatible, and fill in an ID, the base URL with /v1, your key and the model id. The form has no window field: add limit to the model in kilo.jsonc as shown here.

    ~/.config/kilo/kilo.jsonc
    {
      "provider": {
        "shannon": {
          "npm": "@ai-sdk/openai-compatible",
          "name": "Shannon",
          "options": {
            "baseURL": "https://api.shannon-ai.com/v1",
            "apiKey": "{env:SHANNON_API_KEY}"
          },
          "models": {
            "Kimi-K3-uncensored-NVFP4": {
              "name": "Kimi-K3-uncensored-NVFP4",
              "limit": { "context": 1022976, "output": 262144 }
            }
          }
        }
      },
      "model": "shannon/Kimi-K3-uncensored-NVFP4"
    }
    Kilo Code custom provider form in VS Code with provider ID shannon, Provider API OpenAI Compatible, the Shannon base URL, a masked key and model shannon-coder-1
    A real setup on Kilo Code 7.8.27 in VS Code: Shannon added as a custom provider.
  3. Run a task

    Pick Shannon in the extension's model menu, or run the CLI.

    Shell
    kilo run "Run the tests and fix what fails."
    Kilo Code CLI on a Shannon model: it runs the tests, fixes two bugs and the tests pass
    A real run on the Kilo Code CLI 7.8.27 with the provider above.

Check that it works

Send: What does this project do?

You should see: Kilo reads your files and answers with the Shannon model selected.

Models that fit Kilo Code

Every id below meets what Kilo Code needs. The first one is the default in the snippets.

Model idContext windowMax outputImage input
Kimi-K3-uncensored-NVFP4 1,022,976 262,144 Yes
Kimi-K3.1-Pro-uncensored-NVFP4 1,022,976 262,144 Yes
MiMo-V2.6-Pro-uncensored-NVFP4 1,022,976 131,072 Yes
Kimi-K3-uncensored-3BIT-REAP 225,280 225,280 Yes
shannon-3 196,608 65,536 Yes

Model settings

Kilo Code asks for these values. They follow the model you picked.

SettingValueWhy
limit.context 1022976 The model's window.
limit.output 262144 The longest answer.

Good to know

  • The provider form also offers OpenAI Responses and Anthropic Messages; Shannon serves both, at https://api.shannon-ai.com/v1 and https://api.shannon-ai.com.
  • In a script, close standard input: kilo run "…" < /dev/null.

Tips

  1. Set Settings → Models → Default Model and Small Model to the Shannon model and press Save; otherwise titles and commit messages go to Kilo's own default model.
  2. After you enter the base URL and key, Fetch models lists every Shannon id; adding the one you use is enough.
  3. Set Settings → Display → Reasoning Blocks to Headline to keep the model's reasoning folded to one line.
  4. On first start Kilo asks how you want to work: Review first asks before each edit, High autonomy edits files without asking.

Troubleshooting

SymptomCauseFix
Kilo waits without answering No model is set, or kilo run is waiting on standard input. Set "model": "shannon/<id>"; in scripts add < /dev/null.
404 Not Found baseURL lacks /v1. Use https://api.shannon-ai.com/v1.
The extension keeps using Kilo Gateway → Auto Free A fresh install selects Kilo's own model, and the Shannon provider is listed only when you search for it. Type shannon in the model picker, or set Default Model under Settings → Models and press Save.
401 Unauthorized The key is missing, mistyped or rotated. Copy the key again from Keys & usage; it starts with sk-.
context_length_exceeded / "prompt is too long" The conversation is longer than the model's window. Start a new chat, let the tool compact it, or pick a model with a larger window.
insufficient_quota Your balance cannot pay for the request. Top up or change plan; the request is not retried by itself.

Questions

Does Kilo Code work with Shannon?

Yes, as a custom OpenAI-compatible provider; the same settings serve VS Code, JetBrains and the CLI.

I used Roo Code. Is Kilo Code the same?

Roo Code was archived in 2026; Kilo Code grew from the same code and keeps its provider settings, so the steps here apply.

Choose your language

All languages are equal. Pick the one you want to browse in.

Europe

Middle East & North Africa

South Asia

Southeast Asia

East Asia

Central Asia & Caucasus

Africa

Oceania

Constructed & Classical