Large Language Model API Pricing (October 2024)
✓ Published2🌍 Public
This horizontal bar chart compares the cost per million output tokens for chat models from four API providers: Together AI, DeepInfra, OpenAI, and Anthropic, with bars colored by provider and labeled with their exact price. The visualization uses D3.js, employing a symlog scale for the x-axis to handle the wide range of prices, and custom tick selection logic to place readable axis labels. Data is sourced from a Google Sheet and filtered to chat-type models, with bars sorted by ascending price.
AI-generated descriptionShows the cost per token across a few LLM API providers:
- Together AI
- DeepInfra
- OpenAI
- Anthropic
Also serves as a demo for D3: Nicer symlog ticks? #162
Upstream data source: Google Sheet: Large Language Model API Pricing
MIT Licensed