Skip to main content
100%

OpenRouter LLM API Pricing

✓ Published2🌍 Public
CCurran Kelleher
Last edited Jul 31, 2025
Created on Oct 24, 2024

This visualization compares LLM API pricing from OpenRouter, showing the completion cost per million tokens for various models as horizontal bars. Each bar is colored by the model's author, with well-known organizations like OpenAI, Anthropic, and Google distinguished from others. The chart filters out free, beta, and dated models to focus on current paid offerings. The visualization uses D3.js with a linear scale for the x-axis and band scale for model names. A custom `selectTicks` algorithm intelligently places axis tick marks to avoid overcrowding. Model authors are mapped to a Tableau10 color scale, with a color legend showing the mapping. The data comes from OpenRouter's model documentation.

AI-generated description

LLM Model pricing data from https://openrouter.ai/docs/models

MIT Licensed

Similar vizzes