Skip to content

VersusGPU

ONLYOFFICE AI vs LibreOffice Localwriter: Which Free Office Suite Is Better for Local AI?

ONLYOFFICE Desktop Editors has an official AI Tools add-on that connects to Ollama and LM Studio, while LibreOffice relies on the community localwriter extension. We compare features, local model set-up, hardware needs and privacy.

By , Senior Hardware Editor

4 min read

ONLYOFFICE AI vs LibreOffice Localwriter: Which Free Office Suite Is Better for Local AI?

If you want AI help with documents but don't want your files going to a cloud service, the two main free desktop office suites take very different approaches. ONLYOFFICE Desktop Editors has an official AI Tools add-on that can connect to Ollama, LM Studio and other local servers. LibreOffice has no official AI features, but the community-made localwriter extension adds local AI editing to Writer.

It is based on ONLYOFFICE's help centre and API documentation and on localwriter's GitHub README and releases page, all read on 2 December 2026.

At a glance

ONLYOFFICE Desktop Editors + AI Tools

LibreOffice Writer + localwriter

Who makes the AI feature

ONLYOFFICE (official add-on)

Independent developer (community extension)

Licence

Community version of Desktop Editors under AGPL v3

localwriter under MPL 2.0

How you get it

Prompted to install the add-on on first use (Community version); bundled in Enterprise

Download a .oxt file and add it via Tools > Extensions

Local backends named in the docs

Ollama, LM Studio, GPT4All, OpenAI Compatible (plus LocalAI guide)

Ollama, text-generation-webui

Cloud providers

Yes (OpenAI, Anthropic, Google AI and more)

Only through OpenAI-compatible endpoints

AI features

AI Chat sidebar, AI Tools, per-task model assignment, MCP servers, optional web search

Extend Selection (Ctrl + Q) and Edit Selection (Ctrl + E) in Writer

Apps covered

Help centre has guides for Document, Spreadsheet and Presentation editors and PDF forms

Writer

Development

Official add-on, documented in ONLYOFFICE's help centre

Community project; latest release v0.0.8 (31 August 2025)

Features

ONLYOFFICE offers much more. Its help centre describes two areas, AI Chat (a contextual assistant) and AI Tools (ready-made tools for common file operations). Together they generate and rewrite text, apply formatting from a plain-language request, and analyse and visualise data in spreadsheets. The Model Assignment section lets you pick a different model for each task: AI Chat, Code, Summarization, Translation, Text Analysis, Image generation, OCR, Vision and Form analysis. So you could use a small, fast local model for translation and a larger one for chat. You can also add MCP servers, and connect web search through Exa, which needs an API key and sends queries online.

localwriter does two things well. Edit Selection replaces the selected text according to your instruction, such as changing the tone, translating or rewording. Extend Selection continues from the selected text. There is no chat panel, no spreadsheet or slide support and no per-task model choice. For quick rewrites inside a Writer document, that may be all you need.

Setting up local models

Both connect to Ollama on its default address, http://localhost:11434, but the set-up differs.

ONLYOFFICE needs Ollama to accept requests from the editor. Its API documentation says to set the OLLAMA_ORIGINS environment variable to http://*,https://*,onlyoffice://* before Ollama starts. On Windows, you can set it in PowerShell for the current session with $env:OLLAMA_ORIGINS, or permanently with setx, then restart Ollama. The onlyoffice://* entry is the one that matters for the desktop app, because ONLYOFFICE says its AI Tools run from the onlyoffice://plugin origin. ONLYOFFICE also warns that wildcard origins are not recommended on public servers. Our guide to setting Ollama environment variables on Windows walks through the Windows side. After that, add Ollama as a provider under AI Models and choose an installed model from the list.

localwriter's README doesn't mention OLLAMA_ORIGINS. It just asks you to make sure Ollama's API is running. You set the endpoint and type the model name by hand in localwriter's settings, which the README says is required for Ollama. Our step-by-step localwriter guide covers every field.

Hardware

Neither app runs the model itself. Ollama, LM Studio or another server does the work, so your hardware requirements depend on the model you choose. ONLYOFFICE's Ollama guide gives a rough guide of 8GB of RAM for 7B models, 16GB for 13B and 64GB for 70B. It recommends a dedicated GPU, warning that CPU-only use is "significantly slower". For short rewrites and summaries, a small model on a mid-range graphics card is a reasonable starting point. See how much RAM you need for local AI for more detail.

Privacy

With a local model, both keep document text on your PC. ONLYOFFICE also lets you add cloud providers, MCP servers and web search. That is useful, but it means you need to check which model each task is assigned to if privacy matters. localwriter's settings have a single endpoint field, so it uses whichever server you enter.

Which should you choose?

  • Choose ONLYOFFICE Desktop Editors with AI Tools if you want AI across documents, spreadsheets and presentations, a chat sidebar, and a different local model for each task.

  • Choose LibreOffice with localwriter if you already use LibreOffice and want quick private rewriting in Writer, and you're happy with a small community project that last released in August 2025.

For more options, including email, see our best office and email apps with local AI.

The bottom line

ONLYOFFICE's official AI Tools add-on is the more complete choice for local AI. It connects to Ollama or LM Studio, assigns models per task and works in documents, spreadsheets and presentations, though Ollama needs OLLAMA_ORIGINS set to allow onlyoffice://. LibreOffice users get a simpler option in localwriter: two fast commands, Edit and Extend Selection, for private rewriting in Writer.

Sources

  1. 01ONLYOFFICE Help Center, Setting up AI tools (Desktop Editors)
  2. 02ONLYOFFICE Help Center, Ollama (local AI deployment)
  3. 03ONLYOFFICE API documentation, Configuring Ollama with CORS
  4. 04localwriter README (GitHub, balisujohn/localwriter)
  5. 05localwriter releases (GitHub)

About the author

Callum Reid

Senior Hardware Editor

Callum leads GPU, CPU and platform architecture coverage at Forge PC. Before joining the editorial desk, he spent nine years specifying, assembling and stress-testing custom gaming and workstation systems in the UK, with a focus on PCIe bandwidth, VRM thermal design, DDR5 memory tuning and 1440p/4K frame-time consistency.

More from Callum Reid

Read next

Best Office and Email Apps With Local AI in 2026

Best Picks

Best Office and Email Apps With Local AI in 2026

Want AI help with documents and email without sending them to the cloud? We pick the best free office and email apps that work with local models via Ollama or LM Studio: ONLYOFFICE, Thunderbird with ThunderAI, LibreOffice with localwriter and PowerToys.

Hannah Vance5 min