Use KoboldAI Lite with Shannon
Connect KoboldAI Lite to Shannon as an OpenAI Compatible API and write stories, adventures and character chats on Shannon models from the browser.
- Tested Nov 7, 2026
- OpenAI Chat Completions
- About 2 min
About KoboldAI Lite
KoboldAI Lite is a writing and role-play front-end that ships as one HTML file: open lite.koboldai.net or a local copy and it runs in the browser with nothing to install. Writers use its Story, Adventure, Chat and Instruct modes, memory, author's notes and world info. It calls Shannon directly from the browser, so a long story stays on your machine and only the prompt goes to Shannon.
What you need
- A Shannon API key
- Keys & usage
- Base URL
-
https://api.shannon-ai.com/v1Endpoint:/v1/chat/completions - Every snippet below follows your choice.
Set it up
-
Open KoboldAI Lite
Use the hosted page at
https://lite.koboldai.net, or serve the singleindex.htmlyourself. Pick a UI style when it asks; this guide uses Classic UI.Run a local copygit clone https://github.com/LostRuins/lite.koboldai.net cd lite.koboldai.net python3 -m http.server 8000 # open http://localhost:8000 -
Connect Shannon
Click AI in the top bar and choose OpenAI Compatible API. Enter the URL and your key, press Fetch to load Shannon's models, pick one, keep Mode on Chat-Completions and press Ok.
OpenAI Compatible APIURL: https://api.shannon-ai.com/v1 Key: YOUR_API_KEY Model: shannon-3 Mode: Chat-Completions
A real run on KoboldAI Lite v353: the model list came from Shannon through Fetch.
Check that it works
Send: Name three colours a cat can be, in one short sentence.
You should see: "A cat can be black, orange, or white." and a status line naming the model.
Models that fit KoboldAI Lite
Every id below meets what KoboldAI Lite needs. The first one is the default in the snippets.
| Model id | Context window | Max output | Image input |
|---|---|---|---|
shannon-3 | 196,608 | 65,536 | Yes |
shannon-3-pro | 196,608 | 65,536 | Yes |
Kimi-K3-uncensored-3BIT-REAP | 225,280 | 225,280 | Yes |
Kimi-K3-uncensored-NVFP4 | 1,022,976 | 262,144 | Yes |
Model settings
KoboldAI Lite asks for these values. They follow the model you picked.
| Setting | Value | Why |
|---|---|---|
URL | https://api.shannon-ai.com/v1 | With Add Ver. Num ticked Lite adds /v1 if it is missing. |
Mode | Chat-Completions | Text-Completions calls /v1/completions, which Shannon models do not list. |
Good to know
- Lite runs in your browser and sends requests from there; we tested it against Shannon without the CORS proxy.
- The price line above the model menu reads
$NaN: Lite expects another price format. See Shannon's pricing page for real prices. - Shannon models list
/v1/chat/completions,/v1/messagesand/v1/responses; use Chat-Completions (or Responses), not Text-Completions. - Reconnecting resets the custom URL, so save it as a favorite.
Tips
- Leave Use CORS Proxy off: Shannon accepts calls straight from the browser, and the proxy would route your key through a third party.
- Press Save next to Favorites to keep the Shannon URL and key as a preset you can pick again after reconnecting.
- Lite sends only Temperature, Top-P and Repetition Penalty to OpenAI-compatible APIs; tick Non-Standard Fields only if you need its other samplers.
- Thinking from reasoning models is folded under Show Thoughts. Settings → CoT Display switches between Display, Collapse and Hide.
- Keep CoT Submitted on Only Newest Thinking so old reasoning is not sent back with every turn.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| A message box covers the page right after it loads | Lite connects to the AI Horde at start and shows an error when that fails. | Close the box, then click AI and connect Shannon. |
| Fetch loads no models | The URL is wrong or has /chat/completions on the end of it. | Enter https://api.shannon-ai.com/v1 and press Fetch again. |
| "Failed to read the 'headers' property … non ISO-8859-1 code point" and nothing is sent | The key field holds a character that is not plain ASCII, such as a pasted bullet or curly quote. | Clear the field and paste the key again as plain text. |
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 KoboldAI Lite work with Shannon?
Yes, as an OpenAI Compatible API at https://api.shannon-ai.com/v1. Lite calls Shannon from your browser, and Shannon allows that.
Can I use the hosted lite.koboldai.net page?
Yes. It is the same single file as a local copy; requests go from your browser to Shannon.