ai-burnrate-tool 1.0.1 → 1.0.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.
@@ -38,6 +38,14 @@
38
38
  "cacheRead": 0.3,
39
39
  "cacheWrite": 3.75
40
40
  },
41
+ "claude-opus-4-5": {
42
+ "label": "Claude Opus 4.5+",
43
+ "provider": "anthropic",
44
+ "input": 5.0,
45
+ "output": 25.0,
46
+ "cacheRead": 0.5,
47
+ "cacheWrite": 6.25
48
+ },
41
49
  "claude-opus-4": {
42
50
  "label": "Claude Opus 4.x",
43
51
  "provider": "anthropic",
@@ -65,10 +73,10 @@
65
73
  "claude-haiku-4": {
66
74
  "label": "Claude Haiku 4.x",
67
75
  "provider": "anthropic",
68
- "input": 0.8,
69
- "output": 4.0,
70
- "cacheRead": 0.08,
71
- "cacheWrite": 1.0
76
+ "input": 1.0,
77
+ "output": 5.0,
78
+ "cacheRead": 0.1,
79
+ "cacheWrite": 1.25
72
80
  },
73
81
  "gemini-4-argon": {
74
82
  "label": "Gemini 4 Argon",
@@ -275,6 +275,7 @@ export async function syncOfficialPricing() {
275
275
  {
276
276
  ourKey: 'claude-sonnet-4',
277
277
  litellmKeys: [
278
+ 'claude-sonnet-4-6',
278
279
  'claude-sonnet-4-5-20250929',
279
280
  'claude-sonnet-4-5',
280
281
  'anthropic.claude-sonnet-4-5-20250929-v1:0',
@@ -290,6 +291,15 @@ export async function syncOfficialPricing() {
290
291
  'claude-3-5-sonnet-latest',
291
292
  ],
292
293
  },
294
+ {
295
+ ourKey: 'claude-opus-4-5',
296
+ litellmKeys: [
297
+ 'claude-opus-4-6',
298
+ 'claude-opus-4-5-20251101',
299
+ 'claude-opus-4-5',
300
+ 'anthropic.claude-opus-4-5-20251101-v1:0',
301
+ ],
302
+ },
293
303
  {
294
304
  ourKey: 'claude-opus-4',
295
305
  litellmKeys: [
@@ -446,6 +456,9 @@ export function resolveModelKey(rawModel, source, pricing) {
446
456
  return cleaned;
447
457
  }
448
458
  if (cleaned.includes('opus')) {
459
+ if (/opus[-_.\s]?4[-_.\s]?[5-9]/.test(cleaned) && pricing.models['claude-opus-4-5']) {
460
+ return 'claude-opus-4-5';
461
+ }
449
462
  return cleaned.includes('4') ? 'claude-opus-4' : 'claude-3-opus';
450
463
  }
451
464
  if (cleaned.includes('haiku')) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-burnrate-tool",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Real-time local token & API equivalent cost tracker for Antigravity CLI and Claude Code",
5
5
  "type": "module",
6
6
  "bin": {