Skip to content

Read PDFs and EPUBs with local AI: Yomitomo + Ollama setup

Yomitomo can send reading questions to an Ollama model running on the same computer. Configure an OpenAI-compatible connection at http://localhost:11434/v1, select a downloaded local model, and assign it to reading tasks. Your local model handles those AI requests; remote providers send the required context to their configured servers.

Maintained by the Yomitomo project, based on the v0.16.2 configuration and Ollama’s OpenAI compatibility documentation. This is a setup guide, not a hardware performance benchmark.

Install Ollama and download a model while connected to the internet. For example:

终端窗口
ollama pull qwen2.5:7b
ollama run qwen2.5:7b

This tag is an example, not a universal hardware recommendation. Model size, quantization, context length and available memory affect whether a model fits and how quickly it responds. Use a model supported by your hardware and check it in Ollama first.

Choose a locally downloaded model rather than a cloud model if local inference is your objective. A localhost endpoint alone does not prove that the selected model runs locally.

In Settings > Models & routing, add a provider using the OpenAI Chat Completions protocol and configure:

Field Value
Name Ollama local
Base URL http://localhost:11434/v1
API Key ollama as a placeholder for the local server
Model The exact installed tag, such as qwen2.5:7b

Fetch the model list or add the model manually, test the connection, then save. Choose this provider and model as the default. Check any task overrides so reading and review requests use the intended local model. Start with Fast response; tool-based workflows also depend on the model’s capabilities.

  1. Import a local text-based PDF or EPUB from the library’s add menu.
  2. Open it and select a short paragraph.
  3. Create a highlight with A, open its discussion, and mention a reading assistant.
  4. Ask a question with a verifiable answer, such as which sentence supports the author’s conclusion.
  5. Compare the reply with the source before saving your own note.
Yomitomo Add PDF document dialog with a file selection and drop area
Import a local PDF before testing passage-level AI discussion.

Scanned PDFs may need OCR in another tool before their text can be selected. There is no need to test the setup with sensitive material.

Previously imported documents, manual notes and a compatible downloaded local model can be used without a cloud model API. Download the application and model weights first, then verify your intended reading task with the network disconnected.

Web imports, WeRead sync, update checks and model downloads require network access. Yomitomo also has optional anonymous usage metrics in settings, and it periodically fetches a public model pricing catalog from models.dev. Connecting Ollama does not disable these features or make the computer physically isolated. See settings and data for model routing and telemetry controls.

Symptom Check
Connection refused Ollama must be running on the same computer at the configured port.
Model not found Match the full installed model tag, including its size suffix.
Slow replies or out-of-memory errors Try a smaller model and shorter context; close other memory-intensive applications.
Basic replies work but review or tools fail Model capabilities vary. Try Fast response and a model compatible with the requested task.
A request still goes to a remote provider Check the default model and every task override.

Local inference can consume substantial memory, power and GPU time. We do not promise a fixed tokens-per-second rate or negligible battery use.

Download Yomitomo and try reading with a local model. For everyday annotation controls, see the reader guide.