File size: 15,706 Bytes
79c1454 111662e 79c1454 111662e cb76d11 111662e 79c1454 111662e 1ad1dd9 111662e 6b6587e 111662e 6b6587e cd803d3 6b6587e 111662e 1ad1dd9 111662e 6b6587e cd803d3 111662e ad97c41 111662e 6b6587e 111662e 1ad1dd9 f140a09 111662e cd803d3 99e14b4 6b6587e 789a8bc 6b6587e 9f3581a 99e14b4 6b6587e 111662e f140a09 1ad1dd9 9d99b7e f140a09 111662e cd803d3 f140a09 cd803d3 6b6587e 5764643 cd803d3 f140a09 cd803d3 6b6587e cd803d3 111662e 6b6587e 111662e 6b6587e cd803d3 111662e 1c4beaa | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 | ---
pretty_name: LLM API Pricing (Claude, GPT, Gemini, DeepSeek, Qwen, Kimi, GLM, Grok)
license: cc-by-4.0
language:
- en
size_categories:
- 1K<n<10K
tags:
- llm
- pricing
- llm-pricing
- api-pricing
- token-pricing
- claude
- gpt
- gemini
- deepseek
- qwen
- openai-compatible
- tabular
configs:
- config_name: chat_models
default: true
data_files:
- split: train
path: data/chat_models.csv
- config_name: media_models
data_files:
- split: train
path: data/media_models.csv
- config_name: chat_price_history
data_files:
- split: train
path: data/chat_price_history.csv
---
# LLM API Pricing
Per-token API prices for <!-- chat_models -->341<!-- /chat_models --> chat models and per-image, per-second and per-generation prices for <!-- media_models -->135<!-- /media_models --> image, video,
audio and 3D models. Each row puts the model developer's own list price next to the price on
[UplinkSwitch](https://uplinkswitch.ai), an OpenAI- and Anthropic-compatible API gateway.
Every value comes from the public catalog API at `https://api.uplinkswitch.com/v1/catalog` and
`/v1/catalog/media`. It's the same feed the gateway bills from, and it needs no key. The `snapshot_at` column
shows when each row was read. Every row links to the model's price page on uplinkswitch.ai (`model_url`), and
open-weight models also link to their official weights on the Hub (`weights_repo`).
- Live, sortable version with a monthly cost calculator: [LLM API Price Comparison Space](https://huggingface.co/spaces/uplinkswitch/llm-api-price-comparison)
- Official weights for every open model here: [LLM API pricing: open-weight models](https://huggingface.co/collections/uplinkswitch/llm-api-pricing-open-weight-models-6ad45538c6a81846dff4791a)
- Same prices on the web: [uplinkswitch.ai/models](https://uplinkswitch.ai/models) · [price index (CSV/JSON)](https://uplinkswitch.ai/pricing-index) · [side-by-side comparisons](https://uplinkswitch.ai/compare)
## Configs
| Config | Rows | What one row is |
|---|---|---|
| `chat_models` (default) | <!-- chat_models -->341<!-- /chat_models --> | One chat model: list and UplinkSwitch prices per 1M input, cached-input and output tokens |
| `media_models` | <!-- media_rows -->329<!-- /media_rows --> | One price variant of an image, video, audio or 3D model (for example `resolution=2K`) |
| `chat_price_history` | <!-- history_rows -->4520<!-- /history_rows --> | One chat model on one snapshot date (<!-- history_since -->2026-10-16<!-- /history_since --> onward) |
The raw catalog responses are in `raw/catalog.json` and `raw/catalog_media.json`.
## Load it
```python
from datasets import load_dataset
chat = load_dataset("uplinkswitch/llm-api-pricing", "chat_models", split="train").to_pandas()
media = load_dataset("uplinkswitch/llm-api-pricing", "media_models", split="train").to_pandas()
history = load_dataset("uplinkswitch/llm-api-pricing", "chat_price_history", split="train").to_pandas()
# Monthly cost of 50M input + 10M output tokens, list vs UplinkSwitch
chat["list_monthly"] = 50 * chat.list_input_usd_per_1m + 10 * chat.list_output_usd_per_1m
chat["uplink_monthly"] = 50 * chat.price_input_usd_per_1m + 10 * chat.price_output_usd_per_1m
print(chat.sort_values("uplink_monthly")[["display_name", "list_monthly", "uplink_monthly"]].head(20))
```
With pandas only:
```python
import pandas as pd
chat = pd.read_csv("hf://datasets/uplinkswitch/llm-api-pricing/data/chat_models.csv")
```
## Columns
### `chat_models`
| Column | Type | Meaning |
|---|---|---|
| `model_id` | string | The `model` value to send to the API |
| `display_name` | string | Model name as the developer writes it |
| `developer` | string | Anthropic, OpenAI, Google, xAI, DeepSeek, Qwen, Moonshot AI, Z.ai, MiniMax, Xiaomi, Tencent, NVIDIA, Meta, … |
| `wire_formats` | string | API formats the model accepts, pipe-separated (`openai`, `anthropic`) |
| `list_input_usd_per_1m` | float | Developer list price, USD per 1M input tokens. Empty when the developer publishes no price |
| `list_cache_read_usd_per_1m` | float | Developer list price for cached input tokens |
| `list_output_usd_per_1m` | float | Developer list price, USD per 1M output tokens |
| `price_input_usd_per_1m` | float | UplinkSwitch price, USD per 1M input tokens |
| `price_cache_read_usd_per_1m` | float | UplinkSwitch price for cached input tokens |
| `price_output_usd_per_1m` | float | UplinkSwitch price, USD per 1M output tokens |
| `pct_under_list_input` | float | `100 × (1 − price / list)` on input, rounded to 0.1 |
| `pct_under_list_output` | float | Same, on output |
| `model_url` | string | The model's page on uplinkswitch.ai, e.g. `https://uplinkswitch.ai/models/claude-opus-5-5` |
| `weights_repo` | string | Official open weights on the Hugging Face Hub; empty for closed models |
| `snapshot_at` | string | ISO 8601 time the catalog was read |
### `media_models`
| Column | Type | Meaning |
|---|---|---|
| `model_id`, `display_name`, `developer` | string | As above (<!-- media_developers -->Alibaba, OpenAI, ByteDance, Kling, Google, Black Forest Labs, Tripo, MiniMax, xAI, UplinkSwitch, Cyberdelia, ElevenLabs, Lightricks, WAI0731, Meta, Runway, Tencent, Fish Audio, Recraft, Suno<!-- /media_developers -->) |
| `kind` | string | `image`, `video`, `audio` or `3d` |
| `unit` | string | What one price buys: `image`, `second`, `minute`, `generation` or `1k_characters` |
| `variant` | string | The parameter values this price applies to, e.g. `resolution=4K` or `duration=8, audio=True`; `default` when there is one price |
| `price_usd` | float | UplinkSwitch price per unit |
| `list_usd` | float | Developer list price per unit, empty when none is published |
| `pct_under_list` | float | `100 × (1 − price / list)` |
| `endpoints` | string | API paths that serve the model, pipe-separated |
| `model_url` | string | The model's page on uplinkswitch.ai, e.g. `https://uplinkswitch.ai/models/media/nano-banana-2` |
| `snapshot_at` | string | ISO 8601 time the catalog was read |
### `chat_price_history`
`snapshot_date`, `model_id`, `display_name`, `list_input_usd_per_1m`, `list_output_usd_per_1m`,
`price_input_usd_per_1m`, `price_output_usd_per_1m`. Use it to track list-price and gateway-price changes over time.
## Example rows (<!-- snapshot_date -->2026-11-03<!-- /snapshot_date -->)
<!-- examples -->
| Model | List in / out ($/1M) | UplinkSwitch in / out ($/1M) | Family pricing |
|---|---|---|---|
| [Claude Opus 5.5](https://uplinkswitch.ai/models/claude-opus-5-5) | 4 / 20 | 2.80 / 10.00 | [All Claude models](https://uplinkswitch.ai/pricing/claude) |
| [GPT-6.1 Sol](https://uplinkswitch.ai/models/gpt-6.1-sol) | 2 / 10 | 0.60 / 3.00 | [All GPT models](https://uplinkswitch.ai/pricing/gpt) |
| [Gemini 3.1 Pro Preview](https://uplinkswitch.ai/models/gemini-3.1-pro-preview) | 2 / 12 | 1.20 / 7.20 | [All Gemini models](https://uplinkswitch.ai/pricing/gemini) |
| [DeepSeek V4 Pro](https://uplinkswitch.ai/models/deepseek-v4-pro) | 1.32 / 3.96 | 0.792 / 2.376 | [All DeepSeek models](https://uplinkswitch.ai/pricing/deepseek) |
| [Kimi K3](https://uplinkswitch.ai/models/kimi-k3) | 3 / 15 | 0.90 / 4.50 | [All Kimi models](https://uplinkswitch.ai/pricing/kimi) |
| [Qwen3.7 Max](https://uplinkswitch.ai/models/qwen3.7-max) | 1.475 / 4.425 | 0.64706 / 1.941176 | [All Qwen models](https://uplinkswitch.ai/pricing/qwen) |
| [GLM-5.3](https://uplinkswitch.ai/models/glm-5.3) | 1.092 / 3.432 | 0.3276 / 1.0296 | [All GLM models](https://uplinkswitch.ai/pricing/glm) |
| [Grok 4.7](https://uplinkswitch.ai/models/grok-4.7) | 2 / 6 | 0.60 / 1.80 | [All Grok models](https://uplinkswitch.ai/pricing/grok) |
<!-- /examples -->
<!-- stats -->
In this snapshot, 84 of the 341 chat models have a published list price. The median UplinkSwitch output price is
55.65% under list. Cached input costs more than list on nine models (`claude-fable-5.1`, `deepseek-v4-flash-0731`,
`deepseek-v4-pro-0813`, `deepseek-v4.1-flash`, `glm-5.1`, `gpt-5.3-codex`, `gpt-6-luna`, `grok-4.3`, `mimo-v2.6-pro`),
so check the cache column if your workload is cache-heavy.
<!-- /stats -->
## Open-weight models: weights and API price
<!-- open_weights -->
| Model | Weights on the Hub | API price page |
|---|---|---|
| DeepSeek V4 Pro | [deepseek-ai/DeepSeek-V4-Pro](https://huggingface.co/deepseek-ai/DeepSeek-V4-Pro) | [deepseek-v4-pro](https://uplinkswitch.ai/models/deepseek-v4-pro) |
| DeepSeek V4 Flash | [deepseek-ai/DeepSeek-V4-Flash](https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash) | [deepseek-v4-flash](https://uplinkswitch.ai/models/deepseek-v4-flash) |
| DeepSeek V4 Flash 0731 | [deepseek-ai/DeepSeek-V4-Flash-0731](https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash-0731) | [deepseek-v4-flash-0731](https://uplinkswitch.ai/models/deepseek-v4-flash-0731) |
| DeepSeek V4 Flash Vision (exp) | [deepseek-ai/DeepSeek-V4-Flash-Vision-Exp](https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash-Vision-Exp) | [deepseek-v4-flash-vision-exp](https://uplinkswitch.ai/models/deepseek-v4-flash-vision-exp) |
| DeepSeek V4.1 Flash | [deepseek-ai/DeepSeek-V4.1-Flash](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash) | [deepseek-v4.1-flash](https://uplinkswitch.ai/models/deepseek-v4.1-flash) |
| DeepSeek V4.1 Flash 1017 | [deepseek-ai/DeepSeek-V4.1-Flash-1017](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-1017) | [deepseek-v4.1-flash-1017](https://uplinkswitch.ai/models/deepseek-v4.1-flash-1017) |
| GLM-5.3 | [zai-org/GLM-5.3](https://huggingface.co/zai-org/GLM-5.3) | [glm-5.3](https://uplinkswitch.ai/models/glm-5.3) |
| GLM-5.3 Flash | [zai-org/GLM-5.3-Flash](https://huggingface.co/zai-org/GLM-5.3-Flash) | [glm-5.3-flash](https://uplinkswitch.ai/models/glm-5.3-flash) |
| GLM-5.2 | [zai-org/GLM-5.2](https://huggingface.co/zai-org/GLM-5.2) | [glm-5.2](https://uplinkswitch.ai/models/glm-5.2) |
| GLM-5.1 | [zai-org/GLM-5.1](https://huggingface.co/zai-org/GLM-5.1) | [glm-5.1](https://uplinkswitch.ai/models/glm-5.1) |
| Kimi K3 | [moonshotai/Kimi-K3](https://huggingface.co/moonshotai/Kimi-K3) | [kimi-k3](https://uplinkswitch.ai/models/kimi-k3) |
| Kimi K2.6 | [moonshotai/Kimi-K2.6](https://huggingface.co/moonshotai/Kimi-K2.6) | [kimi-k2.6](https://uplinkswitch.ai/models/kimi-k2.6) |
| Qwen3.6 27B | [Qwen/Qwen3.6-27B](https://huggingface.co/Qwen/Qwen3.6-27B) | [qwen3.6-27b](https://uplinkswitch.ai/models/qwen3.6-27b) |
| MiniMax M2.7 | [MiniMaxAI/MiniMax-M2.7](https://huggingface.co/MiniMaxAI/MiniMax-M2.7) | [minimax-m2.7](https://uplinkswitch.ai/models/minimax-m2.7) |
| MiniMax M2.5 | [MiniMaxAI/MiniMax-M2.5](https://huggingface.co/MiniMaxAI/MiniMax-M2.5) | [minimax-m2.5](https://uplinkswitch.ai/models/minimax-m2.5) |
| MiMo V2.5 | [XiaomiMiMo/MiMo-V2.5](https://huggingface.co/XiaomiMiMo/MiMo-V2.5) | [mimo-v2.5](https://uplinkswitch.ai/models/mimo-v2.5) |
| Kimi K2.5 | [moonshotai/Kimi-K2.5](https://huggingface.co/moonshotai/Kimi-K2.5) | [kimi-k2.5](https://uplinkswitch.ai/models/kimi-k2.5) |
<!-- /open_weights -->
## Read more
Pricing write-ups that use this data, one per model family:
- [LLM API pricing comparison, October 2026](https://uplinkswitch.ai/blog/llm-api-pricing-2026)
- [Claude API pricing](https://uplinkswitch.ai/blog/claude-api-pricing) · [GPT API pricing](https://uplinkswitch.ai/blog/gpt-api-pricing) · [Gemini API pricing](https://uplinkswitch.ai/blog/gemini-api-pricing) · [Grok API pricing](https://uplinkswitch.ai/blog/grok-api-pricing)
- [DeepSeek API pricing](https://uplinkswitch.ai/blog/deepseek-api-pricing) · [Kimi API pricing](https://uplinkswitch.ai/blog/kimi-api-pricing) · [GLM API pricing](https://uplinkswitch.ai/blog/glm-api-pricing) · [Qwen API pricing](https://uplinkswitch.ai/blog/qwen-api-pricing)
- [What Claude Code costs on API billing](https://uplinkswitch.ai/blog/claude-code-api-cost) · [Using Cursor with your own API key: what it costs](https://uplinkswitch.ai/blog/cursor-api-key-cost) · [Kimi, GLM and Qwen coding plans vs pay-per-token API](https://uplinkswitch.ai/blog/coding-plans-vs-api)
- [The hidden prompt tokens in cheap LLM APIs](https://uplinkswitch.ai/blog/hidden-prompt-tokens) · [A free AI API: $1 of credit for Claude, GPT, Gemini and more](https://uplinkswitch.ai/blog/free-ai-api)
- Image and video prices: [media models](https://uplinkswitch.ai/models/media) · [Veo 3.1 guide](https://uplinkswitch.ai/guides/veo-3-1) · [Nano Banana Pro guide](https://uplinkswitch.ai/guides/nano-banana-pro)
## How it's built
`scripts/build.py` reads the two catalog endpoints and writes every file in `data/` and `raw/`. It has no
dependencies beyond the Python standard library. Run `python scripts/build.py <out_dir>` to rebuild it yourself.
List prices are the model developers' own published per-token prices; the catalog stores them next to the
gateway price so the two can be compared row by row.
## Limitations
- Prices change. Trust `snapshot_at`, and for a live figure read the catalog API or
[uplinkswitch.ai/models](https://uplinkswitch.ai/models).
- List prices are standard-tier, non-batch prices. Batch, priority, long-context and regional tiers aren't included.
- Open-weight fine-tunes and community models often have no developer list price, so their list columns are empty.
- Volume discounts (3% from 100M tokens, 6% from 1B, 10% from 10B per month) aren't applied in the price columns.
## Use the prices
The same key and base URL work with the OpenAI and Anthropic SDKs:
```python
from openai import OpenAI
client = OpenAI(base_url="https://api.uplinkswitch.com/v1", api_key="sk-uplink-live-...")
reply = client.chat.completions.create(model="claude-opus-5-5", messages=[{"role": "user", "content": "hi"}])
```
- Python package: [`pip install uplinkswitch`](https://pypi.org/project/uplinkswitch/)
- SDK setup (OpenAI, Anthropic, Gemini): [uplinkswitch.ai/guides/sdks](https://uplinkswitch.ai/guides/sdks)
- Coding tools: [Claude Code](https://uplinkswitch.ai/guides/claude-code) · [Cursor](https://uplinkswitch.ai/guides/cursor) · [Cline](https://uplinkswitch.ai/guides/cline) · [Roo Code](https://uplinkswitch.ai/guides/roo-code) · [Kilo Code](https://uplinkswitch.ai/guides/kilo-code) · [OpenCode](https://uplinkswitch.ai/guides/opencode)
- Daily token-count check of every model: [uplinkswitch.ai/proof](https://uplinkswitch.ai/proof)
- Verify a signed usage statement: [uplinkswitch.ai/statements/verify](https://uplinkswitch.ai/statements/verify)
- Savings calculator: [uplinkswitch.ai/savings](https://uplinkswitch.ai/savings)
- Get a key (prepaid from $10, no subscription): [uplinkswitch.ai/console](https://uplinkswitch.ai/console)
- Source and issues: [github.com/uplinkswitch](https://github.com/uplinkswitch)
## License and citation
CC BY 4.0. Please credit "UplinkSwitch LLM API Pricing dataset" with a link to this page.
```bibtex
@misc{uplinkswitch_llm_api_pricing,
title = {LLM API Pricing},
author = {{Uplink Switch LLC}},
year = {2026},
url = {https://huggingface.co/datasets/uplinkswitch/llm-api-pricing}
}
```
## Where to use these prices
The same catalog is sold on three sites run by Uplink Switch LLC, each with one API key and prepaid credit:
- [uplinkswitch.ai](https://uplinkswitch.ai): every model in this dataset, OpenAI, Anthropic and Gemini request formats.
- [uncensoredllm.ai](https://uncensoredllm.ai): the uncensored and abliterated builds only, with a [daily-checked leaderboard](https://uncensoredllm.ai/blog/uncensored-llm-leaderboard).
- [relayswitch.io](https://relayswitch.io): the catalog paid in USDT, USDC, BTC, ETH or SOL, [no KYC](https://relayswitch.io/no-kyc).
|