Skip to main content
PAPER LEDGER SEATEXIT FINOPS // OPEN WEBUI + DOCLING + QDRANT AUDIT BASELINE: 2026-10-15 | VULTR ($300 CREDIT) + HOSTINGER KVM 4/8 ($9.99-$19.99/MO)
OpenWebUIRAG
OpenWebUIRAG Transparency: Outbound /go/ links marked rel="sponsored" may earn a partner commission at zero cost to you (Disclosure).
Cost Models // SeatExit FinOps

BAAI/bge-m3 Local CPU Embedding Memory & Latency Budget

Running BGE-M3 on CPU reserves ~1.38 GB RAM and embeds live user queries in 35-65 ms while bulk-indexing ~18-32 chunks/sec on 4-8 vCPUs.

Measured Unit Economics & Telemetry

BAAI/bge-m3 has become the de facto multilingual and technical RAG embedding standard, supporting 8,192-token context and 1024-dim dense vectors. On commodity EPYC VPS CPUs (KVM 4 / KVM 8 / Vultr), query-time latency stays imperceptible (<70 ms), while initial bulk ingestion throughput scales linearly with available vCPUs.

Resource / Billing LineAudited ValueFinOps Impact
Model Resident Memory (FP32/ONNX)1,380 MB RSSLoaded once per embedding worker
Single Query Embed Latency (4 vCPU)35 - 65 msNegligible vs 400-900 ms LLM TTFT
Bulk PDF Chunk Throughput (4 vCPU)18 chunks / sec~64,000 chunks per hour
Bulk PDF Chunk Throughput (8 vCPU)32 chunks / sec~115,000 chunks per hour

Implementation & Configuration Checklist

  1. Warm Model Cache on Startup: Mount ./openwebui_data so HuggingFace weights persist across container upgrades.
  2. Batch Bulk Uploads Off-Peak: Upload 1,000+ PDF backfills after hours so CPU stays idle for interactive chat.
  3. Use External TEI if Scaling Workers: If scaling past 2 Uvicorn workers, isolate BGE-M3 inside one Text Embeddings Inference container.
RAG_EMBEDDING_MODEL=BAAI/bge-m3
RAG_EMBEDDING_BATCH_SIZE=16
OMP_NUM_THREADS=4
EST_BGE_M3_RSS_MB=1380

Team RAG Infrastructure FAQ

When is API embedding better than local BGE-M3?

Choose API embeddings if you run an 8 GB KVM 2 node and want to save 1.38 GB RAM, or need to index 500k chunks in minutes.

How much does 500k chunks cost on API embeddings?

At $0.02/1M tokens (~350M tokens), one-time indexing costs ~$7—still minimal compared to $30/seat SaaS.

Related Cost Models Dossiers

OpenWebUIRAG: Exit $30/seat ChatGPT Team with Open WebUI + Qdrant Deploy KVM 4 ($9.99/mo)