Price-performance ratio expresses the relationship between cost and useful performance. Define the direction before comparing alternatives: cost per successful request is better when lower, while successful requests per dollar is better when higher. A meaningful comparison specifies the workload, measurement period, quality requirements, and operating conditions. Comparing instance prices or model token rates without those conditions can produce misleading conclusions.
For generative AI, performance includes more than inference speed. Relevant measures include task accuracy, groundedness, instruction adherence, output validity, throughput, time to first token, and end-to-end latency. Treat critical requirements, such as privacy controls, minimum answer quality, and maximum acceptable latency, as eligibility constraints. Then compare the cost efficiency of the candidates that satisfy those constraints rather than allowing a low price to compensate for an unacceptable failure rate.
A practical model-selection framework starts with a representative evaluation dataset covering common requests, difficult cases, and important failure scenarios. Test candidate foundation models with realistic prompts, context lengths, output limits, and concurrency. Record input and output token consumption, accepted-answer rates, latency percentiles, retries, and downstream tool calls. Use consistent task-level acceptance criteria and tune prompts fairly for each model. Reevaluate when model versions, traffic patterns, or pricing change.
Cost per accepted result is often more informative than cost per token. Suppose one configuration costs $20 to process 1,000 requests and produces 800 acceptable results, while another costs $30 and produces 950. Their direct inference costs per accepted result are $0.025 and approximately $0.032, respectively. The first is more efficient on that measure, but it is ineligible if the application requires at least a 90% acceptance rate. Include retries, escalations, retrieval, and human review when calculating the actual end-to-end cost.
Tiered model usage applies this framework to mixed workloads. A smaller model might handle straightforward classification or routine extraction, while a more capable model handles ambiguous requests or complex reasoning. Routing can use task type, input characteristics, or a validated classifier. Evaluate the complete routing policy because router inference, incorrect assignments, and escalation can erase savings. Do not assume a model's self-reported confidence reliably identifies requests that need escalation.
Efficient inference patterns improve the same ratio without necessarily changing the model. Limit unnecessary context and output tokens, reuse eligible prompt prefixes through supported prompt caching, and batch delay-tolerant work where discounted batch inference is available. Application-level response caching can avoid repeated inference, but requires freshness rules and appropriate isolation for sensitive data. Streaming improves perceived responsiveness but does not inherently reduce inference charges. Quantization and optimized serving can improve self-hosted efficiency, but require quality and compatibility testing.
Deployment economics also depend on utilization. Pay-per-use inference can suit intermittent traffic, while dedicated or provisioned capacity may be competitive for sustained, predictable demand. Compare effective cost at expected utilization, including idle capacity, scaling delays, operational effort, and resilience requirements. The cheapest model, fastest accelerator, and highest-scoring benchmark model are not automatically the best choice. The goal is the lowest sustainable cost for the application's required outcomes, not the lowest advertised unit price.