# LLM cost comparator

Compare published token prices for your usage.

> Canonical page: https://elysiatools.com/en/tools/llm-cost-comparator

- **Category:** Development

- **Keywords:** LLM cost comparator, LLM, API, OpenRouter

## Overview

Estimate costs across providers and channels using the selected service tier and UTC period. Prices may change and exclude taxes.

## Inputs

- **Usage mode** (select)
- **Input tokens** (number)
- **Output tokens (including reasoning)** (number)
- **Requests in period** (number)
- **Average input tokens per request** (number)
- **Average output tokens per request** (number)
- **Cache read (%)** (number)
- **Cache write (%)** (number)
- **Service tier** (select)
- **Start date (UTC)** (date)
- **Budget days** (number)

## When to use

- Evaluating provider token price differences before deploying a new model pipeline
- Budgeting operational expenses over a specific period using expected request counts
- Assessing potential cost reductions from prompt caching or alternative service tiers

## How it works

- Select Usage mode: choose Token totals to input total volume, or Request count to calculate from averages.
- Enter token volumes using Input tokens and Output tokens, or set Requests in period alongside average token counts.
- Configure optional parameters including Cache read (%), Cache write (%), Service tier, Start date (UTC), and Budget days.
- Review the browser table, source dates, warnings and excluded candidates; filter by vendor/channel and download CSV or JSON. The tool API returns structured JSON, not the browser download file.

## Use cases

- Batch processing cost estimation: Configure the Batch tier with aggregate input and output tokens to evaluate offline job costs.
- Interactive application forecasting: Enter estimated request volumes with average prompt and response sizes to project monthly operational costs.
- Prompt caching evaluation: Adjust Cache read (%) and Cache write (%) sliders to quantify savings on repetitive contextual inputs.

## Frequently asked questions

### Does the request count mean requests per day?

No: requests is the total for the entire selected period. 1,000 requests × 1,000 input and 250 output tokens gives 1,000,000 input and 250,000 output tokens for that period. Include billable reasoning in output tokens. Changing days alone does not multiply usage.

### Are prices fetched live for every comparison?

No. Calculations use a stored snapshot. Check source and verification timestamps: fresh official rates take priority, with Models.dev/LiteLLM community fallback where eligible. Community timestamps are not official price verification. OpenRouter is a separate channel, and coverage is curated rather than exhaustive.

### Can every model use caching and every service tier?

No. Only explicitly published prices for the selected tier are compared. Cache read and write percentages share the input pool and must total at most 100%; missing applicable cache prices exclude a candidate rather than count as zero.

### How do budget dates and promotions affect costs?

The 1–366 day period uses UTC and assumes uniform usage across days. Known effective_until dates are exclusive: costs can be split across known price windows. Unknown future prices or expired coverage can exclude candidates; no expiry date is not a promise of an unchanged price.

### Is this an invoice or an AI recommendation?

No. This is a USD token-cost estimate, not a quality or speed ranking. It excludes taxes, private discounts, cache storage, tool/search and other non-token fees. The comparison itself does not invoke a model or use AI quota.

## Related tools

- [CSS Selector Specificity Calculator](https://elysiatools.com/en/tools/css-selector-specificity-calculator): Calculate CSS selector specificity scores, compare multiple selectors, and get suggestions for avoiding cascade conflicts
- [HTTP Status Code Reference](https://elysiatools.com/en/tools/http-status-reference): Complete HTTP status code reference (1xx–5xx) with semantics, typical scenarios, and retry advice in a filterable comparison table
- [OpenAPI Diff Breach Detector](https://elysiatools.com/en/tools/openapi-diff-breach-detector): Compare OpenAPI or GraphQL schemas, flag breaking changes, and generate an impact-oriented change report for API teams
- [Ephemeral Cloud Sandbox Cost Calculator & Teardown Auditor](https://elysiatools.com/en/tools/ephemeral-cloud-sandbox-cost-calculator-teardown-auditor-aws-gcp-azure-vercel-fly): Price a throwaway sandbox across AWS, GCP, Azure, Vercel, Fly.io, Railway, Replit, Codespaces and Gitpod, then audit what forgetting to tear it down actually costs per forgotten day.
- [Tailwind Color Palette Sync](https://elysiatools.com/en/tools/tailwind-color-palette-sync): Generate theme.extend.colors for tailwind.config.ts from HEX colors, with WCAG contrast levels and optional dark mode.
- [Cron Job Simulator](https://elysiatools.com/en/tools/cron-job-simulator): Simulate the next runs of one or two 5-part cron expressions, highlight overlaps, and warn about overly dense schedules
- [HTTP Request Tester](https://elysiatools.com/en/tools/http-request-tester): A lightweight in-browser HTTP client (mini Postman): send GET/POST/PUT/DELETE requests with custom headers and body, inspect status, headers, timing, and formatted response — all from your browser
- [WebSocket Tester](https://elysiatools.com/en/tools/websocket-tester): Connect to any WebSocket (ws:// or wss://) endpoint from your browser, send and receive messages, and inspect open/close/error events with codes — ideal for debugging real-time APIs and sockets

## Samples

- [Android Image Processing Java Samples](https://elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion
- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Web Image Processing Rust Samples](https://elysiatools.com/en/samples/web-image-processing-rust): Web Rust image processing examples including image read/save, scaling, and format conversion
