FOMO Daily
Feed
Cloudflare·

Cutting our inference bill by 68% by being obsessive about optimization

AI & MLLLMsPrompt CachingModel RoutingInference Optimization

TL;DR

Cloudflare’s AI code reviewer became much more expensive as model choices changed and token usage tripled, despite a high cache hit rate. By optimizing the reviewer’s code and experimenting with models and reasoning effort, the team cut average review costs by 68%, from $2.43 to $0.77, while reducing median review time from 4 minutes 9 seconds to 1 minute 32 seconds.

Read the original post Sign in to mark as read or skip