inference.eu

Chat apps · AnythingLLM

Use AnythingLLM with open-source models hosted in the EU

AnythingLLM is a desktop and self-hosted application for chatting with your documents and running agents. Its Generic OpenAI provider connects to any OpenAI-compatible API, so you can keep your documents and vector store local while the model runs on open-weight models at inference.eu, in European data centres.

  1. 01API format: OpenAI
  2. 02EU data centres
  3. 03Covered by one DPA

Set it up in a few minutes

  1. 1

    Create an API key in your inference.eu account.

  2. 2

    In AnythingLLM, open Settings > AI Providers > LLM and choose Generic OpenAI.

  3. 3

    Enter the inference.eu base URL, your API key and a chat model name such as glm-5.3.

  4. 4

    Set the model context window and maximum tokens to match the model, then save.

  5. 5

    Open a workspace, upload a document and ask a question about it to confirm the connection.

.env
LLM_PROVIDER='generic-openai'
GENERIC_OPEN_AI_BASE_PATH='https://api.inference.eu/v1'
GENERIC_OPEN_AI_API_KEY='<your INFERENCE_EU_API_KEY>'
GENERIC_OPEN_AI_MODEL_PREF='glm-5.3'
GENERIC_OPEN_AI_MODEL_TOKEN_LIMIT=131072
DISABLE_TELEMETRY='true'

# Desktop app: Settings > AI Providers > LLM > Generic OpenAI,
# then fill in Base URL, API Key, Chat Model Name and context window.

What AnythingLLM is

AnythingLLM from Mintplex Labs is an open-source application for retrieval-augmented chat and agents. It runs as a desktop app on Windows, macOS and Linux, or as a multi-user Docker deployment. You organise documents into workspaces, and AnythingLLM splits, embeds and stores them so that answers can cite your own files. Agents add web browsing, file handling and custom skills.

By default, embeddings and the vector database run locally. Only the language model needs a provider, and the Generic OpenAI option connects to any OpenAI-compatible API, which is how you use inference.eu.

How the configuration works

In Settings > AI Providers > LLM, select Generic OpenAI and fill in the Base URL (the inference.eu base URL ending in /v1), the API key, the chat model name exactly as inference.eu lists it, the model's context window and the maximum tokens per reply. Each workspace can also override the provider and model.

For Docker deployments, the same settings can be set in the server .env with LLM_PROVIDER='generic-openai', GENERIC_OPEN_AI_BASE_PATH, GENERIC_OPEN_AI_API_KEY, GENERIC_OPEN_AI_MODEL_PREF and GENERIC_OPEN_AI_MODEL_TOKEN_LIMIT. The Generic OpenAI option is very flexible, so check every field carefully.

Which models to choose

Document chat benefits from a model that stays close to the retrieved text and handles long context. glm-5.3 and kimi-k3 are strong choices for answering questions across many documents, comparing contracts or summarising reports.

For quick questions and lighter workspaces, gpt-oss-120b responds fast. AnythingLLM agents call tools for web browsing, saving files and custom skills, so use a model with dependable tool calling, such as kimi-k3 or glm-5.3, in workspaces where you use @agent. Set the context window to the model's real limit so AnythingLLM can include enough retrieved snippets.

Troubleshooting

A 401 error means the API key is wrong or was pasted with extra spaces. A 404 usually means the base URL is missing /v1 or includes /chat/completions. "Model not found" means the chat model name differs from the inference.eu id; type it exactly.

If answers ignore your documents, the context window is set too low or too few snippets are retrieved; raise the token limit and check the workspace's similarity threshold. If agents do not call tools, switch the workspace agent to a model with stronger tool calling. After changing provider settings, start a new chat so old context does not interfere.

Keeping data in the EU

With inference.eu as the LLM provider, the questions and retrieved document snippets AnythingLLM sends to the model are processed in EU data centres and never used for training. We sign a data processing agreement under Article 28 GDPR, publish our subprocessor list and bill in euros.

AnythingLLM keeps documents, embeddings and the vector database on your machine or server by default. It collects anonymous usage telemetry unless you set DISABLE_TELEMETRY to true or turn it off under Privacy. Agent skills such as web search use their own providers, so review those before enabling them.

AnythingLLM: common questions

The questions buyers, developers and legal teams ask us most. Something missing? Ask us directly.

Ask a question

Move your AI workloads to EU infrastructure

Tell us which models you use and roughly how much traffic you have. We reply within one working day with pricing and next steps.

  • Reply within one working day
  • Pricing for your volume
  • DPA ready to sign