Is the open-versus-closed AI debate missing the point? The Harness ML team benchmarked Claude Sonnet 4.5, Claude Haiku 4.5, and the open-weight Kimi K2.5 on 1,000 API traffic samples. Kimi matched Sonnet on completeness and JSON reliability at about 80% lower token cost. Sonnet captured far more error context. The takeaway for enterprises: route each workload to the model that meets its quality bar, and reserve more capable models for the tasks where they add measurable value.

There is a lot of debate around open versus closed AI models. Which ones are better? Will open models catch up with proprietary models? Is it worth paying a premium for closed models when open models are improving so quickly?
We think the debate misses more important questions for enterprises: Which model should you use for which workload, and at what cost?
Not every workload requires the most sophisticated model. Some tasks need deeper reasoning and interpretation, while others require reliable extraction, classification, or summarization at scale. The right choice depends on what you are trying to accomplish.
We recently benchmarked a few models for an API security use case, and the results reinforced this point.
What our benchmarks of API traffic summaries showed
Our team evaluated Claude Sonnet 4.5 with thinking enabled and disabled, Claude Haiku 4.5, and Kimi K2.5, an open weight model. We tested them on 1,000 API traffic samples covering 808 unique APIs, selected to over-represent security-relevant cases such as authentication, payments, personal data, and errors. We asked each model to generate structured summaries of API requests, responses, headers, cookies, and other attributes.
We looked at completeness, structured output reliability, and how well the models understood the outcome of an API transaction. Four findings stood out.
Finding 1: Open models performed comparably to closed models
In our specific benchmark on API traffic summaries, open models were competitive. Kimi performed surprisingly well on summary completeness. We identified just 16 probable field omissions for Kimi, compared with 17 for Sonnet with thinking enabled. Kimi also produced valid JSON for 994 of the 1,000 samples, compared with 999 for Sonnet. These omission counts are approximate, but the results suggest that you don't necessarily need a premium proprietary model for every structured summarization task.
Finding 2: Models responded differently to our prompt and gave different levels of output
Even using the same prompt, the models differed in how well they captured what actually happened in a transaction. We examined 206 API transactions that returned HTTP errors. Sonnet with thinking enabled captured error context in 62.6% of those summaries, compared with just 19.9% for Kimi. There is a meaningful difference between describing what an API does and understanding what actually happened during a transaction. For API security, that distinction matters. A failed authentication attempt or unexpected server response can provide important context that a basic API summary might miss.
One qualification: our prompts did not explicitly require the models to report the observed HTTP status. So this is a difference in how the models responded to our original instructions, not proof that Kimi cannot achieve better results with a more specific prompt.
It is also worth noting that the dividing line was not simply open versus closed. Claude Haiku 4.5, a smaller proprietary model, captured error context at about the same rate as Kimi (19.4%). And configuration mattered even within the same model: Sonnet with thinking disabled captured error context nearly as often as with thinking enabled (55.8%), but produced invalid JSON in 36 of 1,000 samples, compared with just one when thinking was enabled.
Finding 3: Open source models were significantly less expensive
Third, unsurprisingly, the economics are hard to ignore. Based on published AWS Bedrock pricing, Sonnet 4.5 costs $3 per million input tokens and $15 per million output tokens. Kimi K2.5 costs $0.60 and $3 respectively, making it 80% cheaper per token at those rates.
Consider a workload processing one million API transactions, assuming 2,000 input tokens and 500 output tokens per transaction. That translates to approximately $13,500 with Sonnet versus $2,700 with Kimi, assuming identical token usage and excluding additional reasoning tokens, caching, and retries.
These are illustrative costs rather than measured benchmark costs, but they show why model selection matters at scale.
The takeaway isn't that Kimi is better because it is cheaper, or that Sonnet is better because it captured more error context. It's that the value of a model depends on the task you give it.
Finding 4: Every model occasionally echoes sensitive values into its output
One other finding from our tests is worth mentioning. Every model we tested would, at times, echo sensitive values from its input into its output. That reinforces another important point: model selection does not replace the need for input masking, output validation, and appropriate security controls. Every model requires extra safeguards..
What this means for enterprise AI
Imagine an enterprise processing millions of API transactions. A large percentage might involve routine API discovery and profiling, where an open weight model like Kimi could deliver sufficient quality at a significantly lower cost. But certain transactions, such as ambiguous API behavior or complex error scenarios, might benefit from a stronger reasoning model like Sonnet.
Rather than sending every transaction to the same model, why not use different models based on the complexity and requirements of the task?
This is where we see enterprise AI architectures heading. Use models that meet the required quality threshold for routine, high volume workloads, and reserve more capable models for tasks where their additional reasoning provides measurable value. The routing itself needs to be tested, but the potential benefit is clear.
The same principle applies beyond API security, whether it is document processing, software development, customer support, or security operations.
There are other considerations as well. Open weight models provide more flexibility for customization and private deployment, while proprietary models can offer convenient access to advanced capabilities through managed services. And using an open weight model doesn't necessarily mean running your own infrastructure. Kimi, for example, is available through AWS Bedrock.
One other finding from our tests is worth mentioning. Every model we tested would, at times, echo sensitive values from its input into its output. That reinforces another important point: model selection does not replace the need for input masking, output validation, and appropriate security controls, whichever model sits in the middle.
Ultimately, enterprises should evaluate models based on the quality they need, the cost of delivering that quality, and their operational and security requirements.
Choosing the right model isn’t a one-time decision: re-evaluate regularly
Our benchmark covered one specific workload, but the lesson applies more broadly: paying more does not automatically translate into better outcomes for every use case.
As models continue to improve and pricing evolves, enterprises need the flexibility to evaluate and switch models rather than commit everything to a single provider.The question isn't which model is best. It's which model is good enough for the task, where a more capable model adds value, and whether that additional value justifies the cost.
Most importantly, it’s a question that organizations need to ask regularly as the models, their capabilities, and their economics evolve quickly and continuously.
Benchmark: Internal evaluation of 1,000 API traffic samples across four model configurations. Completeness estimates are approximate. Error context results reflect the original prompts. Pricing is based on published AWS Bedrock rates, and the cost illustration assumes equal token consumption.




