Skip to main content

System Requirements

OpenRAG requires significant resources to run a local LLM (llama3.1:8b) and the complete infrastructure.

Hardware Configuration

MINIMUM Configuration (CPU-only Mode)

This configuration will allow the system to run but with limited performance. The LLM will take 70-90 seconds or more for every response — in CPU-only mode there is no warm-up shortcut, all queries are slow.

CPU

Minimum: 8 cores (x86_64)The LLM uses 80-100% of all cores during generation

RAM

Minimum: 16 GB
  • LLM (llama3.1:8b): ~5.5 GB
  • Services (PostgreSQL, Redis, Qdrant, MinIO): ~2 GB
  • Frontend Next.js: ~150 MB
  • OS + buffers: ~8 GB

Storage

Minimum: 50 GB SSD
  • Docker images: ~8 GB
  • Ollama model (llama3.1:8b): 4.9 GB
  • Embeddings: ~400 MB
  • Data + documents: 10+ GB

Network

Required: Stable internet connectionTo download LLM model (4.9 GB) and Docker images
With an NVIDIA GPU, LLM performance is 10-50x faster. Responses take 1-3 seconds instead of 5-15s.

CPU

Recommended: 12+ cores

RAM

Recommended: 32 GBMore RAM allows loading larger models and handling more simultaneous users

GPU

Recommended: NVIDIA GPU with 12+ GB VRAM
  • RTX 3060 (12GB): Good for llama3.1:8b
  • RTX 4090 (24GB): Excellent for larger models
  • A100 (40/80GB): Production
Important: Requires CUDA Toolkit and nvidia-docker

Storage

Recommended: 100+ GB NVMe SSDFor better I/O performance on PostgreSQL and Qdrant

RAM Usage Breakdown (Production System)

Logiciels requis

Docker & Docker Compose

Required Software

Docker & Docker Compose (REQUIRED)

IMPORTANT: After adding to docker group, you must log out and log back in for permissions to take effect.

Git (REQUIRED)

These tools make testing and debugging easier but are not required:
Usefulness:
  • curl: Test REST API (HTTP requests)
  • jq: Parse and format JSON responses

Network Ports Used

OpenRAG uses 10 services with the following ports:

Public ports (accessible from browser)

Internal ports (between Docker containers)

Check if a Port is Available

If a port is already in use, you’ll need to either stop the application using it, or modify the docker-compose.yml file to change port mappings.

GPU Support (Optional - 10-50x Performance)

1

Install NVIDIA Container Toolkit

2

Test GPU in Docker

You should see your NVIDIA GPU information.
3

Modify docker-compose.yml for Ollama

With GPU: LLM responds in 1-3 seconds
Without GPU: LLM responds in 70-90 seconds or more (CPU-only, every query)

Apple Silicon (M1/M2/M3)

Ollama supports Metal acceleration on Apple Silicon. Performance is better than CPU-only but typically not as fast as NVIDIA GPUs. Configuration:
  • No special setup required
  • Docker Desktop for Mac handles acceleration
  • Performance: ~2-5 seconds per query

Quick Requirements Verification

Before installing OpenRAG, run these commands to verify your system:

Pre-installation Checklist

Server with 16 GB+ RAM
50 GB+ SSD disk space
Docker 26.0+ installed
Docker Compose 2.26+ installed
User in docker group
Ports 8000, 3000 available
Stable internet connection (5 GB model download)

Configuration per Use Case

Hardware:
  • CPU: 8 cores
  • RAM: 16 GB
  • SSD: 50 GB
Expected Performance:
  • Vector search: 100-200 ms
  • LLM response: 70-90 seconds or more (CPU-only, every query)
Ideal for: Testing, development, personal use

Next Steps

Once requirements are met, consult the Quick Start Guide to install OpenRAG in 5 minutes.

Quick Start

Install and launch OpenRAG with docker compose up