agent-cost-analyzer 0.0.0 → 0.16.0

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.
Files changed (47) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +72 -5
  3. package/THIRD-PARTY-NOTICES.md +3510 -0
  4. package/bin/agent-cost-analyzer.js +22 -0
  5. package/bin/node-gate.js +41 -0
  6. package/dist/cli.js +315313 -0
  7. package/dist/data/learn-scripts/cache-basics.json +163 -0
  8. package/dist/data/learn-scripts/cache-ttl-1-hour-breakpoint.json +176 -0
  9. package/dist/data/learn-scripts/cache-ttl-smoke-break.json +190 -0
  10. package/dist/data/learn-scripts/cascading-model-switch-then-ttl-lapse.json +121 -0
  11. package/dist/data/learn-scripts/clear.json +133 -0
  12. package/dist/data/learn-scripts/compaction.json +98 -0
  13. package/dist/data/learn-scripts/image-attachment-invalidation.json +108 -0
  14. package/dist/data/learn-scripts/inline-exploration-bloat.json +115 -0
  15. package/dist/data/learn-scripts/instructions-edit.json +99 -0
  16. package/dist/data/learn-scripts/mcp-tool-change.json +93 -0
  17. package/dist/data/learn-scripts/model-switch.json +88 -0
  18. package/dist/data/learn-scripts/reasoning-budget-toggle.json +98 -0
  19. package/dist/data/learn-scripts/rewind.json +139 -0
  20. package/dist/data/learn-scripts/session-forking-multi-branch.json +124 -0
  21. package/dist/data/learn-scripts/session-forking.json +99 -0
  22. package/dist/data/learn-scripts/silent-instructions-pullin.json +104 -0
  23. package/dist/data/learn-scripts/subagent-cheaper-model.json +70 -0
  24. package/dist/data/learn-scripts/subagent-session.json +70 -0
  25. package/dist/data/price-book/anthropic-api.json +662 -0
  26. package/dist/data/price-book/github-copilot.json +1402 -0
  27. package/dist/data/price-book/google-api.json +507 -0
  28. package/dist/data/price-book/openai-api.json +1184 -0
  29. package/dist/data/vendor-profiles/anthropic.json +568 -0
  30. package/dist/data/vendor-profiles/google.json +190 -0
  31. package/dist/data/vendor-profiles/microsoft.json +96 -0
  32. package/dist/data/vendor-profiles/moonshot.json +115 -0
  33. package/dist/data/vendor-profiles/openai.json +442 -0
  34. package/dist/data/vendor-profiles/xai.json +217 -0
  35. package/dist/mcp-apps/views.html +124 -0
  36. package/dist/web/assets/commit-mono-latin-400-normal-s0S3qwFW.woff +0 -0
  37. package/dist/web/assets/commit-mono-latin-400-normal-wzhe4RuD.woff2 +0 -0
  38. package/dist/web/assets/commit-mono-latin-700-normal-1-GU0IUE.woff +0 -0
  39. package/dist/web/assets/commit-mono-latin-700-normal-DU8mrtj2.woff2 +0 -0
  40. package/dist/web/assets/index-DeqVluBu.js +76 -0
  41. package/dist/web/assets/index-EJpifWDV.css +1 -0
  42. package/dist/web/assets/source-serif-4-latin-400-normal-C1O10bxN.woff +0 -0
  43. package/dist/web/assets/source-serif-4-latin-400-normal-DJ5YJwmz.woff2 +0 -0
  44. package/dist/web/assets/source-serif-4-latin-600-normal-DeJomR3S.woff +0 -0
  45. package/dist/web/assets/source-serif-4-latin-600-normal-DouSKlru.woff2 +0 -0
  46. package/dist/web/index.html +32 -0
  47. package/package.json +18 -4
@@ -0,0 +1,662 @@
1
+ {
2
+ "channel": "anthropic-api",
3
+ "sources": [
4
+ {
5
+ "id": "anthropic-api-pricing-table",
6
+ "title": "Anthropic: Pricing, model pricing table",
7
+ "url": "https://platform.claude.com/docs/en/about-claude/pricing#model-pricing",
8
+ "quote": "| Model | Base input tokens | 5m cache writes | 1h cache writes | Cache hits and refreshes | Output tokens |",
9
+ "checkedAt": "2026-11-05"
10
+ },
11
+ {
12
+ "id": "anthropic-api-pricing-cache-writes",
13
+ "title": "Anthropic: Pricing, prompt caching multipliers (cache writes)",
14
+ "url": "https://platform.claude.com/docs/en/about-claude/pricing#prompt-caching",
15
+ "quote": "5-minute cache write | 1.25x base input price | Cache valid for 5 minutes; 1-hour cache write | 2x base input price | Cache valid for 1 hour",
16
+ "checkedAt": "2026-11-05"
17
+ },
18
+ {
19
+ "id": "anthropic-api-pricing-cache-reads",
20
+ "title": "Anthropic: Pricing, prompt caching multipliers (cache reads)",
21
+ "url": "https://platform.claude.com/docs/en/about-claude/pricing#prompt-caching",
22
+ "quote": "Cache read (hit) | 0.1x base input price (0.025x on Claude Fable 5.1 and Claude Mythos 5.1; 0.05x on Claude Opus 5.5 and Claude Sonnet 5.5)",
23
+ "checkedAt": "2026-11-05"
24
+ },
25
+ {
26
+ "id": "anthropic-api-pricing-long-context",
27
+ "title": "Anthropic: Pricing, long context pricing",
28
+ "url": "https://platform.claude.com/docs/en/about-claude/pricing#long-context-pricing",
29
+ "quote": "Claude Haiku 5.5 is priced by prompt length: a request whose prompt is over 100,000 tokens pays higher prices. A request’s prompt length counts all of its input tokens, including cache reads and cache writes.",
30
+ "checkedAt": "2026-11-05"
31
+ },
32
+ {
33
+ "id": "anthropic-api-pricing-fast-mode",
34
+ "title": "Anthropic: Pricing, fast mode pricing",
35
+ "url": "https://platform.claude.com/docs/en/about-claude/pricing#fast-mode-pricing",
36
+ "quote": "| Claude Opus 5.5 | $8 USD / MTok | $40 USD / MTok | ... | Claude Opus 5 / Claude Opus 4.8 | $10 USD / MTok | $50 USD / MTok |",
37
+ "checkedAt": "2026-11-05"
38
+ },
39
+ {
40
+ "id": "anthropic-api-pricing-fast-mode-caching",
41
+ "title": "Anthropic: Pricing, fast mode pricing (stacking)",
42
+ "url": "https://platform.claude.com/docs/en/about-claude/pricing#fast-mode-pricing",
43
+ "quote": "Prompt caching multipliers apply on top of fast mode pricing.",
44
+ "checkedAt": "2026-11-05"
45
+ },
46
+ {
47
+ "id": "anthropic-api-notes-2026-10-07-sonnet-5-5-cache",
48
+ "title": "Claude Platform release notes, October 7, 2026 (Sonnet 5.5 cache reads)",
49
+ "url": "https://platform.claude.com/docs/en/release-notes/overview",
50
+ "quote": "We’ve lowered the price of prompt cache reads on Claude Sonnet 5.5 from $0.20 USD to $0.10 USD per million tokens: 0.05x the base input price instead of 0.1x. Cache writes and all other prices are unchanged.",
51
+ "checkedAt": "2026-11-05"
52
+ },
53
+ {
54
+ "id": "anthropic-api-news-haiku-5-5",
55
+ "title": "Anthropic: Introducing Claude Haiku 5.5 (October 7, 2026)",
56
+ "url": "https://www.anthropic.com/news/claude-haiku-5-5",
57
+ "quote": "Cache reads $0.01 / $0.05 ... Cache writes $0.125 / $0.625 ... Input tokens $0.10 / $0.50 ... Output tokens $0.50 / $2.50 (Haiku 5.5 prompts up to / over 100k)",
58
+ "checkedAt": "2026-11-05"
59
+ },
60
+ {
61
+ "id": "anthropic-api-news-haiku-5-5-sonnet-cut",
62
+ "title": "Anthropic: Introducing Claude Haiku 5.5 (October 7, 2026), Sonnet 5.5 cache reads",
63
+ "url": "https://www.anthropic.com/news/claude-haiku-5-5",
64
+ "quote": "First, starting today, we’re lowering the price of cache reads on Claude Sonnet 5.5. Cache reads now cost 50% less: $0.10 per million tokens rather than $0.20.",
65
+ "checkedAt": "2026-11-05"
66
+ },
67
+ {
68
+ "id": "anthropic-api-news-sonnet-5-5",
69
+ "title": "Anthropic: Introducing Claude Sonnet 5.5 (September 28, 2026)",
70
+ "url": "https://www.anthropic.com/news/claude-sonnet-5-5",
71
+ "quote": "Sonnet 5.5 is priced the same as Sonnet 5 at $2 per million input tokens and $10 per million output tokens",
72
+ "checkedAt": "2026-11-05"
73
+ },
74
+ {
75
+ "id": "anthropic-api-news-opus-5-5",
76
+ "title": "Anthropic: Introducing Claude Opus 5.5 (September 22, 2026)",
77
+ "url": "https://www.anthropic.com/news/claude-opus-5-5",
78
+ "quote": "Input and output tokens are $4 and $20 per million, 20% less than Opus 5. Cache reads (which make up the majority of agentic and coding work costs) are $0.20 per million tokens, 60% less than Opus 5.",
79
+ "checkedAt": "2026-11-05"
80
+ },
81
+ {
82
+ "id": "anthropic-api-news-opus-5-5-fast",
83
+ "title": "Anthropic: Introducing Claude Opus 5.5 (September 22, 2026), fast mode",
84
+ "url": "https://www.anthropic.com/news/claude-opus-5-5",
85
+ "quote": "Fast mode for Opus 5.5 is also available in Claude Code and the Claude Platform with up to 2.5x speed. It costs $8 per million input tokens and $40 per million output tokens.",
86
+ "checkedAt": "2026-11-05"
87
+ },
88
+ {
89
+ "id": "anthropic-api-notes-2026-09-01-fable-5-1",
90
+ "title": "Claude Platform release notes, September 1, 2026 (Fable 5.1, Mythos 5.1)",
91
+ "url": "https://platform.claude.com/docs/en/release-notes/overview",
92
+ "quote": "Prompt cache reads on Claude Fable 5.1 and Claude Mythos 5.1 cost $0.25 USD per million tokens: 0.025x the base input price, compared with 0.1x on other models. Cache writes are unchanged.",
93
+ "checkedAt": "2026-11-05"
94
+ },
95
+ {
96
+ "id": "anthropic-api-notes-2026-09-01-fable-5-1-price",
97
+ "title": "Claude Platform release notes, September 1, 2026 (Fable 5.1 price)",
98
+ "url": "https://platform.claude.com/docs/en/release-notes/overview",
99
+ "quote": "at $10 / $50 USD per MTok, the same as Claude Fable 5, with cache reads cut to $0.25 USD per MTok",
100
+ "checkedAt": "2026-11-05"
101
+ },
102
+ {
103
+ "id": "anthropic-api-notes-2026-08-10-sonnet-5",
104
+ "title": "Claude Platform release notes, August 10, 2026 (Sonnet 5)",
105
+ "url": "https://platform.claude.com/docs/en/release-notes/overview",
106
+ "quote": "The introductory pricing for Claude Sonnet 5 ($2 / $10 USD per MTok) is now the standard price: the previously scheduled increase to $3 / $15 USD per MTok on September 1, 2026, will not occur.",
107
+ "checkedAt": "2026-11-05"
108
+ },
109
+ {
110
+ "id": "anthropic-api-notes-2026-07-24-opus-5",
111
+ "title": "Claude Platform release notes, July 24, 2026 (Opus 5)",
112
+ "url": "https://platform.claude.com/docs/en/release-notes/overview",
113
+ "quote": "at $5 / $25 USD per MTok, the same pricing as Claude Opus 4.8",
114
+ "checkedAt": "2026-11-05"
115
+ },
116
+ {
117
+ "id": "anthropic-api-notes-2026-04-16-opus-4-7",
118
+ "title": "Claude Platform release notes, April 16, 2026 (Opus 4.7)",
119
+ "url": "https://platform.claude.com/docs/en/release-notes/overview",
120
+ "quote": "We’ve launched Claude Opus 4.7, our most capable model for complex reasoning and agentic coding, at the same $5 / $25 USD per MTok pricing as Opus 4.6.",
121
+ "checkedAt": "2026-11-05"
122
+ },
123
+ {
124
+ "id": "anthropic-api-news-fable-5-mythos-5",
125
+ "title": "Anthropic: Claude Fable 5 and Claude Mythos 5 (June 9, 2026)",
126
+ "url": "https://www.anthropic.com/news/claude-fable-5-mythos-5",
127
+ "quote": "Pricing for both models is $10 per million input tokens and $50 per million output tokens.",
128
+ "checkedAt": "2026-11-05"
129
+ },
130
+ {
131
+ "id": "anthropic-api-news-sonnet-4-6",
132
+ "title": "Anthropic: Introducing Claude Sonnet 4.6 (February 17, 2026)",
133
+ "url": "https://www.anthropic.com/news/claude-sonnet-4-6",
134
+ "quote": "Pricing remains the same as Sonnet 4.5, starting at $3/$15 per million tokens.",
135
+ "checkedAt": "2026-11-05"
136
+ },
137
+ {
138
+ "id": "anthropic-api-news-sonnet-4-5",
139
+ "title": "Anthropic: Introducing Claude Sonnet 4.5 (September 29, 2025)",
140
+ "url": "https://www.anthropic.com/news/claude-sonnet-4-5",
141
+ "quote": "Pricing remains the same as Claude Sonnet 4, at $3/$15 per million tokens.",
142
+ "checkedAt": "2026-11-05"
143
+ },
144
+ {
145
+ "id": "anthropic-api-news-haiku-4-5",
146
+ "title": "Anthropic: Introducing Claude Haiku 4.5 (October 15, 2025)",
147
+ "url": "https://www.anthropic.com/news/claude-haiku-4-5",
148
+ "quote": "Pricing is now $1/$5 per million input and output tokens.",
149
+ "checkedAt": "2026-11-05"
150
+ },
151
+ {
152
+ "id": "anthropic-api-news-opus-4-5",
153
+ "title": "Anthropic: Introducing Claude Opus 4.5 (November 24, 2025)",
154
+ "url": "https://www.anthropic.com/news/claude-opus-4-5",
155
+ "quote": "Pricing is now $5/$25 per million tokens",
156
+ "checkedAt": "2026-11-05"
157
+ }
158
+ ],
159
+ "versions": [
160
+ {
161
+ "id": "anthropic-api:claude-fable-5:2026-10-01",
162
+ "channel": "anthropic-api",
163
+ "modelId": "claude-fable-5",
164
+ "currency": "USD",
165
+ "effectiveFrom": "2026-10-01",
166
+ "tiers": [
167
+ {
168
+ "inputUsdPerM": 10,
169
+ "cachedInputUsdPerM": 1.0,
170
+ "cacheWriteUsdPerM": 12.5,
171
+ "extendedCacheWriteUsdPerM": 20,
172
+ "outputUsdPerM": 50
173
+ }
174
+ ],
175
+ "kind": "list",
176
+ "sourceIds": [
177
+ "anthropic-api-pricing-table",
178
+ "anthropic-api-pricing-cache-writes",
179
+ "anthropic-api-pricing-cache-reads",
180
+ "anthropic-api-news-fable-5-mythos-5",
181
+ "anthropic-api-notes-2026-09-01-fable-5-1"
182
+ ],
183
+ "note": "In force from 2026-10-01: a dated Anthropic source before that day gives this input/output price, today's pricing page lists the same, and the release notes record no change in between. Launched 2026-06-09 at $10/$50; the 2026-09-01 notes keep 0.1x cache reads for models other than Fable 5.1 and Mythos 5.1. cacheWriteUsdPerM is the 5-minute write (1.25x input) and extendedCacheWriteUsdPerM the 1-hour write (2x input), as on the pricing page's table. Claude API (first-party), global routing; batch, data residency (1.1x), priority and cloud-platform prices are not modelled."
184
+ },
185
+ {
186
+ "id": "anthropic-api:claude-fable-5.1:2026-10-01",
187
+ "channel": "anthropic-api",
188
+ "modelId": "claude-fable-5.1",
189
+ "currency": "USD",
190
+ "effectiveFrom": "2026-10-01",
191
+ "tiers": [
192
+ {
193
+ "inputUsdPerM": 10,
194
+ "cachedInputUsdPerM": 0.25,
195
+ "cacheWriteUsdPerM": 12.5,
196
+ "extendedCacheWriteUsdPerM": 20,
197
+ "outputUsdPerM": 50
198
+ }
199
+ ],
200
+ "kind": "list",
201
+ "sourceIds": [
202
+ "anthropic-api-pricing-table",
203
+ "anthropic-api-pricing-cache-writes",
204
+ "anthropic-api-pricing-cache-reads",
205
+ "anthropic-api-notes-2026-09-01-fable-5-1-price",
206
+ "anthropic-api-notes-2026-09-01-fable-5-1"
207
+ ],
208
+ "note": "In force from 2026-10-01: a dated Anthropic source before that day gives this input/output price, today's pricing page lists the same, and the release notes record no change in between. Launched 2026-09-01 at $10/$50 with cache reads at 0.025x ($0.25). cacheWriteUsdPerM is the 5-minute write (1.25x input) and extendedCacheWriteUsdPerM the 1-hour write (2x input), as on the pricing page's table. Claude API (first-party), global routing; batch, data residency (1.1x), priority and cloud-platform prices are not modelled."
209
+ },
210
+ {
211
+ "id": "anthropic-api:claude-haiku-4.5:2026-10-01",
212
+ "channel": "anthropic-api",
213
+ "modelId": "claude-haiku-4.5",
214
+ "currency": "USD",
215
+ "effectiveFrom": "2026-10-01",
216
+ "tiers": [
217
+ {
218
+ "inputUsdPerM": 1,
219
+ "cachedInputUsdPerM": 0.1,
220
+ "cacheWriteUsdPerM": 1.25,
221
+ "extendedCacheWriteUsdPerM": 2,
222
+ "outputUsdPerM": 5
223
+ }
224
+ ],
225
+ "kind": "list",
226
+ "sourceIds": [
227
+ "anthropic-api-pricing-table",
228
+ "anthropic-api-pricing-cache-writes",
229
+ "anthropic-api-pricing-cache-reads",
230
+ "anthropic-api-news-haiku-4-5"
231
+ ],
232
+ "note": "In force from 2026-10-01: a dated Anthropic source before that day gives this input/output price, today's pricing page lists the same, and the release notes record no change in between. Launched 2025-10-15 at $1/$5. cacheWriteUsdPerM is the 5-minute write (1.25x input) and extendedCacheWriteUsdPerM the 1-hour write (2x input), as on the pricing page's table. Claude API (first-party), global routing; batch, data residency (1.1x), priority and cloud-platform prices are not modelled."
233
+ },
234
+ {
235
+ "id": "anthropic-api:claude-haiku-5.5:2026-10-07",
236
+ "channel": "anthropic-api",
237
+ "modelId": "claude-haiku-5.5",
238
+ "currency": "USD",
239
+ "effectiveFrom": "2026-10-07",
240
+ "tiers": [
241
+ {
242
+ "maxInputTokens": 100000,
243
+ "inputUsdPerM": 0.1,
244
+ "cachedInputUsdPerM": 0.01,
245
+ "cacheWriteUsdPerM": 0.125,
246
+ "extendedCacheWriteUsdPerM": 0.2,
247
+ "outputUsdPerM": 0.5
248
+ },
249
+ {
250
+ "inputUsdPerM": 0.5,
251
+ "cachedInputUsdPerM": 0.05,
252
+ "cacheWriteUsdPerM": 0.625,
253
+ "extendedCacheWriteUsdPerM": 1.0,
254
+ "outputUsdPerM": 2.5
255
+ }
256
+ ],
257
+ "kind": "list",
258
+ "sourceIds": [
259
+ "anthropic-api-pricing-table",
260
+ "anthropic-api-pricing-cache-writes",
261
+ "anthropic-api-pricing-cache-reads",
262
+ "anthropic-api-pricing-long-context",
263
+ "anthropic-api-news-haiku-5-5"
264
+ ],
265
+ "note": "Launched 2026-10-07, so no earlier price. Priced by prompt length: the first tier covers prompts up to 100,000 tokens, counting cache reads and writes; the 1-hour write is not in the launch announcement and comes from the pricing page (2x input). cacheWriteUsdPerM is the 5-minute write (1.25x input) and extendedCacheWriteUsdPerM the 1-hour write (2x input), as on the pricing page's table. Claude API (first-party), global routing; batch, data residency (1.1x), priority and cloud-platform prices are not modelled."
266
+ },
267
+ {
268
+ "id": "anthropic-api:claude-mythos-5:2026-10-01",
269
+ "channel": "anthropic-api",
270
+ "modelId": "claude-mythos-5",
271
+ "currency": "USD",
272
+ "effectiveFrom": "2026-10-01",
273
+ "tiers": [
274
+ {
275
+ "inputUsdPerM": 10,
276
+ "cachedInputUsdPerM": 1.0,
277
+ "cacheWriteUsdPerM": 12.5,
278
+ "extendedCacheWriteUsdPerM": 20,
279
+ "outputUsdPerM": 50
280
+ }
281
+ ],
282
+ "kind": "list",
283
+ "sourceIds": [
284
+ "anthropic-api-pricing-table",
285
+ "anthropic-api-pricing-cache-writes",
286
+ "anthropic-api-pricing-cache-reads",
287
+ "anthropic-api-news-fable-5-mythos-5",
288
+ "anthropic-api-notes-2026-09-01-fable-5-1"
289
+ ],
290
+ "note": "In force from 2026-10-01: a dated Anthropic source before that day gives this input/output price, today's pricing page lists the same, and the release notes record no change in between. Launched 2026-06-09 with Fable 5 at $10/$50; limited availability (verified organizations). cacheWriteUsdPerM is the 5-minute write (1.25x input) and extendedCacheWriteUsdPerM the 1-hour write (2x input), as on the pricing page's table. Claude API (first-party), global routing; batch, data residency (1.1x), priority and cloud-platform prices are not modelled."
291
+ },
292
+ {
293
+ "id": "anthropic-api:claude-mythos-5.1:2026-10-01",
294
+ "channel": "anthropic-api",
295
+ "modelId": "claude-mythos-5.1",
296
+ "currency": "USD",
297
+ "effectiveFrom": "2026-10-01",
298
+ "tiers": [
299
+ {
300
+ "inputUsdPerM": 10,
301
+ "cachedInputUsdPerM": 0.25,
302
+ "cacheWriteUsdPerM": 12.5,
303
+ "extendedCacheWriteUsdPerM": 20,
304
+ "outputUsdPerM": 50
305
+ }
306
+ ],
307
+ "kind": "list",
308
+ "sourceIds": [
309
+ "anthropic-api-pricing-table",
310
+ "anthropic-api-pricing-cache-writes",
311
+ "anthropic-api-pricing-cache-reads",
312
+ "anthropic-api-notes-2026-09-01-fable-5-1-price",
313
+ "anthropic-api-notes-2026-09-01-fable-5-1"
314
+ ],
315
+ "note": "In force from 2026-10-01: a dated Anthropic source before that day gives this input/output price, today's pricing page lists the same, and the release notes record no change in between. Launched 2026-09-01 with Fable 5.1 at $10/$50, cache reads 0.025x ($0.25); limited availability (verified organizations). cacheWriteUsdPerM is the 5-minute write (1.25x input) and extendedCacheWriteUsdPerM the 1-hour write (2x input), as on the pricing page's table. Claude API (first-party), global routing; batch, data residency (1.1x), priority and cloud-platform prices are not modelled."
316
+ },
317
+ {
318
+ "id": "anthropic-api:claude-opus-4.5:2026-10-01",
319
+ "channel": "anthropic-api",
320
+ "modelId": "claude-opus-4.5",
321
+ "currency": "USD",
322
+ "effectiveFrom": "2026-10-01",
323
+ "tiers": [
324
+ {
325
+ "inputUsdPerM": 5,
326
+ "cachedInputUsdPerM": 0.5,
327
+ "cacheWriteUsdPerM": 6.25,
328
+ "extendedCacheWriteUsdPerM": 10,
329
+ "outputUsdPerM": 25
330
+ }
331
+ ],
332
+ "kind": "list",
333
+ "sourceIds": [
334
+ "anthropic-api-pricing-table",
335
+ "anthropic-api-pricing-cache-writes",
336
+ "anthropic-api-pricing-cache-reads",
337
+ "anthropic-api-news-opus-4-5"
338
+ ],
339
+ "note": "In force from 2026-10-01: a dated Anthropic source before that day gives this input/output price, today's pricing page lists the same, and the release notes record no change in between. Launched 2025-11-24 at $5/$25. cacheWriteUsdPerM is the 5-minute write (1.25x input) and extendedCacheWriteUsdPerM the 1-hour write (2x input), as on the pricing page's table. Claude API (first-party), global routing; batch, data residency (1.1x), priority and cloud-platform prices are not modelled."
340
+ },
341
+ {
342
+ "id": "anthropic-api:claude-opus-4.6:2026-10-01",
343
+ "channel": "anthropic-api",
344
+ "modelId": "claude-opus-4.6",
345
+ "currency": "USD",
346
+ "effectiveFrom": "2026-10-01",
347
+ "tiers": [
348
+ {
349
+ "inputUsdPerM": 5,
350
+ "cachedInputUsdPerM": 0.5,
351
+ "cacheWriteUsdPerM": 6.25,
352
+ "extendedCacheWriteUsdPerM": 10,
353
+ "outputUsdPerM": 25
354
+ }
355
+ ],
356
+ "kind": "list",
357
+ "sourceIds": [
358
+ "anthropic-api-pricing-table",
359
+ "anthropic-api-pricing-cache-writes",
360
+ "anthropic-api-pricing-cache-reads",
361
+ "anthropic-api-notes-2026-04-16-opus-4-7"
362
+ ],
363
+ "note": "In force from 2026-10-01: a dated Anthropic source before that day gives this input/output price, today's pricing page lists the same, and the release notes record no change in between. $5/$25 per the 2026-04-16 notes (Opus 4.7 at \"the same ... pricing as Opus 4.6\"). Long-context (over 200k) premium no longer applies: the pricing page says Claude 4.6 and later models get the full 1M context at standard pricing. cacheWriteUsdPerM is the 5-minute write (1.25x input) and extendedCacheWriteUsdPerM the 1-hour write (2x input), as on the pricing page's table. Claude API (first-party), global routing; batch, data residency (1.1x), priority and cloud-platform prices are not modelled."
364
+ },
365
+ {
366
+ "id": "anthropic-api:claude-opus-4.7:2026-10-01",
367
+ "channel": "anthropic-api",
368
+ "modelId": "claude-opus-4.7",
369
+ "currency": "USD",
370
+ "effectiveFrom": "2026-10-01",
371
+ "tiers": [
372
+ {
373
+ "inputUsdPerM": 5,
374
+ "cachedInputUsdPerM": 0.5,
375
+ "cacheWriteUsdPerM": 6.25,
376
+ "extendedCacheWriteUsdPerM": 10,
377
+ "outputUsdPerM": 25
378
+ }
379
+ ],
380
+ "kind": "list",
381
+ "sourceIds": [
382
+ "anthropic-api-pricing-table",
383
+ "anthropic-api-pricing-cache-writes",
384
+ "anthropic-api-pricing-cache-reads",
385
+ "anthropic-api-notes-2026-04-16-opus-4-7"
386
+ ],
387
+ "note": "In force from 2026-10-01: a dated Anthropic source before that day gives this input/output price, today's pricing page lists the same, and the release notes record no change in between. Launched 2026-04-16 at $5/$25. cacheWriteUsdPerM is the 5-minute write (1.25x input) and extendedCacheWriteUsdPerM the 1-hour write (2x input), as on the pricing page's table. Claude API (first-party), global routing; batch, data residency (1.1x), priority and cloud-platform prices are not modelled."
388
+ },
389
+ {
390
+ "id": "anthropic-api:claude-opus-4.8:2026-10-01",
391
+ "channel": "anthropic-api",
392
+ "modelId": "claude-opus-4.8",
393
+ "currency": "USD",
394
+ "effectiveFrom": "2026-10-01",
395
+ "tiers": [
396
+ {
397
+ "inputUsdPerM": 5,
398
+ "cachedInputUsdPerM": 0.5,
399
+ "cacheWriteUsdPerM": 6.25,
400
+ "extendedCacheWriteUsdPerM": 10,
401
+ "outputUsdPerM": 25
402
+ }
403
+ ],
404
+ "kind": "list",
405
+ "sourceIds": [
406
+ "anthropic-api-pricing-table",
407
+ "anthropic-api-pricing-cache-writes",
408
+ "anthropic-api-pricing-cache-reads",
409
+ "anthropic-api-notes-2026-07-24-opus-5"
410
+ ],
411
+ "note": "In force from 2026-10-01: a dated Anthropic source before that day gives this input/output price, today's pricing page lists the same, and the release notes record no change in between. $5/$25 per the 2026-07-24 notes (Opus 5 at \"the same pricing as Claude Opus 4.8\"). cacheWriteUsdPerM is the 5-minute write (1.25x input) and extendedCacheWriteUsdPerM the 1-hour write (2x input), as on the pricing page's table. Claude API (first-party), global routing; batch, data residency (1.1x), priority and cloud-platform prices are not modelled."
412
+ },
413
+ {
414
+ "id": "anthropic-api:claude-opus-4.8-fast:2026-11-05",
415
+ "channel": "anthropic-api",
416
+ "modelId": "claude-opus-4.8-fast",
417
+ "currency": "USD",
418
+ "effectiveFrom": "2026-11-05",
419
+ "tiers": [
420
+ {
421
+ "inputUsdPerM": 10,
422
+ "cachedInputUsdPerM": 1.0,
423
+ "cacheWriteUsdPerM": 12.5,
424
+ "extendedCacheWriteUsdPerM": 20,
425
+ "outputUsdPerM": 50
426
+ }
427
+ ],
428
+ "kind": "list",
429
+ "sourceIds": [
430
+ "anthropic-api-pricing-table",
431
+ "anthropic-api-pricing-cache-writes",
432
+ "anthropic-api-pricing-cache-reads",
433
+ "anthropic-api-pricing-fast-mode",
434
+ "anthropic-api-pricing-fast-mode-caching"
435
+ ],
436
+ "note": "Claude Opus 4.8 with speed \"fast\" (research preview; same id as github-copilot.json). Only today's pricing page (checked 2026-11-05) gives this fast-mode price ($10/$50 for Claude Opus 5 and Claude Opus 4.8); no dated source earlier in the window was found, so earlier fast turns price as unknown. Cache prices are derived: caching multipliers apply on top of fast mode pricing (pricing page); Anthropic does not print fast-mode cache prices. Fast mode for Opus 4.8 is deprecated with removal on 2026-11-30 (release notes, 2026-10-30); that is not a price change, so the version is left open. cacheWriteUsdPerM is the 5-minute write (1.25x input) and extendedCacheWriteUsdPerM the 1-hour write (2x input), as on the pricing page's table. Claude API (first-party), global routing; batch, data residency (1.1x), priority and cloud-platform prices are not modelled."
437
+ },
438
+ {
439
+ "id": "anthropic-api:claude-opus-5:2026-10-01",
440
+ "channel": "anthropic-api",
441
+ "modelId": "claude-opus-5",
442
+ "currency": "USD",
443
+ "effectiveFrom": "2026-10-01",
444
+ "tiers": [
445
+ {
446
+ "inputUsdPerM": 5,
447
+ "cachedInputUsdPerM": 0.5,
448
+ "cacheWriteUsdPerM": 6.25,
449
+ "extendedCacheWriteUsdPerM": 10,
450
+ "outputUsdPerM": 25
451
+ }
452
+ ],
453
+ "kind": "list",
454
+ "sourceIds": [
455
+ "anthropic-api-pricing-table",
456
+ "anthropic-api-pricing-cache-writes",
457
+ "anthropic-api-pricing-cache-reads",
458
+ "anthropic-api-notes-2026-07-24-opus-5"
459
+ ],
460
+ "note": "In force from 2026-10-01: a dated Anthropic source before that day gives this input/output price, today's pricing page lists the same, and the release notes record no change in between. Launched 2026-07-24 at $5/$25. cacheWriteUsdPerM is the 5-minute write (1.25x input) and extendedCacheWriteUsdPerM the 1-hour write (2x input), as on the pricing page's table. Claude API (first-party), global routing; batch, data residency (1.1x), priority and cloud-platform prices are not modelled."
461
+ },
462
+ {
463
+ "id": "anthropic-api:claude-opus-5-fast:2026-11-05",
464
+ "channel": "anthropic-api",
465
+ "modelId": "claude-opus-5-fast",
466
+ "currency": "USD",
467
+ "effectiveFrom": "2026-11-05",
468
+ "tiers": [
469
+ {
470
+ "inputUsdPerM": 10,
471
+ "cachedInputUsdPerM": 1.0,
472
+ "cacheWriteUsdPerM": 12.5,
473
+ "extendedCacheWriteUsdPerM": 20,
474
+ "outputUsdPerM": 50
475
+ }
476
+ ],
477
+ "kind": "list",
478
+ "sourceIds": [
479
+ "anthropic-api-pricing-table",
480
+ "anthropic-api-pricing-cache-writes",
481
+ "anthropic-api-pricing-cache-reads",
482
+ "anthropic-api-pricing-fast-mode",
483
+ "anthropic-api-pricing-fast-mode-caching"
484
+ ],
485
+ "note": "Claude Opus 5 with speed \"fast\" (research preview). Only today's pricing page (checked 2026-11-05) gives this fast-mode price ($10/$50 for Claude Opus 5 and Claude Opus 4.8); no dated source earlier in the window was found, so earlier fast turns price as unknown. Cache prices are derived: caching multipliers apply on top of fast mode pricing (pricing page); Anthropic does not print fast-mode cache prices. cacheWriteUsdPerM is the 5-minute write (1.25x input) and extendedCacheWriteUsdPerM the 1-hour write (2x input), as on the pricing page's table. Claude API (first-party), global routing; batch, data residency (1.1x), priority and cloud-platform prices are not modelled."
486
+ },
487
+ {
488
+ "id": "anthropic-api:claude-opus-5.5:2026-10-01",
489
+ "channel": "anthropic-api",
490
+ "modelId": "claude-opus-5.5",
491
+ "currency": "USD",
492
+ "effectiveFrom": "2026-10-01",
493
+ "tiers": [
494
+ {
495
+ "inputUsdPerM": 4,
496
+ "cachedInputUsdPerM": 0.2,
497
+ "cacheWriteUsdPerM": 5.0,
498
+ "extendedCacheWriteUsdPerM": 8,
499
+ "outputUsdPerM": 20
500
+ }
501
+ ],
502
+ "kind": "list",
503
+ "sourceIds": [
504
+ "anthropic-api-pricing-table",
505
+ "anthropic-api-pricing-cache-writes",
506
+ "anthropic-api-pricing-cache-reads",
507
+ "anthropic-api-news-opus-5-5"
508
+ ],
509
+ "note": "In force from 2026-10-01: a dated Anthropic source before that day gives this input/output price, today's pricing page lists the same, and the release notes record no change in between. Launched 2026-09-22 at $4/$20 with cache reads at $0.20 (0.05x). cacheWriteUsdPerM is the 5-minute write (1.25x input) and extendedCacheWriteUsdPerM the 1-hour write (2x input), as on the pricing page's table. Claude API (first-party), global routing; batch, data residency (1.1x), priority and cloud-platform prices are not modelled."
510
+ },
511
+ {
512
+ "id": "anthropic-api:claude-opus-5.5-fast:2026-10-01",
513
+ "channel": "anthropic-api",
514
+ "modelId": "claude-opus-5.5-fast",
515
+ "currency": "USD",
516
+ "effectiveFrom": "2026-10-01",
517
+ "tiers": [
518
+ {
519
+ "inputUsdPerM": 8,
520
+ "cachedInputUsdPerM": 0.4,
521
+ "cacheWriteUsdPerM": 10.0,
522
+ "extendedCacheWriteUsdPerM": 16,
523
+ "outputUsdPerM": 40
524
+ }
525
+ ],
526
+ "kind": "list",
527
+ "sourceIds": [
528
+ "anthropic-api-pricing-table",
529
+ "anthropic-api-pricing-cache-writes",
530
+ "anthropic-api-pricing-cache-reads",
531
+ "anthropic-api-pricing-fast-mode",
532
+ "anthropic-api-pricing-fast-mode-caching",
533
+ "anthropic-api-news-opus-5-5-fast"
534
+ ],
535
+ "note": "In force from 2026-10-01: a dated Anthropic source before that day gives this input/output price, today's pricing page lists the same, and the release notes record no change in between. Claude Opus 5.5 with speed \"fast\" (the -fast id follows github-copilot.json's claude-opus-4.8-fast); $8/$40 from its 2026-09-22 launch. Cache prices are derived: Anthropic says caching multipliers apply on top of fast mode pricing, and we assume Opus 5.5's 0.05x read multiplier applies too; Anthropic does not print fast-mode cache prices. cacheWriteUsdPerM is the 5-minute write (1.25x input) and extendedCacheWriteUsdPerM the 1-hour write (2x input), as on the pricing page's table. Claude API (first-party), global routing; batch, data residency (1.1x), priority and cloud-platform prices are not modelled."
536
+ },
537
+ {
538
+ "id": "anthropic-api:claude-sonnet-4.5:2026-10-01",
539
+ "channel": "anthropic-api",
540
+ "modelId": "claude-sonnet-4.5",
541
+ "currency": "USD",
542
+ "effectiveFrom": "2026-10-01",
543
+ "tiers": [
544
+ {
545
+ "inputUsdPerM": 3,
546
+ "cachedInputUsdPerM": 0.3,
547
+ "cacheWriteUsdPerM": 3.75,
548
+ "extendedCacheWriteUsdPerM": 6,
549
+ "outputUsdPerM": 15
550
+ }
551
+ ],
552
+ "kind": "list",
553
+ "sourceIds": [
554
+ "anthropic-api-pricing-table",
555
+ "anthropic-api-pricing-cache-writes",
556
+ "anthropic-api-pricing-cache-reads",
557
+ "anthropic-api-news-sonnet-4-5"
558
+ ],
559
+ "note": "In force from 2026-10-01: a dated Anthropic source before that day gives this input/output price, today's pricing page lists the same, and the release notes record no change in between. Launched 2025-09-29 at $3/$15; its 1M-context beta (with its long-context premium) was retired 2026-04-30, so requests are capped at 200k and there is no tier. Deprecated 2026-09-30, retiring 2026-11-30 (model deprecations page); a retirement isn't a price change, so the version is left open. cacheWriteUsdPerM is the 5-minute write (1.25x input) and extendedCacheWriteUsdPerM the 1-hour write (2x input), as on the pricing page's table. Claude API (first-party), global routing; batch, data residency (1.1x), priority and cloud-platform prices are not modelled."
560
+ },
561
+ {
562
+ "id": "anthropic-api:claude-sonnet-4.6:2026-10-01",
563
+ "channel": "anthropic-api",
564
+ "modelId": "claude-sonnet-4.6",
565
+ "currency": "USD",
566
+ "effectiveFrom": "2026-10-01",
567
+ "tiers": [
568
+ {
569
+ "inputUsdPerM": 3,
570
+ "cachedInputUsdPerM": 0.3,
571
+ "cacheWriteUsdPerM": 3.75,
572
+ "extendedCacheWriteUsdPerM": 6,
573
+ "outputUsdPerM": 15
574
+ }
575
+ ],
576
+ "kind": "list",
577
+ "sourceIds": [
578
+ "anthropic-api-pricing-table",
579
+ "anthropic-api-pricing-cache-writes",
580
+ "anthropic-api-pricing-cache-reads",
581
+ "anthropic-api-news-sonnet-4-6"
582
+ ],
583
+ "note": "In force from 2026-10-01: a dated Anthropic source before that day gives this input/output price, today's pricing page lists the same, and the release notes record no change in between. Launched 2026-02-17 at $3/$15; full 1M context at standard pricing (pricing page, long context). cacheWriteUsdPerM is the 5-minute write (1.25x input) and extendedCacheWriteUsdPerM the 1-hour write (2x input), as on the pricing page's table. Claude API (first-party), global routing; batch, data residency (1.1x), priority and cloud-platform prices are not modelled."
584
+ },
585
+ {
586
+ "id": "anthropic-api:claude-sonnet-5:2026-10-01",
587
+ "channel": "anthropic-api",
588
+ "modelId": "claude-sonnet-5",
589
+ "currency": "USD",
590
+ "effectiveFrom": "2026-10-01",
591
+ "tiers": [
592
+ {
593
+ "inputUsdPerM": 2,
594
+ "cachedInputUsdPerM": 0.2,
595
+ "cacheWriteUsdPerM": 2.5,
596
+ "extendedCacheWriteUsdPerM": 4,
597
+ "outputUsdPerM": 10
598
+ }
599
+ ],
600
+ "kind": "list",
601
+ "sourceIds": [
602
+ "anthropic-api-pricing-table",
603
+ "anthropic-api-pricing-cache-writes",
604
+ "anthropic-api-pricing-cache-reads",
605
+ "anthropic-api-notes-2026-08-10-sonnet-5"
606
+ ],
607
+ "note": "In force from 2026-10-01: a dated Anthropic source before that day gives this input/output price, today's pricing page lists the same, and the release notes record no change in between. Introductory $2/$10 made the standard price on 2026-08-10; the planned 2026-09-01 rise to $3/$15 did not happen. cacheWriteUsdPerM is the 5-minute write (1.25x input) and extendedCacheWriteUsdPerM the 1-hour write (2x input), as on the pricing page's table. Claude API (first-party), global routing; batch, data residency (1.1x), priority and cloud-platform prices are not modelled."
608
+ },
609
+ {
610
+ "id": "anthropic-api:claude-sonnet-5.5:2026-10-01",
611
+ "channel": "anthropic-api",
612
+ "modelId": "claude-sonnet-5.5",
613
+ "currency": "USD",
614
+ "effectiveFrom": "2026-10-01",
615
+ "effectiveTo": "2026-10-07",
616
+ "tiers": [
617
+ {
618
+ "inputUsdPerM": 2,
619
+ "cachedInputUsdPerM": 0.2,
620
+ "cacheWriteUsdPerM": 2.5,
621
+ "extendedCacheWriteUsdPerM": 4,
622
+ "outputUsdPerM": 10
623
+ }
624
+ ],
625
+ "kind": "list",
626
+ "sourceIds": [
627
+ "anthropic-api-pricing-table",
628
+ "anthropic-api-pricing-cache-writes",
629
+ "anthropic-api-pricing-cache-reads",
630
+ "anthropic-api-news-sonnet-5-5",
631
+ "anthropic-api-notes-2026-10-07-sonnet-5-5-cache",
632
+ "anthropic-api-news-haiku-5-5-sonnet-cut"
633
+ ],
634
+ "note": "Launched 2026-09-28 at $2/$10; cache reads were $0.20 (0.1x) until the 2026-10-07 cut, per the release notes, which also say cache writes and all other prices were unchanged. The Sonnet 5.5 announcement page now shows the later $0.10 read price. The cut's time of day isn't published; the boundary is 2026-10-07 00:00 UTC. cacheWriteUsdPerM is the 5-minute write (1.25x input) and extendedCacheWriteUsdPerM the 1-hour write (2x input), as on the pricing page's table. Claude API (first-party), global routing; batch, data residency (1.1x), priority and cloud-platform prices are not modelled."
635
+ },
636
+ {
637
+ "id": "anthropic-api:claude-sonnet-5.5:2026-10-07",
638
+ "channel": "anthropic-api",
639
+ "modelId": "claude-sonnet-5.5",
640
+ "currency": "USD",
641
+ "effectiveFrom": "2026-10-07",
642
+ "tiers": [
643
+ {
644
+ "inputUsdPerM": 2,
645
+ "cachedInputUsdPerM": 0.1,
646
+ "cacheWriteUsdPerM": 2.5,
647
+ "extendedCacheWriteUsdPerM": 4,
648
+ "outputUsdPerM": 10
649
+ }
650
+ ],
651
+ "kind": "list",
652
+ "sourceIds": [
653
+ "anthropic-api-pricing-table",
654
+ "anthropic-api-pricing-cache-writes",
655
+ "anthropic-api-pricing-cache-reads",
656
+ "anthropic-api-notes-2026-10-07-sonnet-5-5-cache",
657
+ "anthropic-api-news-haiku-5-5-sonnet-cut"
658
+ ],
659
+ "note": "Cache reads cut to $0.10 (0.05x) on 2026-10-07 (\"starting today\"); everything else unchanged. The cut's time of day isn't published; the boundary is 2026-10-07 00:00 UTC. cacheWriteUsdPerM is the 5-minute write (1.25x input) and extendedCacheWriteUsdPerM the 1-hour write (2x input), as on the pricing page's table. Claude API (first-party), global routing; batch, data residency (1.1x), priority and cloud-platform prices are not modelled."
660
+ }
661
+ ]
662
+ }