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.