Documentation

Everything you need to deploy and operate Keplor.

Architecture

CratePurpose
keplor-coreEvent, Provider, Usage, Cost types — zero-dep, no I/O
keplor-serverHTTP server, ingestion pipeline, auth, rate limit, archive merge
keplor-storeKeplorDB-backed event store, batch writer, GC, rollups, S3/R2 archival
keplor-pricingLiteLLM pricing catalog with daily refresh
keplor-cliThe keplor binary (run, query, stats, gc, archive)

Storage is a KeplorDB columnar log with per-tier engines under {data_dir}/{tier}/. Each tier has its own append-only segments + sharded WAL; cross-tier reads fan out and merge by timestamp.