Show HN: JSON Price Table for Top Large Language Models 14 days ago (glama.ai) 2 comments punkpeye Reply Add to library punkpeye 13 days ago Depending on your use case, there is also a HTML table https://glama.ai/model-prices and also an API that you can call to get more accurate cost https://glama.ai/blog/2024-09-25-chat-cost-calculator-api. The API uses the appropriate tokenization technique to accurately calculate the cost. sprobertson 12 days ago Looks like a great resource. Maybe include a "last updated" so users can know if the site has gone stale?Edit: Nevermind you're a step ahead - I was looking on the individual items but a global one makes sense.
punkpeye 13 days ago Depending on your use case, there is also a HTML table https://glama.ai/model-prices and also an API that you can call to get more accurate cost https://glama.ai/blog/2024-09-25-chat-cost-calculator-api. The API uses the appropriate tokenization technique to accurately calculate the cost.
sprobertson 12 days ago Looks like a great resource. Maybe include a "last updated" so users can know if the site has gone stale?Edit: Nevermind you're a step ahead - I was looking on the individual items but a global one makes sense.
Depending on your use case, there is also a HTML table https://glama.ai/model-prices and also an API that you can call to get more accurate cost https://glama.ai/blog/2024-09-25-chat-cost-calculator-api. The API uses the appropriate tokenization technique to accurately calculate the cost.
Looks like a great resource. Maybe include a "last updated" so users can know if the site has gone stale?
Edit: Nevermind you're a step ahead - I was looking on the individual items but a global one makes sense.