Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Large Language Model API Pricing (October 2024)

Public visualization

Viewing a saved revision (read-only)

351f90c1d2664bf6a3028780e780586b

Large Language Model API Pricing (October 2024)

0 stars2🌍 Public
CCurran Kelleher
Last edited Oct 24, 2024
Created on Oct 3, 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 description