🌍 Public
Viewing a saved revision (read-only)
6100c2b56c5140f2be0531df93b90406
Large Language Model API Pricing (October 2024)
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