Skip to content
STIRUP

TECHNOLOGY INTELLIGENCE

Understand what's next.

OpenRouter Adopts ClickHouse Cloud for Scalable Data Processing

OpenRouter adopted ClickHouse Cloud as its primary data store in November 2024, enabling the processing of 740 million LLM requests daily and supporting significant growth in monthly requests and token throughput.

Share
AI-generated conceptual illustration accompanying: OpenRouter Adopts ClickHouse Cloud for Scalable Data Processing
AI-generated editorial illustration of the article topic; not a photograph, product screenshot or measured result.

Adoption and Growth with ClickHouse Cloud

OpenRouter has adopted ClickHouse Cloud as its primary data store since November 2024, supporting customer analytics, public model rankings, internal AI agents, and routing across 500+ models. According to ClickHouse, monthly requests grew from around 600 million to 19.7 billion between November 2024 and August 2026, a 33x increase. ClickHouse notes that OpenRouter now serves over 110 trillion tokens a week, with the raw generation log in ClickHouse holding roughly 134 billion rows, as stated in ClickHouse. These figures highlight the scalability and performance of ClickHouse Cloud in handling the massive data volume generated by OpenRouter's operations. The growth trajectory underscores the platform's ability to manage increasing workloads efficiently, supporting OpenRouter's expansion and the demands of its diverse user base.

Operational Capabilities and Data Processing

OpenRouter processes over 740 million LLM requests daily by acting as an intermediary between developers and inference providers, according to ClickHouse. This infrastructure enables detailed observability, as Joe Ciesielski, Senior Data Engineer at OpenRouter, explains: a gateway centralizes all data, allowing teams to manage contracts with multiple providers like OpenAI and Bedrock in one place. An asynchronous classifier, part of the new GCP Pub/Sub connector for ClickPipes, tags each prompt with a task type, enabling OpenRouter to track how users distribute their requests across model families, as noted in ClickHouse. The system then writes the outcomes of routing decisions back to ClickHouse, creating a continuous feedback loop, as described in ClickHouse. Support agents leverage ClickHouse to trace failing requests, attribute errors, and respond in Slack with evidence, all via a bounded API, as outlined in ClickHouse.

Routing and Continuous Evaluation

OpenRouter leverages ClickHouse Cloud to route and continuously evaluate over 740 million LLM requests daily. At the core of this process is ClickHouse, which centralizes data from every request, enabling OpenRouter to refine its routing decisions in real time. As Joe explains, the system employs a four-step "dealer’s choice mechanism" to optimize performance. First, a lightweight classifier assigns each prompt to one of approximately 30 fine-grained task types. Next, models are ranked based on real usage data for that specific task, with ClickHouse providing the necessary insights. The outcome of each routing decision is then written back into ClickHouse, creating a feedback loop that informs future choices. By February 2025, OpenRouter could sort providers by price or speed and avoid those that were down. By May 2025, the system favored providers with a history of successful requests, demonstrating the evolving sophistication of its evaluation process.

Sources and reporting notes

Based on published source material. No independent hands-on testing is claimed.

Read more