Skip to content
AnythingLLM

Chat apps

Use AnythingLLM with Shannon

Pick Generic OpenAI as AnythingLLM's LLM provider, point it at Shannon, and chat with your workspaces and documents on a Shannon model.

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

About AnythingLLM

AnythingLLM is an open-source app for chatting with documents: workspaces hold files, notes and threads, a built-in embedder and vector database index them locally, and agents can browse or run tools. It runs as a desktop app or a Docker server for teams. With Shannon as its Generic OpenAI provider, every workspace answers on the Shannon model you pick.

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. Run AnythingLLM

    The official Docker command keeps workspaces and settings in a folder on the host. The desktop app works the same way from its first screen.

    Docker
    export STORAGE_LOCATION=$HOME/anythingllm && \
    mkdir -p $STORAGE_LOCATION && \
    touch "$STORAGE_LOCATION/.env" && \
    docker run -d -p 3001:3001 \
      --cap-add SYS_ADMIN \
      -v ${STORAGE_LOCATION}:/app/server/storage \
      -v ${STORAGE_LOCATION}/.env:/app/server/.env \
      -e STORAGE_DIR="/app/server/storage" \
      mintplexlabs/anythingllm
  2. Choose Generic OpenAI

    Open http://localhost:3001 and press Get Started (later: Settings → AI Providers → LLM). Search for Generic OpenAI and fill in the fields. Enter the base URL with /v1 and nothing after it.

    Generic OpenAI
    Base URL:             https://api.shannon-ai.com/v1
    API Key:              YOUR_API_KEY
    Selected Model:       shannon-3
    Model context window: 196608
    Max Tokens:           65536
    AnythingLLM LLM Preference with Generic OpenAI set to the Shannon API address and the shannon-coder-1 model
    A real run on AnythingLLM 1.19.0: the Generic OpenAI provider filled in for Shannon.
  3. Or set it in the .env file

    AnythingLLM saves the same settings to the .env in its storage folder; on a server you can write them there and restart the container.

    .env
    LLM_PROVIDER='generic-openai'
    GENERIC_OPEN_AI_BASE_PATH='https://api.shannon-ai.com/v1'
    GENERIC_OPEN_AI_API_KEY='YOUR_API_KEY'
    GENERIC_OPEN_AI_MODEL_PREF='shannon-3'
    GENERIC_OPEN_AI_MODEL_TOKEN_LIMIT=196608
    GENERIC_OPEN_AI_MAX_TOKENS=65536
  4. Create a workspace and chat

    Press + in the sidebar, name the workspace and send a message. The model's reasoning folds into a Thought for … line above the answer.

    AnythingLLM workspace chat on the Shannon model shannon-coder-1 answering that cats can be black, orange or white
    A real chat on AnythingLLM 1.19.0 in a workspace running on shannon-coder-1.

Check that it works

Send: Name three colours a cat can be, in one short sentence.

You should see: "Cats can be black, orange, or white." under a collapsed Thought for … line.

Models that fit AnythingLLM

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

Model idContext windowMax outputImage 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

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

SettingValueWhy
Model context window 196608 AnythingLLM trims history and document context to fit this.
Max Tokens 65536 The default of 1024 cuts long answers short.

Good to know

  • AnythingLLM 1.19 sends workspace chats through its agent runner with tools available, so each message carries tool definitions and uses more input tokens than a bare chat request.
  • Agent features (@agent, web browsing, file tools) need a model with tool calls; every Shannon model in the picker has them.
  • With Just me and no password at the user-setup step, anyone who can reach port 3001 chats on your key; set a password or choose My team on a shared server.

Tips

  1. Fill in Base URL and API Key first: Selected Model then turns into a dropdown filled from GET /v1/models, so you pick the id instead of typing it.
  2. Raise Max Tokens from its default of 1024, or long answers stop mid-sentence.
  3. Documents work without an embeddings endpoint: the built-in embedder and LanceDB index uploads on your own server.
  4. Set DISABLE_TELEMETRY=true in the container's .env to stop AnythingLLM's anonymous usage events.

Troubleshooting

SymptomCauseFix
Selected Model stays an empty text box The model list could not be read, usually because the Base URL lacks /v1 or the key is wrong. Enter https://api.shannon-ai.com/v1 and your key, then click outside the key field.
Answers stop mid-sentence Max Tokens is still 1024. Raise it in Settings → AI Providers → LLM.
Settings in .env are ignored AnythingLLM loads .env at start. Restart the container after editing it.
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 AnythingLLM work with Shannon?

Yes, through the Generic OpenAI LLM provider with https://api.shannon-ai.com/v1 as the base URL.

Do I need an embeddings model for documents?

No. AnythingLLM's built-in embedder indexes documents locally; Shannon answers the chat.

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