@chenlongapps/opencode-token-usage 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -4
- package/README.zh-CN.md +7 -3
- package/ROADMAP.md +4 -0
- package/dist/aliases.d.ts +6 -0
- package/dist/aliases.js +32 -0
- package/dist/overrides.d.ts +22 -0
- package/dist/overrides.js +181 -0
- package/dist/prices.generated.d.ts +3341 -0
- package/dist/prices.generated.js +289 -0
- package/dist/pricing.d.ts +14 -189
- package/dist/pricing.js +86 -580
- package/dist/usage.d.ts +2 -0
- package/dist/usage.js +2 -2
- package/docs/pricing.md +23 -290
- package/docs/verification.md +6 -0
- package/package.json +2 -1
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
export const GENERATED_PRICE_SNAPSHOT = {
|
|
2
|
+
verified: "2026-09-25",
|
|
3
|
+
source: "https://models.dev/api.json",
|
|
4
|
+
entries: [
|
|
5
|
+
{ "providerID": "ai21", "id": "jamba-large", "prices": [{ "input": 2, "output": 8 }], "released": "2025-07-01" },
|
|
6
|
+
{ "providerID": "ai21", "id": "jamba-mini", "prices": [{ "input": 0.2, "output": 0.4 }], "released": "2026-01-01" },
|
|
7
|
+
{ "providerID": "alibaba", "id": "qvq-max", "prices": [{ "input": 1.2, "output": 4.8 }], "released": "2025-03-25" },
|
|
8
|
+
{ "providerID": "alibaba", "id": "qwen-flash", "prices": [{ "input": 0.05, "output": 0.4 }], "released": "2025-07-28" },
|
|
9
|
+
{ "providerID": "alibaba", "id": "qwen-max", "prices": [{ "input": 1.6, "output": 6.4 }], "released": "2024-04-03" },
|
|
10
|
+
{ "providerID": "alibaba", "id": "qwen-mt-plus", "prices": [{ "input": 2.46, "output": 7.37 }] },
|
|
11
|
+
{ "providerID": "alibaba", "id": "qwen-mt-turbo", "prices": [{ "input": 0.16, "output": 0.49 }] },
|
|
12
|
+
{ "providerID": "alibaba", "id": "qwen-plus", "prices": [{ "input": 0.4, "output": 1.2, "reasoning": 4 }], "released": "2024-01-25" },
|
|
13
|
+
{ "providerID": "alibaba", "id": "qwen-plus-character-ja", "prices": [{ "input": 0.5, "output": 1.4 }] },
|
|
14
|
+
{ "providerID": "alibaba", "id": "qwen-turbo", "prices": [{ "input": 0.05, "output": 0.2, "reasoning": 0.5 }], "released": "2024-11-01" },
|
|
15
|
+
{ "providerID": "alibaba", "id": "qwen-vl-max", "prices": [{ "input": 0.8, "output": 3.2 }], "released": "2024-04-08" },
|
|
16
|
+
{ "providerID": "alibaba", "id": "qwen-vl-ocr", "prices": [{ "input": 0.72, "output": 0.72 }], "released": "2024-10-28" },
|
|
17
|
+
{ "providerID": "alibaba", "id": "qwen-vl-plus", "prices": [{ "input": 0.21, "output": 0.63 }], "released": "2024-01-25" },
|
|
18
|
+
{ "providerID": "alibaba", "id": "qwen2-5-14b-instruct", "prices": [{ "input": 0.35, "output": 1.4 }] },
|
|
19
|
+
{ "providerID": "alibaba", "id": "qwen2-5-32b-instruct", "prices": [{ "input": 0.7, "output": 2.8 }] },
|
|
20
|
+
{ "providerID": "alibaba", "id": "qwen2-5-72b-instruct", "prices": [{ "input": 1.4, "output": 5.6 }] },
|
|
21
|
+
{ "providerID": "alibaba", "id": "qwen2-5-7b-instruct", "prices": [{ "input": 0.175, "output": 0.7 }] },
|
|
22
|
+
{ "providerID": "alibaba", "id": "qwen2-5-omni-7b", "prices": [{ "input": 0.1, "output": 0.4 }] },
|
|
23
|
+
{ "providerID": "alibaba", "id": "qwen2-5-vl-72b-instruct", "prices": [{ "input": 2.8, "output": 8.4 }] },
|
|
24
|
+
{ "providerID": "alibaba", "id": "qwen2-5-vl-7b-instruct", "prices": [{ "input": 0.35, "output": 1.05 }] },
|
|
25
|
+
{ "providerID": "alibaba", "id": "qwen3-14b", "prices": [{ "input": 0.35, "output": 1.4, "reasoning": 4.2 }] },
|
|
26
|
+
{ "providerID": "alibaba", "id": "qwen3-235b-a22b", "prices": [{ "input": 0.7, "output": 2.8, "reasoning": 8.4 }] },
|
|
27
|
+
{ "providerID": "alibaba", "id": "qwen3-32b", "prices": [{ "input": 0.7, "output": 2.8, "reasoning": 8.4 }] },
|
|
28
|
+
{ "providerID": "alibaba", "id": "qwen3-8b", "prices": [{ "input": 0.18, "output": 0.7, "reasoning": 2.1 }] },
|
|
29
|
+
{ "providerID": "alibaba", "id": "qwen3-coder-30b-a3b-instruct", "prices": [{ "input": 0.45, "output": 2.25 }, { "input": 0.75, "output": 3.75, "tier": { "type": "context", "size": 32000 } }, { "input": 1.2, "output": 6, "tier": { "type": "context", "size": 128000 } }] },
|
|
30
|
+
{ "providerID": "alibaba", "id": "qwen3-coder-480b-a35b-instruct", "prices": [{ "input": 1.5, "output": 7.5 }, { "input": 2.7, "output": 13.5, "tier": { "type": "context", "size": 32000 } }, { "input": 4.5, "output": 22.5, "tier": { "type": "context", "size": 128000 } }] },
|
|
31
|
+
{ "providerID": "alibaba", "id": "qwen3-coder-flash", "prices": [{ "input": 0.3, "output": 1.5 }], "released": "2025-07-28" },
|
|
32
|
+
{ "providerID": "alibaba", "id": "qwen3-coder-plus", "prices": [{ "input": 1, "output": 5 }], "released": "2025-07-23" },
|
|
33
|
+
{ "providerID": "alibaba", "id": "qwen3-max", "prices": [{ "input": 1.2, "output": 6 }], "released": "2025-09-23" },
|
|
34
|
+
{ "providerID": "alibaba", "id": "qwen3-next-80b-a3b-instruct", "prices": [{ "input": 0.5, "output": 2 }] },
|
|
35
|
+
{ "providerID": "alibaba", "id": "qwen3-next-80b-a3b-thinking", "prices": [{ "input": 0.5, "output": 6 }] },
|
|
36
|
+
{ "providerID": "alibaba", "id": "qwen3-vl-235b-a22b", "prices": [{ "input": 0.7, "output": 2.8, "reasoning": 8.4 }] },
|
|
37
|
+
{ "providerID": "alibaba", "id": "qwen3-vl-30b-a3b", "prices": [{ "input": 0.2, "output": 0.8, "reasoning": 2.4 }] },
|
|
38
|
+
{ "providerID": "alibaba", "id": "qwen3-vl-plus", "prices": [{ "input": 0.2, "output": 1.6, "reasoning": 4.8 }], "released": "2025-09-23" },
|
|
39
|
+
{ "providerID": "alibaba", "id": "qwen3.5-122b-a10b", "prices": [{ "input": 0.4, "output": 3.2 }], "released": "2026-02-23" },
|
|
40
|
+
{ "providerID": "alibaba", "id": "qwen3.5-27b", "prices": [{ "input": 0.3, "output": 2.4 }], "released": "2026-02-23" },
|
|
41
|
+
{ "providerID": "alibaba", "id": "qwen3.5-35b-a3b", "prices": [{ "input": 0.25, "output": 2 }], "released": "2026-02-23" },
|
|
42
|
+
{ "providerID": "alibaba", "id": "qwen3.5-397b-a17b", "prices": [{ "input": 0.6, "output": 3.6 }], "released": "2026-02-15" },
|
|
43
|
+
{ "providerID": "alibaba", "id": "qwen3.5-plus", "prices": [{ "input": 0.4, "output": 2.4 }], "released": "2026-02-16" },
|
|
44
|
+
{ "providerID": "alibaba", "id": "qwen3.6-27b", "prices": [{ "input": 0.6, "output": 3.6 }], "released": "2026-04-22" },
|
|
45
|
+
{ "providerID": "alibaba", "id": "qwen3.6-35b-a3b", "prices": [{ "input": 0.248, "output": 1.485 }], "released": "2026-04-17" },
|
|
46
|
+
{ "providerID": "alibaba", "id": "qwen3.6-flash", "prices": [{ "input": 0.1875, "output": 1.125, "cache": {} }], "released": "2026-04-27" },
|
|
47
|
+
{ "providerID": "alibaba", "id": "qwen3.6-max-preview", "prices": [{ "input": 1.3, "output": 7.8, "cache": { "read": 0.13 } }], "released": "2026-04-20" },
|
|
48
|
+
{ "providerID": "alibaba", "id": "qwen3.6-plus", "prices": [{ "input": 0.5, "output": 3, "cache": { "read": 0.05 } }, { "input": 2, "output": 6, "cache": { "read": 0.2 }, "tier": { "type": "context", "size": 256000 } }], "released": "2026-04-02" },
|
|
49
|
+
{ "providerID": "alibaba", "id": "qwen3.7-max", "prices": [{ "input": 2.5, "output": 7.5, "cache": { "read": 0.5 } }], "released": "2026-05-21" },
|
|
50
|
+
{ "providerID": "alibaba", "id": "qwen3.7-plus", "prices": [{ "input": 0.5, "output": 3, "cache": { "read": 0.05 } }, { "input": 2, "output": 6, "cache": { "read": 0.2 }, "tier": { "type": "context", "size": 256000 } }], "released": "2026-06-02" },
|
|
51
|
+
{ "providerID": "alibaba", "id": "qwen3.8-flash", "prices": [{ "input": 0.15, "output": 0.47, "cache": { "read": 0.016 } }], "released": "2026-08-26" },
|
|
52
|
+
{ "providerID": "alibaba", "id": "qwen3.8-max", "prices": [{ "input": 2, "output": 6, "cache": { "read": 0.25 } }], "released": "2026-08-03" },
|
|
53
|
+
{ "providerID": "alibaba", "id": "qwq-plus", "prices": [{ "input": 0.8, "output": 2.4 }], "released": "2025-03-05" },
|
|
54
|
+
{ "providerID": "anthropic", "id": "claude-fable-5", "prices": [{ "input": 10, "output": 50, "cache": { "read": 1, "write": 12.5 } }], "released": "2026-06-07" },
|
|
55
|
+
{ "providerID": "anthropic", "id": "claude-fable-5-1", "prices": [{ "input": 10, "output": 50, "cache": { "read": 0.25, "write": 12.5 } }], "released": "2026-09-01" },
|
|
56
|
+
{ "providerID": "anthropic", "id": "claude-haiku-4-5", "prices": [{ "input": 1, "output": 5, "cache": { "read": 0.1, "write": 1.25 } }], "released": "2025-10-15" },
|
|
57
|
+
{ "providerID": "anthropic", "id": "claude-haiku-4-5-20251001", "prices": [{ "input": 1, "output": 5, "cache": { "read": 0.1, "write": 1.25 } }], "released": "2025-10-15" },
|
|
58
|
+
{ "providerID": "anthropic", "id": "claude-opus-4-5", "prices": [{ "input": 5, "output": 25, "cache": { "read": 0.5, "write": 6.25 } }], "released": "2025-11-24" },
|
|
59
|
+
{ "providerID": "anthropic", "id": "claude-opus-4-5-20251101", "prices": [{ "input": 5, "output": 25, "cache": { "read": 0.5, "write": 6.25 } }], "released": "2025-11-24" },
|
|
60
|
+
{ "providerID": "anthropic", "id": "claude-opus-4-6", "prices": [{ "input": 5, "output": 25, "cache": { "read": 0.5, "write": 6.25 } }], "released": "2026-02-04" },
|
|
61
|
+
{ "providerID": "anthropic", "id": "claude-opus-4-7", "prices": [{ "input": 5, "output": 25, "cache": { "read": 0.5, "write": 6.25 } }], "released": "2026-04-14" },
|
|
62
|
+
{ "providerID": "anthropic", "id": "claude-opus-4-8", "prices": [{ "input": 5, "output": 25, "cache": { "read": 0.5, "write": 6.25 } }], "released": "2026-05-28" },
|
|
63
|
+
{ "providerID": "anthropic", "id": "claude-opus-4-8-fast", "providers": ["anthropic"], "prices": [{ "input": 10, "output": 50, "cache": { "read": 1, "write": 12.5 } }], "released": "2026-05-28" },
|
|
64
|
+
{ "providerID": "anthropic", "id": "claude-opus-5", "prices": [{ "input": 5, "output": 25, "cache": { "read": 0.5, "write": 6.25 } }], "released": "2026-07-24" },
|
|
65
|
+
{ "providerID": "anthropic", "id": "claude-opus-5-5", "prices": [{ "input": 4, "output": 20, "cache": { "read": 0.2, "write": 5 } }], "released": "2026-09-22" },
|
|
66
|
+
{ "providerID": "anthropic", "id": "claude-opus-5-5-fast", "providers": ["anthropic"], "prices": [{ "input": 8, "output": 40, "cache": { "read": 0.4, "write": 10 } }], "released": "2026-09-22" },
|
|
67
|
+
{ "providerID": "anthropic", "id": "claude-opus-5-fast", "providers": ["anthropic"], "prices": [{ "input": 10, "output": 50, "cache": { "read": 1, "write": 12.5 } }], "released": "2026-07-24" },
|
|
68
|
+
{ "providerID": "anthropic", "id": "claude-sonnet-4-5", "prices": [{ "input": 3, "output": 15, "cache": { "read": 0.3, "write": 3.75 } }], "released": "2025-09-29" },
|
|
69
|
+
{ "providerID": "anthropic", "id": "claude-sonnet-4-5-20250929", "prices": [{ "input": 3, "output": 15, "cache": { "read": 0.3, "write": 3.75 } }], "released": "2025-09-29" },
|
|
70
|
+
{ "providerID": "anthropic", "id": "claude-sonnet-4-6", "prices": [{ "input": 3, "output": 15, "cache": { "read": 0.3, "write": 3.75 } }], "released": "2026-02-17" },
|
|
71
|
+
{ "providerID": "anthropic", "id": "claude-sonnet-5", "prices": [{ "input": 2, "output": 10, "cache": { "read": 0.2, "write": 2.5 } }], "released": "2026-06-29" },
|
|
72
|
+
{ "providerID": "arcee", "id": "trinity-large-thinking", "prices": [{ "input": 0.25, "output": 0.8, "cache": { "read": 0.06 } }], "released": "2026-04-01" },
|
|
73
|
+
{ "providerID": "cohere", "id": "command-a-03-2025", "prices": [{ "input": 2.5, "output": 10 }], "released": "2025-03-13" },
|
|
74
|
+
{ "providerID": "cohere", "id": "command-a-plus-05-2026", "prices": [{ "input": 2.5, "output": 10 }], "released": "2026-05-20" },
|
|
75
|
+
{ "providerID": "cohere", "id": "command-a-reasoning-08-2025", "prices": [{ "input": 2.5, "output": 10 }], "released": "2025-08-21" },
|
|
76
|
+
{ "providerID": "cohere", "id": "command-a-translate-08-2025", "prices": [{ "input": 2.5, "output": 10 }], "released": "2025-08-28" },
|
|
77
|
+
{ "providerID": "cohere", "id": "command-a-vision-07-2025", "prices": [{ "input": 2.5, "output": 10 }], "released": "2025-07-31" },
|
|
78
|
+
{ "providerID": "cohere", "id": "command-r-08-2024", "prices": [{ "input": 0.15, "output": 0.6 }], "released": "2024-08-30" },
|
|
79
|
+
{ "providerID": "cohere", "id": "command-r-plus-08-2024", "prices": [{ "input": 2.5, "output": 10 }], "released": "2024-08-30" },
|
|
80
|
+
{ "providerID": "cohere", "id": "command-r7b-12-2024", "prices": [{ "input": 0.0375, "output": 0.15 }], "released": "2024-12-02" },
|
|
81
|
+
{ "providerID": "cohere", "id": "command-r7b-arabic-02-2025", "prices": [{ "input": 0.0375, "output": 0.15 }], "released": "2025-02-27" },
|
|
82
|
+
{ "providerID": "cohere", "id": "north-mini-code-1-0", "prices": [{ "input": 0, "output": 0 }], "released": "2026-06-09" },
|
|
83
|
+
{ "providerID": "deepseek", "id": "deepseek-flash", "prices": [{ "input": 0.15, "output": 0.6, "cache": { "read": 0.003 } }], "released": "2026-09-10" },
|
|
84
|
+
{ "providerID": "deepseek", "id": "deepseek-v4-flash", "prices": [{ "input": 0.15, "output": 0.6, "cache": { "read": 0.003 } }], "released": "2026-09-10" },
|
|
85
|
+
{ "providerID": "deepseek", "id": "deepseek-v4-flash-vision-exp", "prices": [{ "input": 0.15, "output": 0.6, "cache": { "read": 0.003 } }], "released": "2026-09-10" },
|
|
86
|
+
{ "providerID": "deepseek", "id": "deepseek-v4-pro", "prices": [{ "input": 0.435, "output": 0.87, "cache": { "read": 0.003625 } }], "released": "2026-08-12" },
|
|
87
|
+
{ "providerID": "google", "id": "deep-research-max-preview-04-2026", "prices": [{ "input": 2, "output": 12, "cache": { "read": 0.2 } }, { "input": 4, "output": 18, "cache": { "read": 0.4 }, "tier": { "type": "context", "size": 200000 } }], "released": "2026-04-21" },
|
|
88
|
+
{ "providerID": "google", "id": "deep-research-preview-04-2026", "prices": [{ "input": 2, "output": 12, "cache": { "read": 0.2 } }, { "input": 4, "output": 18, "cache": { "read": 0.4 }, "tier": { "type": "context", "size": 200000 } }], "released": "2026-04-21" },
|
|
89
|
+
{ "providerID": "google", "id": "gemini-2.5-computer-use-preview-10-2025", "prices": [{ "input": 1.25, "output": 10 }, { "input": 2.5, "output": 15, "tier": { "type": "context", "size": 200000 } }], "released": "2025-10-07" },
|
|
90
|
+
{ "providerID": "google", "id": "gemini-2.5-flash", "prices": [{ "input": 0.3, "output": 2.5, "cache": { "read": 0.03 } }], "released": "2025-06-17" },
|
|
91
|
+
{ "providerID": "google", "id": "gemini-2.5-flash-lite", "prices": [{ "input": 0.1, "output": 0.4, "cache": { "read": 0.01 } }], "released": "2025-06-17" },
|
|
92
|
+
{ "providerID": "google", "id": "gemini-2.5-pro", "prices": [{ "input": 1.25, "output": 10, "cache": { "read": 0.125 } }, { "input": 2.5, "output": 15, "cache": { "read": 0.25 }, "tier": { "type": "context", "size": 200000 } }], "released": "2025-06-17" },
|
|
93
|
+
{ "providerID": "google", "id": "gemini-3-flash-preview", "prices": [{ "input": 0.5, "output": 3, "cache": { "read": 0.05 } }], "released": "2025-12-17" },
|
|
94
|
+
{ "providerID": "google", "id": "gemini-3.1-flash-lite", "prices": [{ "input": 0.25, "output": 1.5, "cache": { "read": 0.025 } }], "released": "2026-05-07" },
|
|
95
|
+
{ "providerID": "google", "id": "gemini-3.1-flash-lite-preview", "prices": [{ "input": 0.25, "output": 1.5, "cache": { "read": 0.025 } }], "released": "2026-03-03" },
|
|
96
|
+
{ "providerID": "google", "id": "gemini-3.1-pro-preview", "prices": [{ "input": 2, "output": 12, "cache": { "read": 0.2 } }, { "input": 4, "output": 18, "cache": { "read": 0.4 }, "tier": { "type": "context", "size": 200000 } }], "released": "2026-02-19" },
|
|
97
|
+
{ "providerID": "google", "id": "gemini-3.1-pro-preview-customtools", "prices": [{ "input": 2, "output": 12, "cache": { "read": 0.2 } }, { "input": 4, "output": 18, "cache": { "read": 0.4 }, "tier": { "type": "context", "size": 200000 } }], "released": "2026-02-19" },
|
|
98
|
+
{ "providerID": "google", "id": "gemini-3.5-flash", "prices": [{ "input": 1.5, "output": 9, "cache": { "read": 0.15 } }], "released": "2026-05-19" },
|
|
99
|
+
{ "providerID": "google", "id": "gemini-3.5-flash-lite", "prices": [{ "input": 0.3, "output": 2.5, "cache": { "read": 0.03 } }], "released": "2026-07-21" },
|
|
100
|
+
{ "providerID": "google", "id": "gemini-3.6-flash", "prices": [{ "input": 0.75, "output": 3.75, "cache": { "read": 0.075 } }], "released": "2026-07-21" },
|
|
101
|
+
{ "providerID": "google", "id": "gemini-3.7-flash", "prices": [{ "input": 0.75, "output": 3.75, "cache": { "read": 0.075 } }], "released": "2026-08-13" },
|
|
102
|
+
{ "providerID": "google", "id": "gemini-3.8-flash", "prices": [{ "input": 0.75, "output": 3.75, "cache": { "read": 0.075 } }], "released": "2026-09-02" },
|
|
103
|
+
{ "providerID": "google", "id": "gemini-flash-latest", "prices": [{ "input": 0.75, "output": 3.75, "cache": { "read": 0.075 } }], "released": "2026-08-13" },
|
|
104
|
+
{ "providerID": "google", "id": "gemini-flash-lite-latest", "prices": [{ "input": 0.3, "output": 2.5, "cache": { "read": 0.03 } }], "released": "2026-07-21" },
|
|
105
|
+
{ "providerID": "inception", "id": "mercury-2", "prices": [{ "input": 0.25, "output": 0.75, "cache": { "read": 0.025 } }], "released": "2026-02-24" },
|
|
106
|
+
{ "providerID": "inception", "id": "mercury-2.5", "prices": [{ "input": 0.04, "output": 0.15, "cache": { "read": 0.004 } }], "released": "2026-09-08" },
|
|
107
|
+
{ "providerID": "inception", "id": "mercury-edit-2", "prices": [{ "input": 0.25, "output": 0.75, "cache": { "read": 0.025 } }], "released": "2026-03-30" },
|
|
108
|
+
{ "providerID": "longcat", "id": "longcat-2.0", "prices": [{ "input": 0.75, "output": 2.95, "cache": { "read": 0.015 } }], "released": "2026-06-30" },
|
|
109
|
+
{ "providerID": "meta", "id": "muse-spark-1.1", "prices": [{ "input": 1.25, "output": 4.25, "cache": { "read": 0.15 } }], "released": "2026-04-08" },
|
|
110
|
+
{ "providerID": "meta", "id": "muse-spark-1.2", "prices": [{ "input": 1.25, "output": 4.25, "cache": { "read": 0.15 } }], "released": "2026-08-05" },
|
|
111
|
+
{ "providerID": "meta", "id": "muse-spark-1.2-contributor", "prices": [{ "input": 0.1, "output": 0.2, "cache": { "read": 0.002 } }], "released": "2026-08-05" },
|
|
112
|
+
{ "providerID": "meta", "id": "muse-spark-1.3", "prices": [{ "input": 1.25, "output": 4.25, "cache": { "read": 0.15 } }], "released": "2026-09-02" },
|
|
113
|
+
{ "providerID": "meta", "id": "muse-spark-1.3-contributor", "prices": [{ "input": 0.1, "output": 0.2, "cache": { "read": 0.002 } }], "released": "2026-09-02" },
|
|
114
|
+
{ "providerID": "minimax", "id": "minimax-m2", "prices": [{ "input": 0.3, "output": 1.2 }], "released": "2025-10-27" },
|
|
115
|
+
{ "providerID": "minimax", "id": "minimax-m2.1", "prices": [{ "input": 0.3, "output": 1.2, "cache": { "read": 0.03, "write": 0.375 } }], "released": "2025-12-23" },
|
|
116
|
+
{ "providerID": "minimax", "id": "minimax-m2.5", "prices": [{ "input": 0.3, "output": 1.2, "cache": { "read": 0.03, "write": 0.375 } }], "released": "2026-02-12" },
|
|
117
|
+
{ "providerID": "minimax", "id": "minimax-m2.5-highspeed", "prices": [{ "input": 0.6, "output": 2.4, "cache": { "read": 0.06, "write": 0.375 } }], "released": "2026-02-13" },
|
|
118
|
+
{ "providerID": "minimax", "id": "minimax-m2.7", "prices": [{ "input": 0.3, "output": 1.2, "cache": { "read": 0.06, "write": 0.375 } }], "released": "2026-03-18" },
|
|
119
|
+
{ "providerID": "minimax", "id": "minimax-m2.7-highspeed", "prices": [{ "input": 0.6, "output": 2.4, "cache": { "read": 0.06, "write": 0.375 } }], "released": "2026-03-18" },
|
|
120
|
+
{ "providerID": "minimax", "id": "minimax-m3", "prices": [{ "input": 0.3, "output": 1.2, "cache": { "read": 0.06 } }, { "input": 0.6, "output": 2.4, "cache": { "read": 0.12 }, "tier": { "type": "context", "size": 512000 } }], "released": "2026-06-01" },
|
|
121
|
+
{ "providerID": "mistral", "id": "codestral-latest", "prices": [{ "input": 0.3, "output": 0.9 }], "released": "2024-05-29" },
|
|
122
|
+
{ "providerID": "mistral", "id": "devstral-2512", "prices": [{ "input": 0.4, "output": 2 }], "released": "2025-12-09" },
|
|
123
|
+
{ "providerID": "mistral", "id": "devstral-latest", "prices": [{ "input": 0.4, "output": 2 }], "released": "2025-12-09" },
|
|
124
|
+
{ "providerID": "mistral", "id": "devstral-medium-2507", "prices": [{ "input": 0.4, "output": 2 }], "released": "2025-07-10" },
|
|
125
|
+
{ "providerID": "mistral", "id": "devstral-medium-latest", "prices": [{ "input": 0.4, "output": 2 }], "released": "2025-12-02" },
|
|
126
|
+
{ "providerID": "mistral", "id": "devstral-small-2505", "prices": [{ "input": 0.1, "output": 0.3 }], "released": "2025-05-07" },
|
|
127
|
+
{ "providerID": "mistral", "id": "devstral-small-2507", "prices": [{ "input": 0.1, "output": 0.3 }], "released": "2025-07-10" },
|
|
128
|
+
{ "providerID": "mistral", "id": "labs-devstral-small-2512", "prices": [{ "input": 0, "output": 0 }], "released": "2025-12-09" },
|
|
129
|
+
{ "providerID": "mistral", "id": "magistral-medium-latest", "prices": [{ "input": 2, "output": 5 }], "released": "2025-03-17" },
|
|
130
|
+
{ "providerID": "mistral", "id": "magistral-small", "prices": [{ "input": 0.5, "output": 1.5 }], "released": "2025-03-17" },
|
|
131
|
+
{ "providerID": "mistral", "id": "ministral-3b-latest", "prices": [{ "input": 0.04, "output": 0.04 }], "released": "2024-10-01" },
|
|
132
|
+
{ "providerID": "mistral", "id": "ministral-8b-latest", "prices": [{ "input": 0.1, "output": 0.1 }], "released": "2024-10-01" },
|
|
133
|
+
{ "providerID": "mistral", "id": "mistral-large-2411", "prices": [{ "input": 2, "output": 6 }], "released": "2024-11-18" },
|
|
134
|
+
{ "providerID": "mistral", "id": "mistral-large-2512", "prices": [{ "input": 0.5, "output": 1.5 }], "released": "2024-11-01" },
|
|
135
|
+
{ "providerID": "mistral", "id": "mistral-large-latest", "prices": [{ "input": 0.5, "output": 1.5 }], "released": "2024-11-01" },
|
|
136
|
+
{ "providerID": "mistral", "id": "mistral-medium-2505", "prices": [{ "input": 0.4, "output": 2 }], "released": "2025-05-07" },
|
|
137
|
+
{ "providerID": "mistral", "id": "mistral-medium-2508", "prices": [{ "input": 0.4, "output": 2 }], "released": "2025-08-12" },
|
|
138
|
+
{ "providerID": "mistral", "id": "mistral-medium-2604", "prices": [{ "input": 1.5, "output": 7.5 }], "released": "2026-04-29" },
|
|
139
|
+
{ "providerID": "mistral", "id": "mistral-medium-latest", "prices": [{ "input": 1.5, "output": 7.5 }], "released": "2026-04-29" },
|
|
140
|
+
{ "providerID": "mistral", "id": "mistral-nemo", "prices": [{ "input": 0.15, "output": 0.15 }], "released": "2024-07-01" },
|
|
141
|
+
{ "providerID": "mistral", "id": "mistral-small-2506", "prices": [{ "input": 0.1, "output": 0.3 }], "released": "2025-06-20" },
|
|
142
|
+
{ "providerID": "mistral", "id": "mistral-small-2603", "prices": [{ "input": 0.15, "output": 0.6 }], "released": "2026-03-16" },
|
|
143
|
+
{ "providerID": "mistral", "id": "mistral-small-latest", "prices": [{ "input": 0.15, "output": 0.6 }], "released": "2026-03-16" },
|
|
144
|
+
{ "providerID": "mistral", "id": "open-mistral-7b", "prices": [{ "input": 0.25, "output": 0.25 }], "released": "2023-09-27" },
|
|
145
|
+
{ "providerID": "mistral", "id": "open-mistral-nemo", "prices": [{ "input": 0.15, "output": 0.15 }], "released": "2024-07-01" },
|
|
146
|
+
{ "providerID": "mistral", "id": "open-mixtral-8x22b", "prices": [{ "input": 2, "output": 6 }], "released": "2024-04-17" },
|
|
147
|
+
{ "providerID": "mistral", "id": "open-mixtral-8x7b", "prices": [{ "input": 0.7, "output": 0.7 }], "released": "2023-12-11" },
|
|
148
|
+
{ "providerID": "mistral", "id": "pixtral-12b", "prices": [{ "input": 0.15, "output": 0.15 }], "released": "2024-09-01" },
|
|
149
|
+
{ "providerID": "mistral", "id": "pixtral-large-latest", "prices": [{ "input": 2, "output": 6 }], "released": "2024-11-01" },
|
|
150
|
+
{ "providerID": "mistral", "id": "voxtral-small-latest", "prices": [{ "input": 0.1, "output": 0.3 }], "released": "2025-07-15" },
|
|
151
|
+
{ "providerID": "moonshotai", "id": "kimi-k2.6", "prices": [{ "input": 0.95, "output": 4, "cache": { "read": 0.16 } }], "released": "2026-04-21" },
|
|
152
|
+
{ "providerID": "moonshotai", "id": "kimi-k2.7-code", "prices": [{ "input": 0.95, "output": 4, "cache": { "read": 0.19 } }], "released": "2026-06-12" },
|
|
153
|
+
{ "providerID": "moonshotai", "id": "kimi-k2.7-code-highspeed", "prices": [{ "input": 1.9, "output": 8, "cache": { "read": 0.38 } }], "released": "2026-06-12" },
|
|
154
|
+
{ "providerID": "moonshotai", "id": "kimi-k3", "prices": [{ "input": 3, "output": 15, "cache": { "read": 0.3 } }], "released": "2026-07-16" },
|
|
155
|
+
{ "providerID": "nvidia", "id": "nvidia/llama-3.1-nemotron-70b-instruct", "prices": [{ "input": 0, "output": 0 }], "released": "2025-04-15" },
|
|
156
|
+
{ "providerID": "nvidia", "id": "nvidia/llama-3.1-nemotron-nano-8b-v1", "prices": [{ "input": 0, "output": 0 }], "released": "2025-03-18" },
|
|
157
|
+
{ "providerID": "nvidia", "id": "nvidia/llama-3.1-nemotron-nano-vl-8b-v1", "prices": [{ "input": 0, "output": 0 }], "released": "2025-04-10" },
|
|
158
|
+
{ "providerID": "nvidia", "id": "nvidia/llama-3.1-nemotron-safety-guard-8b-v3", "prices": [{ "input": 0, "output": 0 }], "released": "2025-10-28" },
|
|
159
|
+
{ "providerID": "nvidia", "id": "nvidia/llama-3.1-nemotron-ultra-253b-v1", "prices": [{ "input": 0, "output": 0 }], "released": "2025-04-07" },
|
|
160
|
+
{ "providerID": "nvidia", "id": "nvidia/llama-3.3-nemotron-super-49b-v1", "prices": [{ "input": 0, "output": 0 }], "released": "2025-04-07" },
|
|
161
|
+
{ "providerID": "nvidia", "id": "nvidia/llama-3.3-nemotron-super-49b-v1.5", "prices": [{ "input": 0, "output": 0 }], "released": "2025-07-25" },
|
|
162
|
+
{ "providerID": "nvidia", "id": "nvidia/nemotron-3-content-safety", "prices": [{ "input": 0, "output": 0 }], "released": "2026-04-16" },
|
|
163
|
+
{ "providerID": "nvidia", "id": "nvidia/nemotron-3-nano-30b-a3b", "prices": [{ "input": 0, "output": 0 }] },
|
|
164
|
+
{ "providerID": "nvidia", "id": "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning", "prices": [{ "input": 0, "output": 0 }], "released": "2026-04-28" },
|
|
165
|
+
{ "providerID": "nvidia", "id": "nvidia/nemotron-3-super-120b-a12b", "prices": [{ "input": 0.2, "output": 0.8 }], "released": "2026-03-11" },
|
|
166
|
+
{ "providerID": "nvidia", "id": "nvidia/nemotron-3-ultra-550b-a55b", "prices": [{ "input": 0.5, "output": 2.5, "cache": { "read": 0.15 } }], "released": "2026-06-04" },
|
|
167
|
+
{ "providerID": "nvidia", "id": "nvidia/nemotron-3.5-lightning-30b-a3b", "prices": [{ "input": 0, "output": 0 }], "released": "2026-08-11" },
|
|
168
|
+
{ "providerID": "nvidia", "id": "nvidia/nemotron-content-safety-reasoning-4b", "prices": [{ "input": 0, "output": 0 }], "released": "2026-01-22" },
|
|
169
|
+
{ "providerID": "nvidia", "id": "nvidia/nemotron-mini-4b-instruct", "prices": [{ "input": 0, "output": 0 }], "released": "2024-08-21" },
|
|
170
|
+
{ "providerID": "nvidia", "id": "nvidia/nemotron-nano-12b-v2-vl", "prices": [{ "input": 0, "output": 0 }], "released": "2025-10-28" },
|
|
171
|
+
{ "providerID": "nvidia", "id": "nvidia/nemotron-voicechat", "prices": [{ "input": 0, "output": 0 }], "released": "2026-03-16" },
|
|
172
|
+
{ "providerID": "openai", "id": "gpt-3.5-turbo", "prices": [{ "input": 0.5, "output": 1.5, "cache": { "read": 0 } }], "released": "2023-03-01" },
|
|
173
|
+
{ "providerID": "openai", "id": "gpt-4", "prices": [{ "input": 30, "output": 60 }], "released": "2023-11-06" },
|
|
174
|
+
{ "providerID": "openai", "id": "gpt-4-turbo", "prices": [{ "input": 10, "output": 30 }], "released": "2023-11-06" },
|
|
175
|
+
{ "providerID": "openai", "id": "gpt-4.1", "prices": [{ "input": 2, "output": 8, "cache": { "read": 0.5 } }], "released": "2025-04-14" },
|
|
176
|
+
{ "providerID": "openai", "id": "gpt-4.1-mini", "prices": [{ "input": 0.4, "output": 1.6, "cache": { "read": 0.1 } }], "released": "2025-04-14" },
|
|
177
|
+
{ "providerID": "openai", "id": "gpt-4.1-nano", "prices": [{ "input": 0.1, "output": 0.4, "cache": { "read": 0.025 } }], "released": "2025-04-14" },
|
|
178
|
+
{ "providerID": "openai", "id": "gpt-4o", "prices": [{ "input": 2.5, "output": 10, "cache": { "read": 1.25 } }], "released": "2024-05-13" },
|
|
179
|
+
{ "providerID": "openai", "id": "gpt-4o-2024-05-13", "prices": [{ "input": 5, "output": 15 }], "released": "2024-05-13" },
|
|
180
|
+
{ "providerID": "openai", "id": "gpt-4o-2024-08-06", "prices": [{ "input": 2.5, "output": 10, "cache": { "read": 1.25 } }], "released": "2024-08-06" },
|
|
181
|
+
{ "providerID": "openai", "id": "gpt-4o-2024-11-20", "prices": [{ "input": 2.5, "output": 10, "cache": { "read": 1.25 } }], "released": "2024-11-20" },
|
|
182
|
+
{ "providerID": "openai", "id": "gpt-4o-mini", "prices": [{ "input": 0.15, "output": 0.6, "cache": { "read": 0.075 } }], "released": "2024-07-18" },
|
|
183
|
+
{ "providerID": "openai", "id": "gpt-5", "prices": [{ "input": 1.25, "output": 10, "cache": { "read": 0.125 } }], "released": "2025-08-07" },
|
|
184
|
+
{ "providerID": "openai", "id": "gpt-5-mini", "prices": [{ "input": 0.25, "output": 2, "cache": { "read": 0.025 } }], "released": "2025-08-07" },
|
|
185
|
+
{ "providerID": "openai", "id": "gpt-5-nano", "prices": [{ "input": 0.05, "output": 0.4, "cache": { "read": 0.005 } }], "released": "2025-08-07" },
|
|
186
|
+
{ "providerID": "openai", "id": "gpt-5-pro", "prices": [{ "input": 15, "output": 120 }], "released": "2025-10-06" },
|
|
187
|
+
{ "providerID": "openai", "id": "gpt-5.1", "prices": [{ "input": 1.25, "output": 10, "cache": { "read": 0.125 } }], "released": "2025-11-13" },
|
|
188
|
+
{ "providerID": "openai", "id": "gpt-5.2", "prices": [{ "input": 1.75, "output": 14, "cache": { "read": 0.175 } }], "released": "2025-12-11" },
|
|
189
|
+
{ "providerID": "openai", "id": "gpt-5.2-chat-latest", "prices": [{ "input": 1.75, "output": 14, "cache": { "read": 0.175 } }], "released": "2025-12-11" },
|
|
190
|
+
{ "providerID": "openai", "id": "gpt-5.2-pro", "prices": [{ "input": 21, "output": 168 }], "released": "2025-12-11" },
|
|
191
|
+
{ "providerID": "openai", "id": "gpt-5.3-chat-latest", "prices": [{ "input": 1.75, "output": 14, "cache": { "read": 0.175 } }], "released": "2026-03-03" },
|
|
192
|
+
{ "providerID": "openai", "id": "gpt-5.3-codex", "prices": [{ "input": 1.75, "output": 14, "cache": { "read": 0.175 } }], "released": "2026-02-05" },
|
|
193
|
+
{ "providerID": "openai", "id": "gpt-5.3-codex-spark", "prices": [{ "input": 1.75, "output": 14, "cache": { "read": 0.175 } }], "released": "2026-02-05" },
|
|
194
|
+
{ "providerID": "openai", "id": "gpt-5.4", "prices": [{ "input": 2.5, "output": 15, "cache": { "read": 0.25 } }, { "input": 5, "output": 22.5, "cache": { "read": 0.5 }, "tier": { "type": "context", "size": 272000 } }], "released": "2026-03-05" },
|
|
195
|
+
{ "providerID": "openai", "id": "gpt-5.4-fast", "providers": ["openai"], "prices": [{ "input": 5, "output": 30, "cache": { "read": 0.5 } }, { "tier": { "type": "context", "size": 272000 } }], "released": "2026-03-05" },
|
|
196
|
+
{ "providerID": "openai", "id": "gpt-5.4-mini", "prices": [{ "input": 0.75, "output": 4.5, "cache": { "read": 0.075 } }], "released": "2026-03-17" },
|
|
197
|
+
{ "providerID": "openai", "id": "gpt-5.4-mini-fast", "providers": ["openai"], "prices": [{ "input": 1.5, "output": 9, "cache": { "read": 0.15 } }], "released": "2026-03-17" },
|
|
198
|
+
{ "providerID": "openai", "id": "gpt-5.4-nano", "prices": [{ "input": 0.2, "output": 1.25, "cache": { "read": 0.02 } }], "released": "2026-03-17" },
|
|
199
|
+
{ "providerID": "openai", "id": "gpt-5.4-pro", "prices": [{ "input": 30, "output": 180 }, { "input": 60, "output": 270, "tier": { "type": "context", "size": 272000 } }], "released": "2026-03-05" },
|
|
200
|
+
{ "providerID": "openai", "id": "gpt-5.5", "prices": [{ "input": 5, "output": 30, "cache": { "read": 0.5 } }, { "input": 10, "output": 45, "cache": { "read": 1 }, "tier": { "type": "context", "size": 272000 } }], "released": "2026-04-23" },
|
|
201
|
+
{ "providerID": "openai", "id": "gpt-5.5-fast", "providers": ["openai"], "prices": [{ "input": 12.5, "output": 75, "cache": { "read": 1.25 } }, { "tier": { "type": "context", "size": 272000 } }], "released": "2026-04-23" },
|
|
202
|
+
{ "providerID": "openai", "id": "gpt-5.5-pro", "prices": [{ "input": 30, "output": 180 }, { "input": 60, "output": 270, "tier": { "type": "context", "size": 272000 } }], "released": "2026-04-23" },
|
|
203
|
+
{ "providerID": "openai", "id": "gpt-5.6", "prices": [{ "input": 4, "output": 20, "cache": { "read": 0.4, "write": 5 } }, { "input": 8, "output": 30, "cache": { "read": 0.8, "write": 10 }, "tier": { "type": "context", "size": 272000 } }], "released": "2026-07-09" },
|
|
204
|
+
{ "providerID": "openai", "id": "gpt-5.6-fast", "providers": ["openai"], "prices": [{ "input": 8, "output": 40, "cache": { "read": 0.8, "write": 10 } }, { "tier": { "type": "context", "size": 272000 } }], "released": "2026-07-09" },
|
|
205
|
+
{ "providerID": "openai", "id": "gpt-5.6-luna", "prices": [{ "input": 0.2, "output": 1.2, "cache": { "read": 0.02, "write": 0.25 } }, { "input": 0.4, "output": 1.8, "cache": { "read": 0.04, "write": 0.5 }, "tier": { "type": "context", "size": 272000 } }], "released": "2026-07-09" },
|
|
206
|
+
{ "providerID": "openai", "id": "gpt-5.6-luna-fast", "providers": ["openai"], "prices": [{ "input": 0.4, "output": 2.4, "cache": { "read": 0.04, "write": 0.5 } }, { "tier": { "type": "context", "size": 272000 } }], "released": "2026-07-09" },
|
|
207
|
+
{ "providerID": "openai", "id": "gpt-5.6-sol", "prices": [{ "input": 4, "output": 20, "cache": { "read": 0.4, "write": 5 } }, { "input": 8, "output": 30, "cache": { "read": 0.8, "write": 10 }, "tier": { "type": "context", "size": 272000 } }], "released": "2026-07-09" },
|
|
208
|
+
{ "providerID": "openai", "id": "gpt-5.6-sol-fast", "providers": ["openai"], "prices": [{ "input": 8, "output": 40, "cache": { "read": 0.8, "write": 10 } }, { "tier": { "type": "context", "size": 272000 } }], "released": "2026-07-09" },
|
|
209
|
+
{ "providerID": "openai", "id": "gpt-5.6-terra", "prices": [{ "input": 2, "output": 12, "cache": { "read": 0.2, "write": 2.5 } }, { "input": 4, "output": 18, "cache": { "read": 0.4, "write": 5 }, "tier": { "type": "context", "size": 272000 } }], "released": "2026-07-09" },
|
|
210
|
+
{ "providerID": "openai", "id": "gpt-5.6-terra-fast", "providers": ["openai"], "prices": [{ "input": 4, "output": 24, "cache": { "read": 0.4, "write": 5 } }, { "tier": { "type": "context", "size": 272000 } }], "released": "2026-07-09" },
|
|
211
|
+
{ "providerID": "openai", "id": "gpt-6-astra", "prices": [{ "input": 10, "output": 50, "cache": { "read": 1, "write": 12.5 } }, { "input": 20, "output": 75, "cache": { "read": 2, "write": 25 }, "tier": { "type": "context", "size": 272000 } }], "released": "2026-09-04" },
|
|
212
|
+
{ "providerID": "openai", "id": "gpt-6-astra-fast", "providers": ["openai"], "prices": [{ "input": 20, "output": 100, "cache": { "read": 2, "write": 25 } }, { "tier": { "type": "context", "size": 272000 } }], "released": "2026-09-04" },
|
|
213
|
+
{ "providerID": "openai", "id": "gpt-6-luna", "prices": [{ "input": 0.1, "output": 0.5, "cache": { "read": 0.01, "write": 0.125 } }, { "input": 0.2, "output": 0.75, "cache": { "read": 0.02, "write": 0.25 }, "tier": { "type": "context", "size": 272000 } }], "released": "2026-09-22" },
|
|
214
|
+
{ "providerID": "openai", "id": "gpt-6-luna-fast", "providers": ["openai"], "prices": [{ "input": 0.2, "output": 1, "cache": { "read": 0.02, "write": 0.25 } }, { "tier": { "type": "context", "size": 272000 } }], "released": "2026-09-22" },
|
|
215
|
+
{ "providerID": "openai", "id": "gpt-6-sol", "prices": [{ "input": 2, "output": 10, "cache": { "read": 0.2, "write": 2.5 } }, { "input": 4, "output": 15, "cache": { "read": 0.4, "write": 5 }, "tier": { "type": "context", "size": 272000 } }], "released": "2026-09-22" },
|
|
216
|
+
{ "providerID": "openai", "id": "gpt-6-sol-fast", "providers": ["openai"], "prices": [{ "input": 4, "output": 20, "cache": { "read": 0.4, "write": 5 } }, { "tier": { "type": "context", "size": 272000 } }], "released": "2026-09-22" },
|
|
217
|
+
{ "providerID": "openai", "id": "o1", "prices": [{ "input": 15, "output": 60, "cache": { "read": 7.5 } }], "released": "2024-12-05" },
|
|
218
|
+
{ "providerID": "openai", "id": "o1-pro", "prices": [{ "input": 150, "output": 600 }], "released": "2025-03-19" },
|
|
219
|
+
{ "providerID": "openai", "id": "o3", "prices": [{ "input": 2, "output": 8, "cache": { "read": 0.5 } }], "released": "2025-04-16" },
|
|
220
|
+
{ "providerID": "openai", "id": "o3-mini", "prices": [{ "input": 1.1, "output": 4.4, "cache": { "read": 0.55 } }], "released": "2024-12-20" },
|
|
221
|
+
{ "providerID": "openai", "id": "o3-pro", "prices": [{ "input": 20, "output": 80 }], "released": "2025-06-10" },
|
|
222
|
+
{ "providerID": "openai", "id": "o4-mini", "prices": [{ "input": 1.1, "output": 4.4, "cache": { "read": 0.275 } }], "released": "2025-04-16" },
|
|
223
|
+
{ "providerID": "perplexity", "id": "sonar", "prices": [{ "input": 1, "output": 1 }], "released": "2024-01-01" },
|
|
224
|
+
{ "providerID": "perplexity", "id": "sonar-deep-research", "prices": [{ "input": 2, "output": 8, "reasoning": 3 }], "released": "2025-02-01" },
|
|
225
|
+
{ "providerID": "perplexity", "id": "sonar-pro", "prices": [{ "input": 3, "output": 15 }], "released": "2024-01-01" },
|
|
226
|
+
{ "providerID": "perplexity", "id": "sonar-reasoning-pro", "prices": [{ "input": 2, "output": 8 }], "released": "2024-01-01" },
|
|
227
|
+
{ "providerID": "sakana", "id": "fugu-ultra", "prices": [{ "input": 5, "output": 30, "cache": { "read": 0.5 } }, { "input": 10, "output": 45, "cache": { "read": 1 }, "tier": { "type": "context", "size": 272000 } }], "released": "2026-06-15" },
|
|
228
|
+
{ "providerID": "sakana", "id": "fugu-ultra-20260615", "prices": [{ "input": 5, "output": 30, "cache": { "read": 0.5 } }, { "input": 10, "output": 45, "cache": { "read": 1 }, "tier": { "type": "context", "size": 272000 } }], "released": "2026-06-15" },
|
|
229
|
+
{ "providerID": "sakana", "id": "sakana-namazu", "prices": [{ "input": 0.95, "output": 4, "cache": { "read": 0.15 } }], "released": "2026-08-03" },
|
|
230
|
+
{ "providerID": "stepfun-ai", "id": "step-1-32k", "prices": [{ "input": 2.05, "output": 9.59, "cache": { "read": 0.41 } }], "released": "2025-01-01" },
|
|
231
|
+
{ "providerID": "stepfun-ai", "id": "step-2-16k", "prices": [{ "input": 5.21, "output": 16.44, "cache": { "read": 1.04 } }], "released": "2025-01-01" },
|
|
232
|
+
{ "providerID": "stepfun-ai", "id": "step-3.5-flash", "prices": [{ "input": 0.1, "output": 0.3, "cache": { "read": 0.02 } }], "released": "2026-01-29" },
|
|
233
|
+
{ "providerID": "stepfun-ai", "id": "step-3.5-flash-2603", "prices": [{ "input": 0.1, "output": 0.3, "cache": { "read": 0.02 } }], "released": "2026-04-02" },
|
|
234
|
+
{ "providerID": "stepfun-ai", "id": "step-3.7-flash", "prices": [{ "input": 0.185, "output": 1.11, "cache": { "read": 0.037 } }], "released": "2026-05-29" },
|
|
235
|
+
{ "providerID": "stepfun-ai", "id": "step-5-preview", "prices": [{ "input": 1, "output": 2.7, "cache": { "read": 0.05 } }], "released": "2026-09-16" },
|
|
236
|
+
{ "providerID": "tencent-tokenhub", "id": "hy4-preview", "prices": [{ "input": 0.834, "output": 2.501, "cache": { "read": 0.042 } }], "released": "2026-08-28" },
|
|
237
|
+
{ "providerID": "upstage", "id": "solar-mini", "prices": [{ "input": 0.15, "output": 0.15 }], "released": "2024-06-12" },
|
|
238
|
+
{ "providerID": "upstage", "id": "solar-pro2", "prices": [{ "input": 0.25, "output": 0.25 }], "released": "2025-05-20" },
|
|
239
|
+
{ "providerID": "upstage", "id": "solar-pro3", "prices": [{ "input": 0.25, "output": 0.25 }] },
|
|
240
|
+
{ "providerID": "upstage", "id": "solar-pro4", "prices": [{ "input": 0.3, "output": 1.2, "cache": { "read": 0.06 } }], "released": "2026-08-06" },
|
|
241
|
+
{ "providerID": "volcengine", "id": "doubao-seed-1-6-251015", "prices": [{ "input": 0.11875, "output": 1.18747, "cache": { "read": 0.02375 } }, { "input": 0.17812, "output": 2.37494, "cache": { "read": 0.02375 }, "tier": { "type": "context", "size": 32000 } }, { "input": 0.35624, "output": 3.56241, "cache": { "read": 0.02375 }, "tier": { "type": "context", "size": 128000 } }], "released": "2025-10-15" },
|
|
242
|
+
{ "providerID": "volcengine", "id": "doubao-seed-1-6-flash-250828", "prices": [{ "input": 0.02227, "output": 0.22265, "cache": { "read": 0.00445 } }, { "input": 0.04453, "output": 0.4453, "cache": { "read": 0.00445 }, "tier": { "type": "context", "size": 32000 } }, { "input": 0.08906, "output": 0.8906, "cache": { "read": 0.00445 }, "tier": { "type": "context", "size": 128000 } }], "released": "2025-08-28" },
|
|
243
|
+
{ "providerID": "volcengine", "id": "doubao-seed-1-6-vision-250815", "prices": [{ "input": 0.11875, "output": 1.18747, "cache": { "read": 0.02375 } }, { "input": 0.17812, "output": 2.37494, "cache": { "read": 0.02375 }, "tier": { "type": "context", "size": 32000 } }, { "input": 0.35624, "output": 3.56241, "cache": { "read": 0.02375 }, "tier": { "type": "context", "size": 128000 } }], "released": "2025-08-15" },
|
|
244
|
+
{ "providerID": "volcengine", "id": "doubao-seed-1-8-251228", "prices": [{ "input": 0.11875, "output": 1.18747, "cache": { "read": 0.02375 } }, { "input": 0.17812, "output": 2.37494, "cache": { "read": 0.02375 }, "tier": { "type": "context", "size": 32000 } }, { "input": 0.35624, "output": 3.56241, "cache": { "read": 0.02375 }, "tier": { "type": "context", "size": 128000 } }], "released": "2025-12-28" },
|
|
245
|
+
{ "providerID": "volcengine", "id": "doubao-seed-2-0-code-preview-260215", "prices": [{ "input": 0.47499, "output": 2.37494, "cache": { "read": 0.095 } }, { "input": 0.71248, "output": 3.56241, "cache": { "read": 0.1425 }, "tier": { "type": "context", "size": 32000 } }, { "input": 1.42496, "output": 7.12482, "cache": { "read": 0.28499 }, "tier": { "type": "context", "size": 128000 } }], "released": "2026-02-14" },
|
|
246
|
+
{ "providerID": "volcengine", "id": "doubao-seed-2-0-lite-260428", "prices": [{ "input": 0.08906, "output": 0.53436, "cache": { "read": 0.01781 } }, { "input": 0.13359, "output": 0.80154, "cache": { "read": 0.02672 }, "tier": { "type": "context", "size": 32000 } }, { "input": 0.26718, "output": 1.60308, "cache": { "read": 0.05344 }, "tier": { "type": "context", "size": 128000 } }], "released": "2026-02-14" },
|
|
247
|
+
{ "providerID": "volcengine", "id": "doubao-seed-2-0-mini-260428", "prices": [{ "input": 0.02969, "output": 0.29687, "cache": { "read": 0.00594 } }, { "input": 0.05937, "output": 0.59374, "cache": { "read": 0.01187 }, "tier": { "type": "context", "size": 32000 } }, { "input": 0.11875, "output": 1.18747, "cache": { "read": 0.02375 }, "tier": { "type": "context", "size": 128000 } }], "released": "2026-02-14" },
|
|
248
|
+
{ "providerID": "volcengine", "id": "doubao-seed-2-0-pro-260215", "prices": [{ "input": 0.47499, "output": 2.37494, "cache": { "read": 0.095 } }, { "input": 0.71248, "output": 3.56241, "cache": { "read": 0.1425 }, "tier": { "type": "context", "size": 32000 } }, { "input": 1.42496, "output": 7.12482, "cache": { "read": 0.28499 }, "tier": { "type": "context", "size": 128000 } }], "released": "2026-02-14" },
|
|
249
|
+
{ "providerID": "volcengine", "id": "doubao-seed-2-1-pro-260628", "prices": [{ "input": 0.8906, "output": 4.45301, "cache": { "read": 0.17812 } }], "released": "2026-06-23" },
|
|
250
|
+
{ "providerID": "volcengine", "id": "doubao-seed-2-1-turbo-260628", "prices": [{ "input": 0.4453, "output": 2.22651, "cache": { "read": 0.08906 } }], "released": "2026-06-23" },
|
|
251
|
+
{ "providerID": "volcengine", "id": "doubao-seed-character-260628", "prices": [{ "input": 0.11875, "output": 0.29687, "cache": { "read": 0.02375 } }, { "input": 0.17812, "output": 0.8906, "cache": { "read": 0.02375 }, "tier": { "type": "context", "size": 32000 } }], "released": "2026-06-23" },
|
|
252
|
+
{ "providerID": "volcengine", "id": "doubao-seed-evolving", "prices": [{ "input": 0.8906, "output": 4.45301, "cache": { "read": 0.17812 } }], "released": "2026-06-23" },
|
|
253
|
+
{ "providerID": "xai", "id": "grok-4.20-0309-non-reasoning", "prices": [{ "input": 1.25, "output": 2.5, "cache": { "read": 0.2 } }, { "input": 2.5, "output": 5, "cache": { "read": 0.4 }, "tier": { "type": "context", "size": 199999 } }], "released": "2026-03-09" },
|
|
254
|
+
{ "providerID": "xai", "id": "grok-4.20-0309-reasoning", "prices": [{ "input": 1.25, "output": 2.5, "cache": { "read": 0.2 } }, { "input": 2.5, "output": 5, "cache": { "read": 0.4 }, "tier": { "type": "context", "size": 199999 } }], "released": "2026-03-09" },
|
|
255
|
+
{ "providerID": "xai", "id": "grok-4.20-multi-agent-0309", "prices": [{ "input": 1.25, "output": 2.5, "cache": { "read": 0.2 } }, { "input": 2.5, "output": 5, "cache": { "read": 0.4 }, "tier": { "type": "context", "size": 199999 } }], "released": "2026-03-09" },
|
|
256
|
+
{ "providerID": "xai", "id": "grok-4.3", "prices": [{ "input": 1.25, "output": 2.5, "cache": { "read": 0.2 } }, { "input": 2.5, "output": 5, "cache": { "read": 0.4 }, "tier": { "type": "context", "size": 199999 } }], "released": "2026-04-17" },
|
|
257
|
+
{ "providerID": "xai", "id": "grok-4.5", "prices": [{ "input": 2, "output": 6, "cache": { "read": 0.3 } }, { "input": 4, "output": 12, "cache": { "read": 0.6 }, "tier": { "type": "context", "size": 199999 } }], "released": "2026-07-08" },
|
|
258
|
+
{ "providerID": "xai", "id": "grok-4.6", "prices": [{ "input": 2, "output": 6, "cache": { "read": 0.5 } }, { "input": 4, "output": 12, "cache": { "read": 1 }, "tier": { "type": "context", "size": 199999 } }], "released": "2026-08-12" },
|
|
259
|
+
{ "providerID": "xai", "id": "grok-4.7", "prices": [{ "input": 2, "output": 6, "cache": { "read": 0.5 } }, { "input": 4, "output": 12, "cache": { "read": 1 }, "tier": { "type": "context", "size": 199999 } }], "released": "2026-09-21" },
|
|
260
|
+
{ "providerID": "xai", "id": "grok-build-0.1", "prices": [{ "input": 1, "output": 2, "cache": { "read": 0.2 } }, { "input": 2, "output": 4, "cache": { "read": 0.4 }, "tier": { "type": "context", "size": 199999 } }], "released": "2026-04-16" },
|
|
261
|
+
{ "providerID": "xiaomi", "id": "mimo-v2-flash", "prices": [{ "input": 0.14, "output": 0.28, "cache": { "read": 0.0028 } }], "released": "2025-12-16" },
|
|
262
|
+
{ "providerID": "xiaomi", "id": "mimo-v2-omni", "prices": [{ "input": 0.14, "output": 0.28, "cache": { "read": 0.0028 } }], "released": "2026-03-18" },
|
|
263
|
+
{ "providerID": "xiaomi", "id": "mimo-v2-pro", "prices": [{ "input": 0.435, "output": 0.87, "cache": { "read": 0.0036 } }], "released": "2026-03-18" },
|
|
264
|
+
{ "providerID": "xiaomi", "id": "mimo-v2.5", "prices": [{ "input": 0.14, "output": 0.28, "cache": { "read": 0.0028 } }], "released": "2026-04-22" },
|
|
265
|
+
{ "providerID": "xiaomi", "id": "mimo-v2.5-pro", "prices": [{ "input": 0.435, "output": 0.87, "cache": { "read": 0.0036 } }], "released": "2026-04-22" },
|
|
266
|
+
{ "providerID": "xiaomi", "id": "mimo-v2.5-pro-ultraspeed", "prices": [{ "input": 1.305, "output": 2.61, "cache": { "read": 0.0108 } }], "released": "2026-06-08" },
|
|
267
|
+
{ "providerID": "xiaomi", "id": "mimo-v2.6-flash", "prices": [{ "input": 0.14, "output": 0.28, "cache": { "read": 0.0028 } }], "released": "2026-09-22" },
|
|
268
|
+
{ "providerID": "xiaomi", "id": "mimo-v2.6-pro", "prices": [{ "input": 0.435, "output": 0.87, "cache": { "read": 0.0036 } }], "released": "2026-09-22" },
|
|
269
|
+
{ "providerID": "xiaomi", "id": "mimo-v2.6-pro-ultraspeed", "prices": [{ "input": 4.35, "output": 8.7, "cache": { "read": 0.036 } }], "released": "2026-09-21" },
|
|
270
|
+
{ "providerID": "zai", "id": "glm-4.5", "prices": [{ "input": 0.6, "output": 2.2, "cache": { "read": 0.11 } }], "released": "2025-07-28" },
|
|
271
|
+
{ "providerID": "zai", "id": "glm-4.5-air", "prices": [{ "input": 0.2, "output": 1.1, "cache": { "read": 0.03 } }], "released": "2025-07-28" },
|
|
272
|
+
{ "providerID": "zai", "id": "glm-4.5-flash", "prices": [{ "input": 0, "output": 0, "cache": { "read": 0 } }], "released": "2025-07-28" },
|
|
273
|
+
{ "providerID": "zai", "id": "glm-4.5v", "prices": [{ "input": 0.6, "output": 1.8 }], "released": "2025-08-11" },
|
|
274
|
+
{ "providerID": "zai", "id": "glm-4.6", "prices": [{ "input": 0.6, "output": 2.2, "cache": { "read": 0.11 } }], "released": "2025-09-30" },
|
|
275
|
+
{ "providerID": "zai", "id": "glm-4.6v", "prices": [{ "input": 0.3, "output": 0.9 }], "released": "2025-12-08" },
|
|
276
|
+
{ "providerID": "zai", "id": "glm-4.6v-flash", "prices": [{ "input": 0, "output": 0, "cache": { "read": 0 } }], "released": "2025-12-08" },
|
|
277
|
+
{ "providerID": "zai", "id": "glm-4.7", "prices": [{ "input": 0.6, "output": 2.2, "cache": { "read": 0.11 } }], "released": "2025-12-22" },
|
|
278
|
+
{ "providerID": "zai", "id": "glm-4.7-flash", "prices": [{ "input": 0, "output": 0, "cache": { "read": 0 } }], "released": "2026-01-19" },
|
|
279
|
+
{ "providerID": "zai", "id": "glm-4.7-flashx", "prices": [{ "input": 0.07, "output": 0.4, "cache": { "read": 0.01 } }], "released": "2026-01-19" },
|
|
280
|
+
{ "providerID": "zai", "id": "glm-5", "prices": [{ "input": 1, "output": 3.2, "cache": { "read": 0.2 } }], "released": "2026-02-12" },
|
|
281
|
+
{ "providerID": "zai", "id": "glm-5-turbo", "prices": [{ "input": 1.2, "output": 4, "cache": { "read": 0.24 } }], "released": "2026-03-16" },
|
|
282
|
+
{ "providerID": "zai", "id": "glm-5.1", "prices": [{ "input": 1.4, "output": 4.4, "cache": { "read": 0.26 } }], "released": "2026-04-07" },
|
|
283
|
+
{ "providerID": "zai", "id": "glm-5.2", "prices": [{ "input": 1.4, "output": 4.4, "cache": { "read": 0.26 } }], "released": "2026-06-13" },
|
|
284
|
+
{ "providerID": "zai", "id": "glm-5.3", "prices": [{ "input": 1.4, "output": 4.4, "cache": { "read": 0.26 } }], "released": "2026-08-14" },
|
|
285
|
+
{ "providerID": "zai", "id": "glm-5.3-flash", "prices": [{ "input": 0.15, "output": 0.5, "cache": { "read": 0.03 } }], "released": "2026-08-26" },
|
|
286
|
+
{ "providerID": "zai", "id": "glm-5.3-flashx", "prices": [{ "input": 0.37, "output": 1.25, "cache": { "read": 0.075 } }], "released": "2026-09-18" },
|
|
287
|
+
{ "providerID": "zai", "id": "glm-5v-turbo", "prices": [{ "input": 1.2, "output": 4, "cache": { "read": 0.24 } }], "released": "2026-04-01" },
|
|
288
|
+
],
|
|
289
|
+
};
|
package/dist/pricing.d.ts
CHANGED
|
@@ -1,198 +1,23 @@
|
|
|
1
1
|
import type { ModelRef, Price } from "./usage.js";
|
|
2
2
|
export interface OfficialPriceEntry {
|
|
3
|
-
/**
|
|
3
|
+
/** Manufacturer, never the provider of a gateway quote. */
|
|
4
|
+
providerID: string;
|
|
4
5
|
id: string;
|
|
5
|
-
/**
|
|
6
|
-
released: string;
|
|
7
|
-
/** Exact alternate IDs used by supported gateways or manufacturer aliases. */
|
|
8
|
-
aliases?: readonly string[];
|
|
9
|
-
/** Provider IDs where this rate is available, when it is not a general model rate. */
|
|
10
|
-
providers?: readonly string[];
|
|
11
|
-
/** Published API token rates in USD per million tokens. */
|
|
6
|
+
/** USD per million tokens, using OpenCode's exclusive context tiers. */
|
|
12
7
|
prices: readonly Price[];
|
|
13
|
-
/** Manufacturer pricing page used to verify the rates. */
|
|
14
8
|
source: string;
|
|
9
|
+
released?: string;
|
|
10
|
+
/** Limited first-party SKUs, such as Fast processing. */
|
|
11
|
+
providers?: readonly string[];
|
|
12
|
+
reason?: string;
|
|
15
13
|
}
|
|
14
|
+
/** Checked-in data: updating prices is explicit, not a network request at
|
|
15
|
+
* startup, during a refresh, or during an npm build. */
|
|
16
16
|
export declare const OFFICIAL_PRICE_SNAPSHOT: {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
id: string;
|
|
21
|
-
released: string;
|
|
22
|
-
source: string;
|
|
23
|
-
prices: ({
|
|
24
|
-
input: number;
|
|
25
|
-
output: number;
|
|
26
|
-
cache: {
|
|
27
|
-
read: number;
|
|
28
|
-
};
|
|
29
|
-
tier?: never;
|
|
30
|
-
} | {
|
|
31
|
-
tier: {
|
|
32
|
-
type: "context";
|
|
33
|
-
size: number;
|
|
34
|
-
};
|
|
35
|
-
input: number;
|
|
36
|
-
output: number;
|
|
37
|
-
cache: {
|
|
38
|
-
read: number;
|
|
39
|
-
};
|
|
40
|
-
})[];
|
|
41
|
-
providers?: never;
|
|
42
|
-
aliases?: never;
|
|
43
|
-
} | {
|
|
44
|
-
id: string;
|
|
45
|
-
providers: string[];
|
|
46
|
-
released: string;
|
|
47
|
-
source: string;
|
|
48
|
-
prices: ({
|
|
49
|
-
input: number;
|
|
50
|
-
output: number;
|
|
51
|
-
cache: {
|
|
52
|
-
read: number;
|
|
53
|
-
};
|
|
54
|
-
tier?: never;
|
|
55
|
-
} | {
|
|
56
|
-
tier: {
|
|
57
|
-
type: "context";
|
|
58
|
-
size: number;
|
|
59
|
-
};
|
|
60
|
-
input?: never;
|
|
61
|
-
output?: never;
|
|
62
|
-
cache?: never;
|
|
63
|
-
})[];
|
|
64
|
-
aliases?: never;
|
|
65
|
-
} | {
|
|
66
|
-
id: string;
|
|
67
|
-
released: string;
|
|
68
|
-
source: string;
|
|
69
|
-
prices: ({
|
|
70
|
-
input: number;
|
|
71
|
-
output: number;
|
|
72
|
-
tier?: never;
|
|
73
|
-
} | {
|
|
74
|
-
tier: {
|
|
75
|
-
type: "context";
|
|
76
|
-
size: number;
|
|
77
|
-
};
|
|
78
|
-
input: number;
|
|
79
|
-
output: number;
|
|
80
|
-
})[];
|
|
81
|
-
providers?: never;
|
|
82
|
-
aliases?: never;
|
|
83
|
-
} | {
|
|
84
|
-
id: string;
|
|
85
|
-
released: string;
|
|
86
|
-
source: string;
|
|
87
|
-
prices: ({
|
|
88
|
-
input: number;
|
|
89
|
-
output: number;
|
|
90
|
-
cache: {
|
|
91
|
-
read: number;
|
|
92
|
-
write: number;
|
|
93
|
-
};
|
|
94
|
-
tier?: never;
|
|
95
|
-
} | {
|
|
96
|
-
tier: {
|
|
97
|
-
type: "context";
|
|
98
|
-
size: number;
|
|
99
|
-
};
|
|
100
|
-
input: number;
|
|
101
|
-
output: number;
|
|
102
|
-
cache: {
|
|
103
|
-
read: number;
|
|
104
|
-
write: number;
|
|
105
|
-
};
|
|
106
|
-
})[];
|
|
107
|
-
providers?: never;
|
|
108
|
-
aliases?: never;
|
|
109
|
-
} | {
|
|
110
|
-
id: string;
|
|
111
|
-
providers: string[];
|
|
112
|
-
released: string;
|
|
113
|
-
source: string;
|
|
114
|
-
prices: ({
|
|
115
|
-
input: number;
|
|
116
|
-
output: number;
|
|
117
|
-
cache: {
|
|
118
|
-
read: number;
|
|
119
|
-
write: number;
|
|
120
|
-
};
|
|
121
|
-
tier?: never;
|
|
122
|
-
} | {
|
|
123
|
-
tier: {
|
|
124
|
-
type: "context";
|
|
125
|
-
size: number;
|
|
126
|
-
};
|
|
127
|
-
input: number;
|
|
128
|
-
output: number;
|
|
129
|
-
cache: {
|
|
130
|
-
read: number;
|
|
131
|
-
write: number;
|
|
132
|
-
};
|
|
133
|
-
})[];
|
|
134
|
-
aliases?: never;
|
|
135
|
-
} | {
|
|
136
|
-
id: string;
|
|
137
|
-
aliases: string[];
|
|
138
|
-
released: string;
|
|
139
|
-
source: string;
|
|
140
|
-
prices: {
|
|
141
|
-
input: number;
|
|
142
|
-
output: number;
|
|
143
|
-
cache: {
|
|
144
|
-
read: number;
|
|
145
|
-
write: number;
|
|
146
|
-
};
|
|
147
|
-
}[];
|
|
148
|
-
providers?: never;
|
|
149
|
-
} | {
|
|
150
|
-
id: string;
|
|
151
|
-
aliases: string[];
|
|
152
|
-
released: string;
|
|
153
|
-
source: string;
|
|
154
|
-
prices: ({
|
|
155
|
-
input: number;
|
|
156
|
-
output: number;
|
|
157
|
-
tier?: never;
|
|
158
|
-
} | {
|
|
159
|
-
tier: {
|
|
160
|
-
type: "context";
|
|
161
|
-
size: number;
|
|
162
|
-
};
|
|
163
|
-
input: number;
|
|
164
|
-
output: number;
|
|
165
|
-
})[];
|
|
166
|
-
providers?: never;
|
|
167
|
-
} | {
|
|
168
|
-
id: string;
|
|
169
|
-
aliases: string[];
|
|
170
|
-
released: string;
|
|
171
|
-
source: string;
|
|
172
|
-
prices: ({
|
|
173
|
-
input: number;
|
|
174
|
-
output: number;
|
|
175
|
-
cache: {
|
|
176
|
-
read: number;
|
|
177
|
-
};
|
|
178
|
-
tier?: never;
|
|
179
|
-
} | {
|
|
180
|
-
tier: {
|
|
181
|
-
type: "context";
|
|
182
|
-
size: number;
|
|
183
|
-
};
|
|
184
|
-
input: number;
|
|
185
|
-
output: number;
|
|
186
|
-
cache: {
|
|
187
|
-
read: number;
|
|
188
|
-
};
|
|
189
|
-
})[];
|
|
190
|
-
providers?: never;
|
|
191
|
-
})[];
|
|
17
|
+
verified: "2026-09-25";
|
|
18
|
+
source: "https://models.dev/api.json";
|
|
19
|
+
entries: OfficialPriceEntry[];
|
|
192
20
|
};
|
|
193
|
-
/**
|
|
194
|
-
*
|
|
195
|
-
* performs substring or model-name matching, so similarly named variants do
|
|
196
|
-
* not silently inherit a different model's price.
|
|
197
|
-
*/
|
|
21
|
+
/** Exact first-party model IDs and known gateway wrappers only. A bare ID may
|
|
22
|
+
* resolve at a gateway only when it is unique across manufacturer catalogs. */
|
|
198
23
|
export declare function officialPrice(model: ModelRef): OfficialPriceEntry | undefined;
|