
Cloudflare Cut AI Costs by 77% Using Kimi K2.5 for Security Audits
Cloudflare handles roughly one-fifth of all internet traffic. When a company operating at that scale picks a specific AI model for production workloads, it tells you something real about what works under pressure.
They recently shared details about running Kimi K2.5 as the backbone of their internal security auditing pipeline. The numbers are hard to ignore: 7 billion tokens processed per day, 77% cost reduction versus mid-tier proprietary models, and a projected $2.4 million in annual savings from a single use case.
What Cloudflare is actually doing with Kimi K2.5
Cloudflare built a security review agent that continuously scans their codebases for vulnerabilities. This agent runs through their internal OpenCode environment and feeds into Bonk, their public-facing automated code review system. The agent has already caught more than 15 confirmed security issues in a single codebase.
That's 15 real vulnerabilities that humans missed and an AI model found. At 7 billion tokens per day, the agent is reading and analyzing code at a volume no human team could match.
The choice of Kimi K2.5 wasn't random. Cloudflare explicitly called it the "price-performance sweet spot" for production AI. Their engineers tested it against more expensive proprietary alternatives and found they could get comparable quality at a fraction of the cost.
Why Kimi K2.5 specifically?
The technical requirements were specific. Cloudflare needed a model that could handle:
- 256K context window — large enough to ingest entire files and surrounding code in one pass
- Multi-turn tool calling — the agent needs to call functions, get results, and act on them across conversation turns
- Vision inputs — some security review involves analyzing visual elements
- Structured outputs — the agent produces formatted reports, not free-form text
Here's the direct quote from Cloudflare's engineering team:
"With a full 256k context window and support for multi-turn tool calling, vision inputs, and structured outputs, the Kimi K2.5 model is excellent for all kinds of agentic tasks. In production, the model has proven to be a fast, efficient alternative to larger proprietary models without sacrificing quality."
That last bit matters most: "without sacrificing quality." They didn't downgrade to save money. They found a model that matched their quality bar at 77% less cost.
The cost math
Let's break down what 77% savings looks like at this scale.
| Metric | Proprietary Model | Kimi K2.5 |
|---|---|---|
| Daily token volume | 7B tokens | 7B tokens |
| Estimated annual cost | ~$3.1M | ~$700K |
| Annual savings | — | $2.4M |
| Cost reduction | — | 77% |
At API pricing of $0.60 per million input tokens and $2.50 per million output tokens, Kimi K2.5 is 4-17x cheaper than GPT-5.4 ($2.50/$15) and 8-10x cheaper than Claude Opus 4.6 ($5/$25). For a workload processing billions of tokens daily, that difference compounds fast.
Cloudflare also implemented prefix caching with session affinity headers to push costs even lower. This means repeated code patterns in their security scans get cached, reducing both inference costs and improving time-to-first-token latency.
What this means for the rest of us
Most developers aren't running 7 billion tokens per day. But the lesson scales down perfectly:
You don't always need the most expensive model. Cloudflare proved that Kimi K2.5 handles complex, multi-step agentic workflows at production scale. If it works for security auditing at one of the world's largest infrastructure companies, it can probably handle your use case too.
The AI market in 2026 has a clear hierarchy: frontier models (GPT-5.4, Claude Opus 4.6, Gemini 3.1 Pro) at the top for maximum capability, and efficient models (Kimi K2.5, DeepSeek V3.2, GPT-5.4 Mini) that deliver 80-90% of the quality at a fraction of the cost.
The smart move is matching the right model to the right task. Use Claude Opus for complex multi-file refactoring where accuracy is everything. Use Kimi K2.5 for high-volume agentic work where you need scale and cost efficiency.
Try Kimi K2.5 yourself
You don't need a Cloudflare-sized budget to test this. Admix includes Kimi K2.5 alongside GPT-5.4, Claude Opus 4.6, Gemini 3.1 Pro, and hundreds of other models. Starter is $10 a month, or $8 a month billed annually.
Sometimes the answer isn't the most famous model. Sometimes it's the one that quietly processes 7 billion tokens a day without breaking the bank.
FAQ
Is Kimi K2.5 as good as GPT-5.4 or Claude Opus?
For agentic tasks like code review and security scanning, Cloudflare found it comparable. For creative writing or complex reasoning, frontier models still have an edge. The right choice depends on your specific workload.
How much does Kimi K2.5 cost?
API pricing is $0.60 per million input tokens and $2.50 per million output tokens. That's 4-17x cheaper than GPT-5.4 and 8-10x cheaper than Claude Opus 4.6.
Can I use Kimi K2.5 for my own projects?
Yes. It's available through OpenRouter and through aggregator platforms like Admix. The 256K context window, tool calling, and structured outputs make it suitable for most production use cases.
Try all the models mentioned in this article
Admix gives you GPT-5, Claude, Gemini, and 350+ AI models in one app. Compare responses side by side. Free to start.
Start free on Admix