What is AnythingLLM?
AnythingLLM (by Mintplex Labs) is an all-in-one AI application — chat over your documents (RAG), agents, and workspaces — that you run on the desktop or self-host. Its Generic OpenAI LLM provider points at any OpenAI-compatible endpoint, including Tokonomix.
- Document chat (RAG), agent skills and multi-workspace organisation.
- A Generic OpenAI LLM provider with a base URL, key and model name.
- Configurable in the UI or by environment variable.
- Open source, desktop or Dockerised.
Why route AnythingLLM through Tokonomix?
- One provider, 130+ models — pick
tokonomix-consensusfor high-stakes answers over your docs. - Per-call spend caps bound RAG + agent usage.
- Region / origin routing keeps document-grounded answers compliant.
- Swap the model by changing one field.
Connect Tokonomix to AnythingLLM
In LLM Preference, choose Generic OpenAI and fill in the base URL, key, chat model and token limit (or set the matching environment variables).
# LLM Preference → Generic OpenAI (or env)
GENERIC_OPEN_AI_BASE_PATH=https://tokonomix.ai/api/v1
GENERIC_OPEN_AI_MODEL_PREF=tokonomix-consensus
GENERIC_OPEN_AI_API_KEY=tok_live_your-key
GENERIC_OPEN_AI_MODEL_TOKEN_LIMIT=200000Verify it works
- Save the Generic OpenAI settings (or restart with the env vars).
- Ask a question in a workspace and confirm an answer comes back.
- Confirm the call and token usage in your Tokonomix dashboard.

