Skip to content

shuantsu/ai-models-cost-explorer

Repository files navigation

AI Models Cost Explorer

Leia em Português do Brasil

🌐 Try it online

GitHub Pages Python License Auto Update LLM

This application facilitates searching and comparing AI models from various providers, allowing you to quickly find the necessary information for integration with LLM frontends like AnythingLLM, LiteLLM, and other platforms that make API calls.

Prerequisites

  • Python installed on the system
  • Python requests module: pip install requests

How to use

1. Download model data

Run the script to download the latest data:

Windows:

update.bat

Or directly:

python download_costs.py

2. Open the explorer

Open the model_explorer.html file in your browser.

Model Explorer Features

Filters

  • Provider: Filter by provider (OpenAI, Anthropic, Azure, Bedrock, etc.)
  • Mode: Filter by mode (chat, completion, etc.)
  • Search: Search by model name
  • Chat models only: Show only chat models

Sorting

Click on column headers to sort by:

  • Model name
  • Provider
  • Mode
  • Input/output cost
  • Maximum tokens

Blank values always appear at the end, regardless of sort direction.

Views (Saved Configurations)

  • Save: Enter a name and click "Save" to save current filters
  • Load: Select a saved view from the dropdown
  • Delete: Remove unnecessary views

Views are saved in the browser and persist between sessions.

Updates

To keep data up to date, run download_costs.py periodically, as prices and available models change frequently.

About

AI Models Cost Explorer - Find and compare LLM model pricing and specifications from multiple providers

Topics

Resources

License

Stars

Watchers

Forks

Contributors