burnoff 1.4.1 → 2.1.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.
- package/.claude-plugin/plugin.json +1 -1
- package/.github/workflows/burnoff-pr-gate.yml +5 -3
- package/.github/workflows/burnoff-startup-lint.yml +2 -2
- package/CHANGELOG.md +74 -0
- package/README.md +187 -213
- package/SECURITY.md +38 -0
- package/bin/burnoff.mjs +307 -32
- package/commands/burnoff.md +6 -4
- package/docs/CLAUDE_CODE_PLUGIN.md +29 -28
- package/docs/DESIGN_PARTNER_INTAKE.md +3 -3
- package/hooks/hook-io.mjs +216 -11
- package/hooks/hooks.json +44 -0
- package/hooks/post-tool-use.mjs +3 -1
- package/hooks/pre-tool-use.mjs +47 -8
- package/hooks/session-lifecycle.mjs +24 -3
- package/hooks/user-prompt-submit.mjs +98 -0
- package/package.json +6 -4
- package/scripts/bench-hooks.mjs +34 -3
- package/scripts/bench-savings.mjs +318 -0
- package/scripts/burnoff-statusline.mjs +138 -6
- package/src/ci/ci-gate.mjs +199 -13
- package/src/ci/pr-cost.mjs +417 -45
- package/src/ci/pr-summary.mjs +467 -0
- package/src/cli/audit.mjs +179 -28
- package/src/cli/doctor.mjs +32 -6
- package/src/cli/hook-health.mjs +9 -1
- package/src/cli/init.mjs +226 -39
- package/src/cli/preview.mjs +299 -0
- package/src/cli/startup-audit/formatter.mjs +248 -0
- package/src/cli/startup-audit/jsonc.mjs +601 -0
- package/src/cli/startup-audit/mcp-audit.mjs +735 -0
- package/src/cli/startup-audit/rules-hygiene.mjs +645 -0
- package/src/cli/startup-audit/telemetry-scan.mjs +975 -0
- package/src/cli/startup-audit.mjs +451 -2471
- package/src/clients/claude-code.mjs +41 -4
- package/src/config/catalog.json +295 -0
- package/src/config/effort.mjs +145 -0
- package/src/config/harness-quirks.mjs +340 -0
- package/src/config/loader.mjs +27 -2
- package/src/config/policy.mjs +81 -9
- package/src/config/pricing.mjs +247 -19
- package/src/config/semver.mjs +25 -0
- package/src/config/uncached-attribution.mjs +280 -41
- package/src/guards/compaction-baton.mjs +248 -0
- package/src/guards/loop-breaker.mjs +328 -47
- package/src/guards/model-switch-hook.mjs +126 -0
- package/src/guards/phase5-detectors.mjs +275 -21
- package/src/guards/post-tool-engine.mjs +333 -11
- package/src/guards/pre-tool-engine.mjs +607 -45
- package/src/guards/prefix-guard.mjs +609 -0
- package/src/guards/prompt-guard.mjs +309 -0
- package/src/guards/read-clamp.mjs +192 -8
- package/src/guards/session-hook.mjs +149 -7
- package/src/guards/shell-guard.mjs +56 -5
- package/src/guards/snooze.mjs +169 -5
- package/src/ipc/daemon.mjs +76 -0
- package/src/ipc/fast-client.mjs +165 -4
- package/src/ipc/protocol.mjs +16 -3
- package/src/storage/antigravity-parser.mjs +16 -2
- package/src/storage/file-lock.mjs +16 -3
- package/src/storage/jsonl-parser.mjs +133 -22
- package/src/storage/telemetry-metrics.mjs +254 -4
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
* canonical event shape and renders verdicts in Claude Code's exit-code/JSON contract.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
import { resolveEffortLevel } from '../config/effort.mjs';
|
|
8
|
+
|
|
7
9
|
export const CLIENT_ID = 'claude-code';
|
|
8
10
|
|
|
9
11
|
/**
|
|
@@ -30,8 +32,8 @@ export function normalize(payload = {}, options = {}) {
|
|
|
30
32
|
return payload;
|
|
31
33
|
}
|
|
32
34
|
const hookEventName = String(payload.hook_event_name || payload.hookEventName || '');
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
let rawToolName = String(payload.tool_name || payload.toolName || '');
|
|
36
|
+
let toolInput =
|
|
35
37
|
payload.tool_input && typeof payload.tool_input === 'object'
|
|
36
38
|
? payload.tool_input
|
|
37
39
|
: payload.toolInput && typeof payload.toolInput === 'object'
|
|
@@ -39,10 +41,23 @@ export function normalize(payload = {}, options = {}) {
|
|
|
39
41
|
: payload.args && typeof payload.args === 'object'
|
|
40
42
|
? payload.args
|
|
41
43
|
: {};
|
|
44
|
+
if (hookEventName === 'PreSkillShellCommand') {
|
|
45
|
+
const skillCommand =
|
|
46
|
+
payload.command ?? payload.shell_command ?? payload.command_name ?? toolInput.command ?? '';
|
|
47
|
+
if (!rawToolName) {
|
|
48
|
+
rawToolName = 'Bash';
|
|
49
|
+
}
|
|
50
|
+
toolInput = {
|
|
51
|
+
...toolInput,
|
|
52
|
+
...(skillCommand ? { command: String(skillCommand) } : {})
|
|
53
|
+
};
|
|
54
|
+
}
|
|
42
55
|
const model =
|
|
43
56
|
typeof payload.model === 'string'
|
|
44
57
|
? payload.model
|
|
45
58
|
: payload.model?.id || payload.model?.model_id || payload.modelId || payload.model_id || '';
|
|
59
|
+
// Claude Code sends `effort: { level }`; never `String()`-coerce it (`"[object object]"`).
|
|
60
|
+
const effort = resolveEffortLevel(payload, options);
|
|
46
61
|
|
|
47
62
|
return {
|
|
48
63
|
__canonical: true,
|
|
@@ -59,6 +74,7 @@ export function normalize(payload = {}, options = {}) {
|
|
|
59
74
|
parentToolUseId: payload.parent_tool_use_id ?? payload.parentToolUseId ?? null,
|
|
60
75
|
isSidechain: Boolean(payload.isSidechain ?? payload.is_sidechain),
|
|
61
76
|
model: String(model || ''),
|
|
77
|
+
effort,
|
|
62
78
|
lastUserInput: String(payload.prompt || payload.lastUserInput || ''),
|
|
63
79
|
transcriptPath: String(payload.transcript_path || payload.transcriptPath || ''),
|
|
64
80
|
failed: hookEventName === 'PostToolUseFailure' ? true : undefined,
|
|
@@ -67,10 +83,31 @@ export function normalize(payload = {}, options = {}) {
|
|
|
67
83
|
}
|
|
68
84
|
|
|
69
85
|
/**
|
|
70
|
-
* Renders a `PreToolUse` engine result into Claude Code's stdout/stderr/exitCode contract.
|
|
86
|
+
* Renders a `PreToolUse` or `PreSkillShellCommand` engine result into Claude Code's stdout/stderr/exitCode contract.
|
|
71
87
|
*/
|
|
72
|
-
export function renderPre(engineResult = {}) {
|
|
88
|
+
export function renderPre(engineResult = {}, options = {}) {
|
|
73
89
|
const verdict = engineResult.verdict || null;
|
|
90
|
+
const hookEventName = String(options.hookEventName || engineResult.hookEventName || '');
|
|
91
|
+
if (hookEventName === 'PreSkillShellCommand') {
|
|
92
|
+
const detectorId = String(verdict?.detectorId || verdict?.ruleId || '');
|
|
93
|
+
const isRing0Ask = verdict?.decision === 'ask' && /^(?:DET-01|DET-02)$/i.test(detectorId);
|
|
94
|
+
if (engineResult.exitCode === 2 || verdict?.decision === 'deny' || isRing0Ask) {
|
|
95
|
+
const reason = String(engineResult.stderr || verdict?.reason || 'Blocked by Burnoff guardrail').trim();
|
|
96
|
+
return {
|
|
97
|
+
...engineResult,
|
|
98
|
+
exitCode: 2,
|
|
99
|
+
stdout: '',
|
|
100
|
+
stderr: reason
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
return {
|
|
104
|
+
...engineResult,
|
|
105
|
+
exitCode: 0,
|
|
106
|
+
stdout: '',
|
|
107
|
+
stderr: ''
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
74
111
|
if (engineResult.exitCode === 2 || verdict?.decision === 'deny') {
|
|
75
112
|
const reason = String(engineResult.stderr || verdict?.reason || 'Blocked by Burnoff guardrail').trim();
|
|
76
113
|
return {
|
package/src/config/catalog.json
CHANGED
|
@@ -40,6 +40,9 @@
|
|
|
40
40
|
"sourceUrl": "https://openrouter.ai/api/v1/models",
|
|
41
41
|
"verifiedAt": "2026-11-15",
|
|
42
42
|
"dateRead": "2026-11-15",
|
|
43
|
+
"minCacheableTokens": 512,
|
|
44
|
+
"minCacheableSourceUrl": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching",
|
|
45
|
+
"minCacheableCheckedOn": "2026-11-28",
|
|
43
46
|
"pricingCliff": null
|
|
44
47
|
},
|
|
45
48
|
"claude-fable-5-1": {
|
|
@@ -66,6 +69,9 @@
|
|
|
66
69
|
"sourceUrl": "https://openrouter.ai/api/v1/models",
|
|
67
70
|
"verifiedAt": "2026-11-15",
|
|
68
71
|
"dateRead": "2026-11-15",
|
|
72
|
+
"minCacheableTokens": 512,
|
|
73
|
+
"minCacheableSourceUrl": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching",
|
|
74
|
+
"minCacheableCheckedOn": "2026-11-28",
|
|
69
75
|
"pricingCliff": null
|
|
70
76
|
},
|
|
71
77
|
"claude-fable-5": {
|
|
@@ -90,6 +96,9 @@
|
|
|
90
96
|
},
|
|
91
97
|
"source": "OpenRouter /api/v1/models & Claude Code 2.1.325 bakedCatalog (tier_10_50)",
|
|
92
98
|
"dateRead": "2026-11-15",
|
|
99
|
+
"minCacheableTokens": 512,
|
|
100
|
+
"minCacheableSourceUrl": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching",
|
|
101
|
+
"minCacheableCheckedOn": "2026-11-28",
|
|
93
102
|
"pricingCliff": null
|
|
94
103
|
},
|
|
95
104
|
"claude-opus-5-5": {
|
|
@@ -116,6 +125,9 @@
|
|
|
116
125
|
"sourceUrl": "https://openrouter.ai/api/v1/models",
|
|
117
126
|
"verifiedAt": "2026-11-15",
|
|
118
127
|
"dateRead": "2026-11-15",
|
|
128
|
+
"minCacheableTokens": 512,
|
|
129
|
+
"minCacheableSourceUrl": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching",
|
|
130
|
+
"minCacheableCheckedOn": "2026-11-28",
|
|
119
131
|
"pricingCliff": null
|
|
120
132
|
},
|
|
121
133
|
"claude-sonnet-5-5": {
|
|
@@ -142,6 +154,9 @@
|
|
|
142
154
|
"sourceUrl": "https://openrouter.ai/api/v1/models",
|
|
143
155
|
"verifiedAt": "2026-11-15",
|
|
144
156
|
"dateRead": "2026-11-15",
|
|
157
|
+
"minCacheableTokens": 512,
|
|
158
|
+
"minCacheableSourceUrl": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching",
|
|
159
|
+
"minCacheableCheckedOn": "2026-11-28",
|
|
145
160
|
"pricingCliff": null
|
|
146
161
|
},
|
|
147
162
|
"claude-haiku-5-5": {
|
|
@@ -166,6 +181,9 @@
|
|
|
166
181
|
},
|
|
167
182
|
"source": "OpenRouter /api/v1/models & Claude Code 2.1.325 bakedCatalog (haiku_55)",
|
|
168
183
|
"dateRead": "2026-11-15",
|
|
184
|
+
"minCacheableTokens": 512,
|
|
185
|
+
"minCacheableSourceUrl": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching",
|
|
186
|
+
"minCacheableCheckedOn": "2026-11-28",
|
|
169
187
|
"pricingCliff": {
|
|
170
188
|
"thresholdTokens": 100000,
|
|
171
189
|
"preCliffWarningTokens": 90000,
|
|
@@ -298,6 +316,16 @@
|
|
|
298
316
|
"shortLabel": "Carbon",
|
|
299
317
|
"family": "carbon",
|
|
300
318
|
"generation": "4",
|
|
319
|
+
"aliases": [
|
|
320
|
+
"m427",
|
|
321
|
+
"m437",
|
|
322
|
+
"m438",
|
|
323
|
+
"m670",
|
|
324
|
+
"gemini-pro-orchestrator",
|
|
325
|
+
"gemini-pro-orchestrator-carbon",
|
|
326
|
+
"orchestrator-carbon",
|
|
327
|
+
"gemini-4-carbon-cyber-permissive"
|
|
328
|
+
],
|
|
301
329
|
"contextCeiling": 1048576,
|
|
302
330
|
"operationalSoftCeiling": 200000,
|
|
303
331
|
"ratesPer1M": {
|
|
@@ -350,6 +378,10 @@
|
|
|
350
378
|
"shortLabel": "Argon",
|
|
351
379
|
"family": "argon",
|
|
352
380
|
"generation": "4",
|
|
381
|
+
"aliases": [
|
|
382
|
+
"gemini-pro-orchestrator-argon",
|
|
383
|
+
"orchestrator-argon"
|
|
384
|
+
],
|
|
353
385
|
"contextCeiling": 1048576,
|
|
354
386
|
"operationalSoftCeiling": 200000,
|
|
355
387
|
"ratesPer1M": {
|
|
@@ -402,6 +434,10 @@
|
|
|
402
434
|
"shortLabel": "Neon",
|
|
403
435
|
"family": "neon",
|
|
404
436
|
"generation": "4",
|
|
437
|
+
"aliases": [
|
|
438
|
+
"gemini-pro-orchestrator-neon",
|
|
439
|
+
"orchestrator-neon"
|
|
440
|
+
],
|
|
405
441
|
"contextCeiling": 1048576,
|
|
406
442
|
"operationalSoftCeiling": 200000,
|
|
407
443
|
"ratesPer1M": {
|
|
@@ -427,6 +463,8 @@
|
|
|
427
463
|
"family": "hydrogen",
|
|
428
464
|
"generation": "4",
|
|
429
465
|
"aliases": [
|
|
466
|
+
"gemini-pro-orchestrator-hydrogen",
|
|
467
|
+
"orchestrator-hydrogen",
|
|
430
468
|
"gemini-4-hydrogen-tiered-high",
|
|
431
469
|
"gemini-4-hydrogen-tiered-medium",
|
|
432
470
|
"gemini-4-hydrogen-tiered-low"
|
|
@@ -455,6 +493,10 @@
|
|
|
455
493
|
"shortLabel": "Flash 3.8",
|
|
456
494
|
"family": "flash",
|
|
457
495
|
"generation": "3.8",
|
|
496
|
+
"aliases": [
|
|
497
|
+
"gemini-3.8-flash",
|
|
498
|
+
"gemini-flash"
|
|
499
|
+
],
|
|
458
500
|
"contextCeiling": 1000000,
|
|
459
501
|
"operationalSoftCeiling": 200000,
|
|
460
502
|
"ratesPer1M": {
|
|
@@ -523,6 +565,9 @@
|
|
|
523
565
|
},
|
|
524
566
|
"source": "OpenRouter /api/v1/models",
|
|
525
567
|
"dateRead": "2026-11-15",
|
|
568
|
+
"minCacheableTokens": 512,
|
|
569
|
+
"minCacheableSourceUrl": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching",
|
|
570
|
+
"minCacheableCheckedOn": "2026-11-28",
|
|
526
571
|
"pricingCliff": null
|
|
527
572
|
},
|
|
528
573
|
"claude-sonnet-5": {
|
|
@@ -547,6 +592,9 @@
|
|
|
547
592
|
},
|
|
548
593
|
"source": "OpenRouter /api/v1/models",
|
|
549
594
|
"dateRead": "2026-11-15",
|
|
595
|
+
"minCacheableTokens": 1024,
|
|
596
|
+
"minCacheableSourceUrl": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching",
|
|
597
|
+
"minCacheableCheckedOn": "2026-11-28",
|
|
550
598
|
"pricingCliff": null
|
|
551
599
|
},
|
|
552
600
|
"claude-opus-4-8": {
|
|
@@ -571,6 +619,9 @@
|
|
|
571
619
|
},
|
|
572
620
|
"source": "OpenRouter /api/v1/models",
|
|
573
621
|
"dateRead": "2026-11-15",
|
|
622
|
+
"minCacheableTokens": 1024,
|
|
623
|
+
"minCacheableSourceUrl": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching",
|
|
624
|
+
"minCacheableCheckedOn": "2026-11-28",
|
|
574
625
|
"pricingCliff": {
|
|
575
626
|
"thresholdTokens": 200000,
|
|
576
627
|
"preCliffWarningTokens": 180000,
|
|
@@ -608,6 +659,9 @@
|
|
|
608
659
|
},
|
|
609
660
|
"source": "OpenRouter /api/v1/models",
|
|
610
661
|
"dateRead": "2026-11-15",
|
|
662
|
+
"minCacheableTokens": 2048,
|
|
663
|
+
"minCacheableSourceUrl": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching",
|
|
664
|
+
"minCacheableCheckedOn": "2026-11-28",
|
|
611
665
|
"pricingCliff": {
|
|
612
666
|
"thresholdTokens": 200000,
|
|
613
667
|
"preCliffWarningTokens": 180000,
|
|
@@ -645,6 +699,9 @@
|
|
|
645
699
|
},
|
|
646
700
|
"source": "OpenRouter /api/v1/models",
|
|
647
701
|
"dateRead": "2026-11-15",
|
|
702
|
+
"minCacheableTokens": 4096,
|
|
703
|
+
"minCacheableSourceUrl": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching",
|
|
704
|
+
"minCacheableCheckedOn": "2026-11-28",
|
|
648
705
|
"pricingCliff": {
|
|
649
706
|
"thresholdTokens": 200000,
|
|
650
707
|
"preCliffWarningTokens": 180000,
|
|
@@ -682,6 +739,9 @@
|
|
|
682
739
|
},
|
|
683
740
|
"source": "OpenRouter /api/v1/models",
|
|
684
741
|
"dateRead": "2026-11-15",
|
|
742
|
+
"minCacheableTokens": 4096,
|
|
743
|
+
"minCacheableSourceUrl": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching",
|
|
744
|
+
"minCacheableCheckedOn": "2026-11-28",
|
|
685
745
|
"pricingCliff": null
|
|
686
746
|
},
|
|
687
747
|
"claude-opus-4-1": {
|
|
@@ -706,6 +766,9 @@
|
|
|
706
766
|
},
|
|
707
767
|
"source": "OpenRouter /api/v1/models",
|
|
708
768
|
"dateRead": "2026-11-15",
|
|
769
|
+
"minCacheableTokens": 1024,
|
|
770
|
+
"minCacheableSourceUrl": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching",
|
|
771
|
+
"minCacheableCheckedOn": "2026-11-28",
|
|
709
772
|
"pricingCliff": null
|
|
710
773
|
},
|
|
711
774
|
"claude-opus-4-0": {
|
|
@@ -730,6 +793,9 @@
|
|
|
730
793
|
},
|
|
731
794
|
"source": "Claude Code 2.1.325 bakedCatalog (tier_15_75) & OpenRouter /api/v1/models (anthropic/claude-opus-4)",
|
|
732
795
|
"dateRead": "2026-11-15",
|
|
796
|
+
"minCacheableTokens": 1024,
|
|
797
|
+
"minCacheableSourceUrl": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching",
|
|
798
|
+
"minCacheableCheckedOn": "2026-11-28",
|
|
733
799
|
"pricingCliff": null
|
|
734
800
|
},
|
|
735
801
|
"claude-sonnet-4-6": {
|
|
@@ -754,6 +820,9 @@
|
|
|
754
820
|
},
|
|
755
821
|
"source": "OpenRouter /api/v1/models",
|
|
756
822
|
"dateRead": "2026-11-15",
|
|
823
|
+
"minCacheableTokens": 1024,
|
|
824
|
+
"minCacheableSourceUrl": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching",
|
|
825
|
+
"minCacheableCheckedOn": "2026-11-28",
|
|
757
826
|
"pricingCliff": {
|
|
758
827
|
"thresholdTokens": 200000,
|
|
759
828
|
"preCliffWarningTokens": 180000,
|
|
@@ -791,6 +860,9 @@
|
|
|
791
860
|
},
|
|
792
861
|
"source": "OpenRouter /api/v1/models",
|
|
793
862
|
"dateRead": "2026-11-15",
|
|
863
|
+
"minCacheableTokens": 1024,
|
|
864
|
+
"minCacheableSourceUrl": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching",
|
|
865
|
+
"minCacheableCheckedOn": "2026-11-28",
|
|
794
866
|
"pricingCliff": null
|
|
795
867
|
},
|
|
796
868
|
"claude-sonnet-4-0": {
|
|
@@ -815,6 +887,9 @@
|
|
|
815
887
|
},
|
|
816
888
|
"source": "Claude Code 2.1.325 bakedCatalog (tier_3_15) & OpenRouter /api/v1/models (anthropic/claude-sonnet-4)",
|
|
817
889
|
"dateRead": "2026-11-15",
|
|
890
|
+
"minCacheableTokens": 1024,
|
|
891
|
+
"minCacheableSourceUrl": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching",
|
|
892
|
+
"minCacheableCheckedOn": "2026-11-28",
|
|
818
893
|
"pricingCliff": null
|
|
819
894
|
},
|
|
820
895
|
"claude-haiku-4-5": {
|
|
@@ -839,6 +914,9 @@
|
|
|
839
914
|
},
|
|
840
915
|
"source": "OpenRouter /api/v1/models",
|
|
841
916
|
"dateRead": "2026-11-15",
|
|
917
|
+
"minCacheableTokens": 4096,
|
|
918
|
+
"minCacheableSourceUrl": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching",
|
|
919
|
+
"minCacheableCheckedOn": "2026-11-28",
|
|
842
920
|
"pricingCliff": null
|
|
843
921
|
},
|
|
844
922
|
"claude-3-7-sonnet": {
|
|
@@ -935,6 +1013,9 @@
|
|
|
935
1013
|
},
|
|
936
1014
|
"source": "Claude Code 2.1.325 bakedCatalog (tier_10_50; OpenRouter price unverified)",
|
|
937
1015
|
"dateRead": "2026-11-15",
|
|
1016
|
+
"minCacheableTokens": 512,
|
|
1017
|
+
"minCacheableSourceUrl": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching",
|
|
1018
|
+
"minCacheableCheckedOn": "2026-11-28",
|
|
938
1019
|
"pricingCliff": null
|
|
939
1020
|
},
|
|
940
1021
|
"claude-mythos-5-1": {
|
|
@@ -959,6 +1040,9 @@
|
|
|
959
1040
|
},
|
|
960
1041
|
"source": "Claude Code 2.1.325 bakedCatalog (tier_10_50_cache_read_0_25; OpenRouter price unverified)",
|
|
961
1042
|
"dateRead": "2026-11-15",
|
|
1043
|
+
"minCacheableTokens": 512,
|
|
1044
|
+
"minCacheableSourceUrl": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching",
|
|
1045
|
+
"minCacheableCheckedOn": "2026-11-28",
|
|
962
1046
|
"pricingCliff": null
|
|
963
1047
|
},
|
|
964
1048
|
"claude-mythos-5-2": {
|
|
@@ -983,6 +1067,9 @@
|
|
|
983
1067
|
},
|
|
984
1068
|
"source": "Claude Code 2.1.325 bakedCatalog (tier_8_40_cache_read_0_20; OpenRouter price unverified)",
|
|
985
1069
|
"dateRead": "2026-11-15",
|
|
1070
|
+
"minCacheableTokens": 512,
|
|
1071
|
+
"minCacheableSourceUrl": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching",
|
|
1072
|
+
"minCacheableCheckedOn": "2026-11-28",
|
|
986
1073
|
"pricingCliff": null
|
|
987
1074
|
},
|
|
988
1075
|
"gpt-6-1-sol": {
|
|
@@ -1012,6 +1099,214 @@
|
|
|
1012
1099
|
"source": "config/modelCatalog.json",
|
|
1013
1100
|
"dateRead": "2026-11-27",
|
|
1014
1101
|
"pricingCliff": null
|
|
1102
|
+
},
|
|
1103
|
+
"gpt-6-2-astra": {
|
|
1104
|
+
"id": "gpt-6-2-astra",
|
|
1105
|
+
"label": "GPT-6.2 Astra",
|
|
1106
|
+
"shortLabel": "GPT-6.2 Astra",
|
|
1107
|
+
"family": "openai-gpt6",
|
|
1108
|
+
"generation": "6.2",
|
|
1109
|
+
"aliases": [
|
|
1110
|
+
"gpt-6.2-astra",
|
|
1111
|
+
"openai/gpt-6.2-astra",
|
|
1112
|
+
"openai/gpt-6-2-astra"
|
|
1113
|
+
],
|
|
1114
|
+
"contextCeiling": 1050000,
|
|
1115
|
+
"operationalSoftCeiling": 245000,
|
|
1116
|
+
"ratesPer1M": {
|
|
1117
|
+
"input": 8,
|
|
1118
|
+
"output": 40,
|
|
1119
|
+
"write5m": 10,
|
|
1120
|
+
"write1h": 20,
|
|
1121
|
+
"read": 0.4
|
|
1122
|
+
},
|
|
1123
|
+
"multipliers": {
|
|
1124
|
+
"write5m": 1.25,
|
|
1125
|
+
"write1h": 2.5,
|
|
1126
|
+
"read": 0.05
|
|
1127
|
+
},
|
|
1128
|
+
"source": "openai.com/api/pricing (verified 2026-11-26)",
|
|
1129
|
+
"dateRead": "2026-11-26",
|
|
1130
|
+
"pricingCliff": {
|
|
1131
|
+
"thresholdTokens": 272000,
|
|
1132
|
+
"preCliffWarningTokens": 245000,
|
|
1133
|
+
"multiplier": 2,
|
|
1134
|
+
"cachedReadMultiplier": 2,
|
|
1135
|
+
"outputMultiplier": 1.5,
|
|
1136
|
+
"ratesPer1MAboveCliff": {
|
|
1137
|
+
"input": 16,
|
|
1138
|
+
"output": 60,
|
|
1139
|
+
"write5m": 20,
|
|
1140
|
+
"write1h": 40,
|
|
1141
|
+
"read": 0.8
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
},
|
|
1145
|
+
"gpt-6-2-sol": {
|
|
1146
|
+
"id": "gpt-6-2-sol",
|
|
1147
|
+
"label": "GPT-6.2 Sol",
|
|
1148
|
+
"shortLabel": "GPT-6.2 Sol",
|
|
1149
|
+
"family": "openai-gpt6",
|
|
1150
|
+
"generation": "6.2",
|
|
1151
|
+
"aliases": [
|
|
1152
|
+
"gpt-6.2-sol",
|
|
1153
|
+
"openai/gpt-6.2-sol",
|
|
1154
|
+
"openai/gpt-6-2-sol"
|
|
1155
|
+
],
|
|
1156
|
+
"contextCeiling": 1050000,
|
|
1157
|
+
"operationalSoftCeiling": 245000,
|
|
1158
|
+
"ratesPer1M": {
|
|
1159
|
+
"input": 2,
|
|
1160
|
+
"output": 10,
|
|
1161
|
+
"write5m": 2.5,
|
|
1162
|
+
"write1h": 5,
|
|
1163
|
+
"read": 0.1
|
|
1164
|
+
},
|
|
1165
|
+
"multipliers": {
|
|
1166
|
+
"write5m": 1.25,
|
|
1167
|
+
"write1h": 2.5,
|
|
1168
|
+
"read": 0.05
|
|
1169
|
+
},
|
|
1170
|
+
"source": "openai.com/api/pricing (verified 2026-11-26)",
|
|
1171
|
+
"dateRead": "2026-11-26",
|
|
1172
|
+
"pricingCliff": {
|
|
1173
|
+
"thresholdTokens": 272000,
|
|
1174
|
+
"preCliffWarningTokens": 245000,
|
|
1175
|
+
"multiplier": 2,
|
|
1176
|
+
"cachedReadMultiplier": 2,
|
|
1177
|
+
"outputMultiplier": 1.5,
|
|
1178
|
+
"ratesPer1MAboveCliff": {
|
|
1179
|
+
"input": 4,
|
|
1180
|
+
"output": 15,
|
|
1181
|
+
"write5m": 5,
|
|
1182
|
+
"write1h": 10,
|
|
1183
|
+
"read": 0.2
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
},
|
|
1187
|
+
"gpt-6-1-terra": {
|
|
1188
|
+
"id": "gpt-6-1-terra",
|
|
1189
|
+
"label": "GPT-6.1 Terra",
|
|
1190
|
+
"shortLabel": "GPT-6.1 Terra",
|
|
1191
|
+
"family": "openai-gpt6",
|
|
1192
|
+
"generation": "6.1",
|
|
1193
|
+
"aliases": [
|
|
1194
|
+
"gpt-6.1-terra",
|
|
1195
|
+
"openai/gpt-6.1-terra",
|
|
1196
|
+
"openai/gpt-6-1-terra"
|
|
1197
|
+
],
|
|
1198
|
+
"contextCeiling": 1050000,
|
|
1199
|
+
"operationalSoftCeiling": 245000,
|
|
1200
|
+
"ratesPer1M": {
|
|
1201
|
+
"input": 1,
|
|
1202
|
+
"output": 5,
|
|
1203
|
+
"write5m": 1.25,
|
|
1204
|
+
"write1h": 2.5,
|
|
1205
|
+
"read": 0.05
|
|
1206
|
+
},
|
|
1207
|
+
"multipliers": {
|
|
1208
|
+
"write5m": 1.25,
|
|
1209
|
+
"write1h": 2.5,
|
|
1210
|
+
"read": 0.05
|
|
1211
|
+
},
|
|
1212
|
+
"source": "openai.com/api/pricing (verified 2026-11-28)",
|
|
1213
|
+
"dateRead": "2026-11-28",
|
|
1214
|
+
"pricingCliff": {
|
|
1215
|
+
"thresholdTokens": 272000,
|
|
1216
|
+
"preCliffWarningTokens": 245000,
|
|
1217
|
+
"multiplier": 2,
|
|
1218
|
+
"cachedReadMultiplier": 2,
|
|
1219
|
+
"outputMultiplier": 1.5,
|
|
1220
|
+
"ratesPer1MAboveCliff": {
|
|
1221
|
+
"input": 2,
|
|
1222
|
+
"output": 7.5,
|
|
1223
|
+
"write5m": 2.5,
|
|
1224
|
+
"write1h": 5,
|
|
1225
|
+
"read": 0.1
|
|
1226
|
+
}
|
|
1227
|
+
}
|
|
1228
|
+
},
|
|
1229
|
+
"gpt-6-astra": {
|
|
1230
|
+
"id": "gpt-6-astra",
|
|
1231
|
+
"label": "GPT-6 Astra",
|
|
1232
|
+
"shortLabel": "GPT-6 Astra",
|
|
1233
|
+
"family": "openai-gpt6",
|
|
1234
|
+
"generation": "6",
|
|
1235
|
+
"aliases": [
|
|
1236
|
+
"gpt-6-astra",
|
|
1237
|
+
"openai/gpt-6-astra"
|
|
1238
|
+
],
|
|
1239
|
+
"contextCeiling": 1050000,
|
|
1240
|
+
"operationalSoftCeiling": 245000,
|
|
1241
|
+
"ratesPer1M": {
|
|
1242
|
+
"input": 10,
|
|
1243
|
+
"output": 50,
|
|
1244
|
+
"write5m": 12.5,
|
|
1245
|
+
"write1h": 25,
|
|
1246
|
+
"read": 1
|
|
1247
|
+
},
|
|
1248
|
+
"multipliers": {
|
|
1249
|
+
"write5m": 1.25,
|
|
1250
|
+
"write1h": 2.5,
|
|
1251
|
+
"read": 0.1
|
|
1252
|
+
},
|
|
1253
|
+
"source": "openai.com/api/pricing (verified 2026-11-28)",
|
|
1254
|
+
"dateRead": "2026-11-28",
|
|
1255
|
+
"pricingCliff": {
|
|
1256
|
+
"thresholdTokens": 272000,
|
|
1257
|
+
"preCliffWarningTokens": 245000,
|
|
1258
|
+
"multiplier": 2,
|
|
1259
|
+
"cachedReadMultiplier": 2,
|
|
1260
|
+
"outputMultiplier": 1.5,
|
|
1261
|
+
"ratesPer1MAboveCliff": {
|
|
1262
|
+
"input": 20,
|
|
1263
|
+
"output": 75,
|
|
1264
|
+
"write5m": 25,
|
|
1265
|
+
"write1h": 50,
|
|
1266
|
+
"read": 2
|
|
1267
|
+
}
|
|
1268
|
+
}
|
|
1269
|
+
},
|
|
1270
|
+
"gpt-6-luna": {
|
|
1271
|
+
"id": "gpt-6-luna",
|
|
1272
|
+
"label": "GPT-6 Luna",
|
|
1273
|
+
"shortLabel": "GPT-6 Luna",
|
|
1274
|
+
"family": "openai-gpt6",
|
|
1275
|
+
"generation": "6",
|
|
1276
|
+
"aliases": [
|
|
1277
|
+
"gpt-6-luna",
|
|
1278
|
+
"openai/gpt-6-luna"
|
|
1279
|
+
],
|
|
1280
|
+
"contextCeiling": 1050000,
|
|
1281
|
+
"operationalSoftCeiling": 245000,
|
|
1282
|
+
"ratesPer1M": {
|
|
1283
|
+
"input": 0.1,
|
|
1284
|
+
"output": 0.5,
|
|
1285
|
+
"write5m": 0.125,
|
|
1286
|
+
"write1h": 0.25,
|
|
1287
|
+
"read": 0.01
|
|
1288
|
+
},
|
|
1289
|
+
"multipliers": {
|
|
1290
|
+
"write5m": 1.25,
|
|
1291
|
+
"write1h": 2.5,
|
|
1292
|
+
"read": 0.1
|
|
1293
|
+
},
|
|
1294
|
+
"source": "openai.com/api/pricing (verified 2026-11-28)",
|
|
1295
|
+
"dateRead": "2026-11-28",
|
|
1296
|
+
"pricingCliff": {
|
|
1297
|
+
"thresholdTokens": 272000,
|
|
1298
|
+
"preCliffWarningTokens": 245000,
|
|
1299
|
+
"multiplier": 2,
|
|
1300
|
+
"cachedReadMultiplier": 2,
|
|
1301
|
+
"outputMultiplier": 1.5,
|
|
1302
|
+
"ratesPer1MAboveCliff": {
|
|
1303
|
+
"input": 0.2,
|
|
1304
|
+
"output": 0.75,
|
|
1305
|
+
"write5m": 0.25,
|
|
1306
|
+
"write1h": 0.5,
|
|
1307
|
+
"read": 0.02
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1015
1310
|
}
|
|
1016
1311
|
}
|
|
1017
1312
|
}
|