Skip to content

VersusGPU

calibre AI With Ollama vs LM Studio: Which Local Backend Should You Use?

calibre has built-in Ollama and LM Studio providers for running its AI features on a local model. We compare set-up, model selection, settings, thinking-mode support, remote use and what each can and can't do.

By , Senior Hardware Editor

4 min read

calibre AI With Ollama vs LM Studio: Which Local Backend Should You Use?

calibre's AI features, from the Ask AI panel in its e-book viewer to "Discuss selected book(s) with AI" and the "Similar books" reading suggestions, can run on a model on your own PC. calibre has two dedicated providers for that, Ollama and LM Studio, plus a generic OpenAI compatible provider (added in calibre 9.8) for other local servers. This comparison looks at how calibre's Ollama and LM Studio providers differ, so you can pick the one that suits you.

This article is based on calibre's changelog and the source code of its three local providers, plus Ollama's and LM Studio's documentation, read on 3 December 2026. For a general comparison of the two tools outside calibre, see Ollama vs LM Studio.

At a glance

Ollama provider

LM Studio provider

In calibre since

8.11 (September 2025), with the Ask AI tab

8.16 (December 2025)

Credited author in calibre's code

Kovid Goyal

Al00X

Default address

http://localhost:11434

http://localhost:1234

How calibre talks to it

Ollama's own chat API (/api/chat)

OpenAI-style endpoints (/v1/models, /v1/chat/completions)

Choosing a model

Type the model name; calibre checks it exists when you save

Refresh models button and a list of the models the server reports

Temperature setting

Not in calibre's settings

Yes, 0 to 2 (default 0.7)

Extra HTTP headers

Yes (added in 8.12)

No

Thinking models

Turns on Ollama's thinking mode when the model supports it

No equivalent option

Timeout

15 to 600 seconds (default 120)

15 to 600 seconds (default 120)

What it can do in calibre

Text tasks only

Text tasks only

Setting up

Ollama runs in the background and you manage models with commands such as ollama pull. calibre's Ollama settings ask for the URL (blank means the default), a timeout, the model name and optional HTTP headers. When you save, calibre asks Ollama for its model list and tells you if the name you typed isn't there. Our step-by-step guide to calibre with Ollama covers the full set-up.

LM Studio is a desktop app with a graphical model browser. calibre's settings note that you need to start LM Studio's server ("usually on port 1234") and make sure a model is loaded. LM Studio's documentation says you start the server from the Developer tab with the "Start server" switch, or with lms server start from a terminal; see how to use the LM Studio server. In calibre you then click Refresh models, pick a model from the list and optionally set the temperature.

Features in calibre

Both providers are registered in calibre's source code as text-to-text only, so both can power the Ask AI panel, book discussions, reading suggestions and the "Create your own adventure" game (whose code asks for a text-to-text provider). Neither can generate images, so calibre 9.14's AI Generate cover button needs a different, image-capable provider; in calibre's code those are cloud services such as Google, OpenAI, OpenRouter, Grok and Venice.

The Ollama provider uses Ollama's native API, which lets calibre switch on Ollama's thinking mode for models that report that capability and show their reasoning. The LM Studio provider uses the OpenAI-style API that LM Studio exposes, and adds a temperature control: calibre's tooltip describes 0 as deterministic and higher values as more creative.

Running the model on another PC

Both can run on a second machine with a bigger graphics card. Ollama binds to 127.0.0.1 on port 11434 by default, and its FAQ explains changing that with the OLLAMA_HOST variable (see how to set Ollama environment variables on Windows). LM Studio's docs say its server can be served on localhost or on the network. Either way, put the other PC's address in calibre's URL field.

Only Ollama's provider can send custom HTTP headers, which is useful if the server sits behind a proxy that expects them. calibre's LM Studio provider has no API key or header fields. LM Studio doesn't require authentication by default, but if you turn on its API token setting (Developer page > Server Settings, LM Studio 0.4.0 or newer), calibre's OpenAI compatible provider, which has an optional API key field ("Sent as Authorization: Bearer"), is the one to try.

Hardware

Neither calibre nor its providers set a GPU requirement; it depends on the model you load. An 8GB card such as the ASUS RTX 5060 8GB Dual OC suits smaller models, and more video memory lets you run larger ones. See how much VRAM you need.

Which should you choose?

Choose Ollama if you already use it, want calibre's thinking-mode support, or need to send custom headers to a remote server. In calibre's code it's credited to Kovid Goyal, the name on calibre's website. Choose LM Studio if you prefer a graphical app for finding and loading models, or want calibre's temperature control and a model list to pick from. For anything else that speaks the OpenAI chat completions API, use calibre's OpenAI compatible provider. Whichever you pick, our round-up of the best calibre local AI features shows what you can do with it.

The bottom line

calibre's Ollama and LM Studio providers do the same text jobs: Ask AI, book discussions, reading suggestions and the adventure game, but neither can make AI covers. Ollama's provider adds thinking-mode support and custom headers; LM Studio's adds a model picker and temperature control. If your server needs an API key, try the OpenAI compatible provider. Forge PC hasn't compared their speed.

Sources

  1. 01calibre Changelog (calibre, GitHub)
  2. 02calibre Ollama provider plugin source (calibre, GitHub)
  3. 03calibre Ollama provider settings source (calibre, GitHub)
  4. 04calibre Ollama provider backend source (calibre, GitHub)
  5. 05calibre LM Studio provider plugin source (calibre, GitHub)
  6. 06calibre LM Studio provider settings source (calibre, GitHub)
  7. 07calibre LM Studio provider backend source (calibre, GitHub)
  8. 08calibre OpenAI compatible provider settings source (calibre, GitHub)
  9. 09calibre Create your own adventure source (calibre, GitHub)
  10. 10calibre AI capabilities source (calibre, GitHub)
  11. 11calibre Google AI provider plugin source (calibre, GitHub)
  12. 12calibre OpenAI provider plugin source (calibre, GitHub)
  13. 13calibre OpenRouter provider plugin source (calibre, GitHub)
  14. 14calibre Grok provider plugin source (calibre, GitHub)
  15. 15calibre Venice provider plugin source (calibre, GitHub)
  16. 16Authentication: Using API Tokens in LM Studio (LM Studio docs)
  17. 17LM Studio as a Local LLM API Server (LM Studio docs)
  18. 18OpenAI Compatibility Endpoints (LM Studio docs)
  19. 19Ollama FAQ (Ollama, 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 Free Android Screen Mirroring Apps for PC (2026)

Best Picks

Best Free Android Screen Mirroring Apps for PC (2026)

The best free apps to mirror and control your Android phone on a PC in 2026: scrcpy for almost any phone, Phone Link on supported models, Escrcpy and QtScrcpy for a graphical interface, and Vysor for browser and iPhone support.

Hannah Vance6 min

scrcpy vs Phone Link: Best Way to Use Android Apps on a PC?

Versus

scrcpy vs Phone Link: Best Way to Use Android Apps on a PC?

scrcpy and Microsoft Phone Link both put your Android phone's apps on a Windows PC for free. We compare phone support, setup, how each shows your apps, extra features and privacy to help you pick the right one.

Callum Reid5 min

How to Mirror and Control Your Android Phone on a PC with scrcpy

How-To

How to Mirror and Control Your Android Phone on a PC with scrcpy

scrcpy is a free, open-source app that mirrors your Android phone's screen and sound on a Windows PC and lets you control it with your mouse and keyboard. We show how to enable USB debugging, install it, connect over USB or Wi-Fi, use the best shortcuts and options, and fix common errors.

Marcus Thorne7 min