Blog · Engineering
Engineering
How the gateway is built on Cloudflare Workers — routing, failover, streaming, and the edge trade-offs behind it.
8posts
LatestNovember 7, 2026
How we cut our D1 bill by moving request logs to Cloudflare Basin
AnyRouter wrote about 100M rows a month to D1, almost all of it request logs. We stopped logging refusals nobody reads and moved the full log to Cloudflare Basin, which stores it as Iceberg tables. This post covers the numbers, the design, and the tradeoffs.
Read the postNovember 3, 2026How our CI/CD changed when coding agents took overNovember 1, 2026How we sped up our local CI without dropping a checkOctober 27, 2026How we made AnyRouter fasterOctober 27, 2026How agents deploy AnyRouter: one Worker at a timeOctober 26, 2026How agents ship AnyRouter: the merge and deploy loopJuly 12, 2026How automatic failover works in an LLM gatewayJuly 12, 2026Building an LLM gateway on Cloudflare Workers