Model Prices is an interactive dashboard for comparing and visualizing AI model pricing. Track and compare input/output costs across various AI models from different labs, helping you make informed decisions for your AI projects. This project is based on/inspired by Theo's model-prices.csv but aims to keep a more up-to-date list and remove outdated models.
- 📈 Interactive Price Charts: Visualize model pricing with dynamic, responsive charts
- 🔍 Model Comparison: Compare multiple AI models side-by-side
- 💰 Cost Analysis: View input, output, and combined pricing metrics
- 🧠 Intelligence Metrics: Compare price-to-performance with intelligence indices
- 🔄 Real-time Updates: Switch between models and instantly see updated charts
- 💎 Value Calculation (needs work): See which models offer the best value for their capabilities
- Astro: Fast, modern static site generator
- React: UI component library
- TailwindCSS: Utility-first CSS framework
- Recharts: Composable charting library
- Radix UI: Unstyled, accessible UI components
- shadcn/ui: Re-usable UI components
# Clone the repository
git clone https://github.com/threehymns/model-prices.git
cd model-prices
# Install dependencies with pnpm
pnpm install
# Start the development server
pnpm dev- Run the development server:
pnpm dev - Open http://localhost:4321 in your browser
- Select models to compare in the table
- View pricing data in the charts
/
├── public/ # Static assets and data files
│ ├── model-prices.csv # AI model pricing data
│ └── labs.csv # AI lab information
├── src/
│ ├── components/ # UI components
│ ├── hooks/ # Custom React hooks
│ ├── layouts/ # Page layouts
│ ├── lib/ # Utility functions
│ ├── pages/ # Astro pages
│ ├── stores/ # State management
│ └── styles/ # Global styles
└── package.json # Project dependencies
The application uses two main data sources:
public/model-prices.csv: Contains pricing data for AI models, including input/output costs, release dates, and intelligence metricspublic/labs.csv: Contains information about AI research labs and their models
To update model pricing data:
- Edit the
public/model-prices.csvfile - Add or modify entries as needed
- Restart the application if running
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by/based on code by Theo
- Artificial Analysis for the Intelligence Index
- Also thanks to OpenRouter, RooCode, Coderabbit, Windsurf, and Zed for free resources.