Nextcloud Assistant adds AI features to a self-hosted Nextcloud server: chat, summaries, headlines, proofreading, translation, transcription and image generation. It doesn't run any models itself. It needs a backend app, and one of the simplest local backends is Ollama running on a PC with a graphics card, connected through Nextcloud's OpenAI and LocalAI integration app. That way your files, notes and chats are processed on your own hardware rather than by a cloud service.
This guide is based on Nextcloud's admin manual, the OpenAI and LocalAI integration README and its supported-providers list, the Nextcloud App Store, and Ollama's documentation, read on 3 December 2026.
What you need
A working Nextcloud server you have admin rights on. The latest stable releases for Nextcloud 35 on the App Store are Assistant 4.2.0 and OpenAI and LocalAI integration 5.0.0.
Ollama on the same machine or another PC on your network, ideally with a graphics card. Ollama's own guide to checking it's using the GPU is worth a look before you start.
At least one model pulled in Ollama, for example ollama pull llama3.2. See the best local LLMs for 12GB of VRAM for ideas.
Nextcloud's alternative is its own Local large language model app (llm2), which runs models inside a container managed by Nextcloud. We compare the two in Nextcloud Local LLM vs Ollama.
Step 1: Install Nextcloud Assistant
Open Apps in Nextcloud as an admin, search for Nextcloud Assistant and enable it. On the command line, Nextcloud's manual gives sudo -E -u www-data php occ app:enable assistant. Assistant is the interface; on its own it can't do anything until a backend app provides the AI tasks.
Step 2: Make Ollama reachable from Nextcloud
Ollama binds to 127.0.0.1 on port 11434 by default, so only programs on the same machine can reach it. If Nextcloud runs on the same computer outside a container, http://localhost:11434/v1 will work. If Nextcloud runs on another machine, or in a Docker container, localhost points at that machine or container instead, so you need to change Ollama's bind address with the OLLAMA_HOST environment variable (for example 0.0.0.0:11434) and use the Ollama PC's network address in Nextcloud. Ollama's FAQ explains how to set this on Windows, macOS and Linux; on Windows, see how to set Ollama environment variables. Only expose Ollama on a network you trust: its OpenAI-compatible API ignores the API key for local use, so anything that can reach the port can use it.
Step 3: Install the OpenAI and LocalAI integration
Back in Apps, install OpenAI and LocalAI integration (integration_openai). Despite the name, Nextcloud's manual says it can connect to a self-hosted LocalAI or Ollama instance, or any service with an API similar enough to OpenAI's. Version 5 lets you connect any number of OpenAI-compatible services and choose which of their models to expose.
Step 4: Add Ollama as a service
Go to Administration settings > Artificial intelligence. Add a service and set its Service URL to Ollama's OpenAI-compatible base URL. The app's supported-providers list gives http://localhost:11434/v1 as Ollama's default; replace localhost with your Ollama PC's address if needed. Ollama doesn't check the API key for local use (its OpenAI compatibility docs describe the key as "required but ignored"), so any placeholder value will do if the form insists on one. The app then reads the available models from the service's /models endpoint, and you pick the ones you want.
Each selected text model is registered as a set of task providers: free prompt, chat, chat with tools, summarise, headline, topics, context write, reformulate, improve, change tone, proofread, reformat paragraphs and translate, among others. In the same Artificial intelligence settings you can choose which backend handles each task type, and turn off task types you don't want.
Nextcloud is clear that it tests these tasks mainly with OpenAI, and that summarise, headline, context write and reformulate might work with other services "without any guarantee". Try each feature with your chosen model before relying on it.
Step 5: Speed up task pickup
Most AI tasks run through Nextcloud's background job system, which by default only runs every five minutes, so the first request can feel very slow. Nextcloud recommends running dedicated workers, preferably four or more, so tasks are picked up as soon as they're scheduled. On a standard install its manual gives this loop, run in a screen or tmux session:
set -e; while true; do sudo -E -u www-data php occ taskprocessing:worker -v -t 60; done
Nextcloud AIO users run the same command through docker exec on the host, and the manual also covers a systemd service. On Nextcloud versions before 32.0.7 the command is background-job:worker instead. Because several users or workers may send requests at once, see how to handle parallel requests in Ollama, and consider keeping the model loaded so it isn't reloaded between tasks.
Step 6: Use the Assistant
Nextcloud's manual says it offers a chat with the chosen language model and tools such as summarising text, generating headlines and asking arbitrary questions. The Assistant can also act on your own files if you add Context Chat, and on audio or translation if you add the matching backends, which we cover in the best Nextcloud local AI apps.
Hardware
The GPU requirement depends on the model you pull in Ollama, not on Nextcloud. For comparison, Nextcloud's own llm2 app asks for an NVIDIA GPU with at least 8GB of VRAM and 12GB of system RAM for its shipped models (Qwen 3.5 9B, Gemma 4 E4B and OLMo 3 7B Instruct), which is a reasonable guide for models of that size. An 8GB card such as the ASUS RTX 5060 8GB Dual OC suits smaller models, while a 12GB card like the ASUS RTX 3060 12GB Dual Gaming OC V2 leaves more room for larger models or longer context. See how much VRAM you need.