Skip to content

Ollama Local Setup

Run AI extraction locally with Ollama for complete data privacy.

  • Data sovereignty requirements
  • Air-gapped environments
  • No recurring API costs
  • Privacy-sensitive documents
  • Linux/macOS/Windows server
  • Minimum 16GB RAM (32GB recommended)
  • GPU recommended (NVIDIA with 8GB+ VRAM)
  • TaprNext admin access
curl -fsSL https://ollama.com/install.sh | sh

Download installer from ollama.com/download

ollama --version
# ollama version 0.1.x

For invoice extraction, you need a vision-capable model:

# Recommended: LLaVA (good balance)
ollama pull llava:13b
# Alternative: Smaller/faster
ollama pull llava:7b
# Alternative: Llama 3.2 Vision
ollama pull llama3.2-vision

Download takes 5-15 minutes depending on connection.

# Start server (runs on port 11434 by default)
ollama serve
# Or run as system service
sudo systemctl enable ollama
sudo systemctl start ollama

Verify server is running:

curl http://localhost:11434/api/tags
# Should list available models
  1. Go to Tapr Settings
  2. Select AI Provider tab
  3. Choose Ollama (Local)
  4. Enter server URL: http://localhost:11434 (or your server IP)
  5. Select model: llava:13b
  6. Click Save
Invoice VolumeRecommended Hardware
< 50/day16GB RAM, CPU only (slow but works)
50-200/day32GB RAM, NVIDIA RTX 3060 (12GB)
200-500/day64GB RAM, NVIDIA RTX 4080 (16GB)
> 500/dayMultiple GPUs or cloud GPUs
ModelRAMSpeedAccuracy
llava:7b8GB~5s/page80-85%
llava:13b16GB~10s/page85-90%
llama3.2-vision12GB~8s/page85-88%
  • Ensure Ollama server is running
  • Check firewall allows port 11434
  • Verify URL in TaprNext settings
  • Run ollama list to see available models
  • Pull the model: ollama pull llava:13b
  • Use smaller model (llava:7b)
  • Close other applications
  • Add more RAM or use GPU offloading
  • Consider GPU acceleration
  • Use smaller model for speed
  • Process invoices in off-hours