Skip to content
Cline

Editors and IDE extensions

Use Cline with Shannon

Choose the OpenAI Compatible provider in Cline, paste Shannon's base URL and key, and Cline plans, edits and runs commands on Shannon models.

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

About Cline

Cline is an open-source autonomous coding agent for VS Code, JetBrains and the terminal. It plans a task, then reads and edits files, runs commands and uses the browser, asking you to approve each step. Its OpenAI Compatible provider points it at Shannon.

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. Pick the OpenAI Compatible provider

    In VS Code, open the Cline panel. On first start choose Bring my own API key; later, use the gear in the panel. Set API Provider to OpenAI Compatible and fill in Base URL and API Key. Model ID then turns into a list of Shannon models; pick one, or type the id.

    Cline settings
    API Provider: OpenAI Compatible
    Base URL:     https://api.shannon-ai.com/v1
    API Key:      YOUR_API_KEY
    Model ID:     Kimi-K3-uncensored-NVFP4
    Cline settings in VS Code with API Provider set to OpenAI Compatible, the Shannon base URL, a masked API key and Model ID shannon-coder-1
    A real setup on Cline 4.1.26 in VS Code: the OpenAI Compatible provider pointing at Shannon.
  2. Set the model's window

    Open the collapsed Model Configuration section under the provider fields and set Context Window Size and Max Output Tokens, so Cline knows when to compact (its default window is 128000). Supports Images is on by default: leave it on only for models that read images.

    Model Configuration
    Context Window Size: 1022976
    Max Output Tokens:   262144
    Cline Model Configuration for a Shannon model: Supports Images off, Context Window Size 131072, Max Output Tokens 65536
    Model Configuration on Cline 4.1.26, filled in for the Shannon model.
  3. Run a task

    Type the task in the Cline panel and press Enter. In Act mode Cline edits files and runs commands; Plan mode only plans.

    Cline in VS Code on a Shannon model creating pet.txt with the word cat, reading it back and marking the task completed
    A real task on Cline 4.1.26: one file written, checked and completed on the Shannon model.
  4. Or set it up from the terminal

    The Cline CLI stores the same provider with one command, then runs tasks headless (-y approves tool calls).

    Shell
    cline auth -p openai -b https://api.shannon-ai.com/v1 -k YOUR_API_KEY -m Kimi-K3-uncensored-NVFP4
    cline -y "Run the tests and fix what fails."
    Cline CLI on a Shannon model: provider configured, then it runs the tests, edits cat_feeder.py and the tests pass
    A real run on the Cline CLI 3.0.74 with the OpenAI Compatible provider.

Check that it works

Send: List the files in this project and say what each one does.

You should see: Cline lists the files with its tools and explains them.

Models that fit Cline

Every id below meets what Cline 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

Cline asks for these values. They follow the model you picked.

SettingValueWhy
Context Window Size 1022976 The model's window.
Max Output Tokens 262144 The longest answer.

Good to know

  • Cline's agent needs tool calls; every model in the picker has them.
  • In the CLI, the provider id openai is Cline's OpenAI Compatible provider (it prints openai-compatible).
  • Cline sends a request for every step of a task. Every model, shannon-coder-1 included, is billed in tokens from your API credit, so a long task costs what it reads and writes.

Tips

  1. Use Plan mode to agree on the approach before Act mode starts changing files; each mode can have its own model.
  2. Set the context window in the provider settings to the model's number, so Cline compacts at the right time.
  3. Cline 4.1 auto-approves reads and edits by default; narrow it under Auto-approve above the input box if you want to confirm each edit.
  4. Add a .clinerules file to the project with your conventions; Cline reads it at the start of every task.

Troubleshooting

SymptomCauseFix
404 Not Found The Base URL lacks /v1, or has it twice. Use https://api.shannon-ai.com/v1.
Cline compacts too early or too late The context window was left at Cline's default (128000). Set Context Window Size to the model's window. Select the number and type over it: clearing the field puts the default back.
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 Cline work with Shannon?

Yes, through Cline's OpenAI Compatible provider with the base URL https://api.shannon-ai.com/v1.

Can I use the Anthropic provider instead?

Yes: tick Use custom base URL in Cline's Anthropic provider and enter https://api.shannon-ai.com.

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