---
title: "How OpenRouter observes, understands, and acts on 740 million LLM requests a day with ClickHouse Cloud"
description: "OpenRouter uses ClickHouse Cloud as a single store for request telemetry from its LLM gateway, writing each request once and using materialized views to produce rollups for customer activity charts, provider health dashboards, public model rankings and routing decisions."
url: "https://swe.quest/articles/how-openrouter-observes-understands-and-acts-on-740-million-llm-requests-a-day-87d84f86e2588900"
canonical: "https://clickhouse.com/blog/openrouter-llm-routing-observability-clickhouse-cloud"
source: "ClickHouse"
published: "2026-11-02"
difficulty: "easy"
kind: "Case study"
reading_minutes: 7
tags: ["analytics","data-pipelines","llms","observability","ai-agents"]
---

# How OpenRouter observes, understands, and acts on 740 million LLM requests a day with ClickHouse Cloud

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2026-11-02, 7 min read, Case study. Original: [https://clickhouse.com/blog/openrouter-llm-routing-observability-clickhouse-cloud](https://clickhouse.com/blog/openrouter-llm-routing-observability-clickhouse-cloud)

## Summary

OpenRouter uses ClickHouse Cloud as a single store for request telemetry from its LLM gateway, writing each request once and using materialized views to produce rollups for customer activity charts, provider health dashboards, public model rankings and routing decisions. Monthly requests grew 33x to 19.7 billion between November 2024 and August 2026, and the raw generation log holds about 134 billion rows. Ingestion combines batched and async inserts, ClickPipes from Postgres and GCP Pub/Sub, and Fivetran. A dbt medallion warehouse of roughly 270 fully documented models sits on top and serves internal Slack agents that answer questions such as support triage. Routing outcomes are written back to ClickHouse as a continuous feedback loop, which now also drives a router that picks the model itself by classifying the prompt's task type and ranking models by real usage for that task.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Data pipelines](https://swe.quest/tags/data-pipelines.md) (Data & databases)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)

## Prerequisites

- OLAP databases ([easy posts on Analytics & OLAP](https://swe.quest/tags/analytics.md?difficulty=easy))
- materialized views

## Keywords

ClickHouse Cloud, OpenRouter, ClickPipes, dbt, Airflow, Fivetran, Jev Router

## Related posts

- [How Respan is scaling LLM observability with ClickHouse Cloud](https://swe.quest/articles/how-respan-is-scaling-llm-observability-with-clickhouse-cloud-a4578d78266aa225.md): ClickHouse · 2026-04-06 · Medium · 6 min read · Analytics & OLAP, Observability, PostgreSQL, LLMs
  Respan, an AI gateway with built-in LLM observability processing about 50 million events per day, moved ingestion and analytics from Postgres to ClickHouse Cloud after per-request transactional inserts began contending at 50-100 writes per second.
- [Why Astronomer chose ClickHouse to power its new data observability platform, Astro Observe](https://swe.quest/articles/why-astronomer-chose-clickhouse-to-power-its-new-data-observability-platform-f5c7916b8461008d.md): ClickHouse · 2025-03-10 · Easy · 7 min read · Analytics & OLAP, Observability, Data pipelines, Queues & messaging
  Astronomer built Astro Observe, an observability platform for Apache Airflow, on ClickHouse Cloud after a per-customer Amazon RDS Postgres setup degraded on large time-range aggregations and forced limits on retained data.
- [Inside Laravel Nightwatch’s Observability Pipeline: Real-Time Event Processing with Amazon MSK and ClickHouse Cloud](https://swe.quest/articles/inside-laravel-nightwatch-s-observability-pipeline-real-time-event-processing-2274d87b280c63f4.md): ClickHouse · 2025-10-08 · Easy · 5 min read · Observability, Analytics & OLAP, Queues & messaging, Cloud platforms, System design
  Laravel Nightwatch, Laravel's first-party observability platform, ingests telemetry through API Gateway and Lambda into Amazon MSK Express brokers, then streams it into ClickHouse Cloud via ClickPipes, with materialized views pre-aggregating raw JSON.
- [Building a .NET API Gateway with ClickHouse and Aspire](https://swe.quest/articles/building-a-net-api-gateway-with-clickhouse-and-aspire-d43f7774c1e69e19.md): ClickHouse · 2026-06-02 · Medium · 13 min read · .NET, Analytics & OLAP, Observability, Load balancing
  A sample .NET API gateway uses Aspire to orchestrate a ClickHouse container, a YARP gateway, backend APIs, a load generator, an analytics API and a Blazor dashboard.
- [How Langfuse is scaling LLM observability for the agentic era with ClickHouse Cloud](https://swe.quest/articles/how-langfuse-is-scaling-llm-observability-for-the-agentic-era-with-clickhouse-f7eb3fab8bbd30ed.md): ClickHouse · 2026-02-03 · Medium · 8 min read · Analytics & OLAP, Observability, LLMs, PostgreSQL, Scaling
  Langfuse moved its LLM tracing data from a single-node Postgres instance to ClickHouse after ingestion growth caused timeouts, high IOPS costs and slow SDK ingestion.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
