Clickhouse
OpenRouter, a gateway between developers and LLM inference providers, uses ClickHouse Cloud as its single analytics store to handle over 740 million requests daily across 500+ models. Since adopting ClickHouse in November 2024, monthly requests grew 33x to 19.7 billion, with 110+ trillion tokens served per week. The platform writes request telemetry once and uses materialized views to produce rollups for customer dashboards, public model rankings, and endpoint health, powering observability, AI agents, Slack bots, and routing decisions. Internal AI agents, accessible via Slack, query the same ClickHouse data to answer support questions and trace failures without manual digging. The newest routing component, the Jev Router from TypeSafe AI, classifies prompts into task types, ranks models by real usage from ClickHouse, and feeds outcomes back into the store for continuous improvement.