Documentation
Everything you need to deploy and operate Keplor.
Quickstart
Install and send your first event.
Integration Guide
Schema, auth, examples for any integration.
API Reference
Endpoints, schemas, and errors.
Configuration
TOML config and env vars.
CLI
Server, query, stats, and gc.
Architecture
| Crate | Purpose |
|---|---|
keplor-core | Event, Provider, Usage, Cost types — zero-dep, no I/O |
keplor-server | HTTP server, ingestion pipeline, auth, rate limit, archive merge |
keplor-store | KeplorDB-backed event store, batch writer, GC, rollups, S3/R2 archival |
keplor-pricing | LiteLLM pricing catalog with daily refresh |
keplor-cli | The 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.