mirror of
https://github.com/anomalyco/models.dev.git
synced 2026-12-01 19:32:31 +08:00
Prices were formatted with toFixed(2), so a model priced at $0.001 per 1M tokens showed as $0.00 and $0.075 showed as $0.07. Format costs with two to four decimals, and reuse the same formatter in search results.