@namzu/sdk 74.0.0 → 75.0.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/CHANGELOG.md +65 -0
- package/dist/bridge/acp/server.d.ts +2 -0
- package/dist/bridge/acp/server.d.ts.map +1 -1
- package/dist/bridge/acp/server.js +9 -1
- package/dist/bridge/acp/server.js.map +1 -1
- package/dist/config/runtime.d.ts +3 -3
- package/dist/connector/mcp/adapter.d.ts +1 -1
- package/dist/connector/mcp/adapter.d.ts.map +1 -1
- package/dist/connector/mcp/adapter.js +3 -2
- package/dist/connector/mcp/adapter.js.map +1 -1
- package/dist/connector/mcp/client.d.ts +4 -25
- package/dist/connector/mcp/client.d.ts.map +1 -1
- package/dist/connector/mcp/client.js +32 -32
- package/dist/connector/mcp/client.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/manager/session/turn-recorder.d.ts +1 -0
- package/dist/manager/session/turn-recorder.d.ts.map +1 -1
- package/dist/manager/session/turn-recorder.js +31 -7
- package/dist/manager/session/turn-recorder.js.map +1 -1
- package/dist/pricing/catalogue.generated.d.ts.map +1 -1
- package/dist/pricing/catalogue.generated.js +176 -21
- package/dist/pricing/catalogue.generated.js.map +1 -1
- package/dist/provider/errors.d.ts.map +1 -1
- package/dist/provider/errors.js +13 -18
- package/dist/provider/errors.js.map +1 -1
- package/dist/provider/stream-request-timeout.d.ts +9 -0
- package/dist/provider/stream-request-timeout.d.ts.map +1 -0
- package/dist/provider/stream-request-timeout.js +34 -0
- package/dist/provider/stream-request-timeout.js.map +1 -0
- package/dist/public-runtime.d.ts +2 -0
- package/dist/public-runtime.d.ts.map +1 -1
- package/dist/public-runtime.js +2 -0
- package/dist/public-runtime.js.map +1 -1
- package/dist/public-tools.d.ts +1 -1
- package/dist/public-tools.d.ts.map +1 -1
- package/dist/public-tools.js +1 -1
- package/dist/public-tools.js.map +1 -1
- package/dist/runtime/query/executor.d.ts +3 -0
- package/dist/runtime/query/executor.d.ts.map +1 -1
- package/dist/runtime/query/executor.js +15 -3
- package/dist/runtime/query/executor.js.map +1 -1
- package/dist/runtime/query/file-evidence-replay.d.ts +1 -0
- package/dist/runtime/query/file-evidence-replay.d.ts.map +1 -1
- package/dist/runtime/query/file-evidence-replay.js +64 -21
- package/dist/runtime/query/file-evidence-replay.js.map +1 -1
- package/dist/runtime/query/file-evidence-seed.d.ts +7 -0
- package/dist/runtime/query/file-evidence-seed.d.ts.map +1 -1
- package/dist/runtime/query/file-evidence-seed.js +12 -1
- package/dist/runtime/query/file-evidence-seed.js.map +1 -1
- package/dist/runtime/query/guard.d.ts.map +1 -1
- package/dist/runtime/query/guard.js +12 -2
- package/dist/runtime/query/guard.js.map +1 -1
- package/dist/runtime/query/index.d.ts +2 -0
- package/dist/runtime/query/index.d.ts.map +1 -1
- package/dist/runtime/query/index.js +6 -2
- package/dist/runtime/query/index.js.map +1 -1
- package/dist/runtime/query/iteration/index.d.ts +3 -0
- package/dist/runtime/query/iteration/index.d.ts.map +1 -1
- package/dist/runtime/query/iteration/index.js +32 -11
- package/dist/runtime/query/iteration/index.js.map +1 -1
- package/dist/runtime/query/iteration/phases/advisory.js +2 -2
- package/dist/runtime/query/iteration/phases/advisory.js.map +1 -1
- package/dist/runtime/query/path-escalation.d.ts.map +1 -1
- package/dist/runtime/query/path-escalation.js +4 -3
- package/dist/runtime/query/path-escalation.js.map +1 -1
- package/dist/runtime/query/prepare-turn.d.ts.map +1 -1
- package/dist/runtime/query/prepare-turn.js +1 -1
- package/dist/runtime/query/prepare-turn.js.map +1 -1
- package/dist/runtime/query/tooling.d.ts +2 -0
- package/dist/runtime/query/tooling.d.ts.map +1 -1
- package/dist/runtime/query/tooling.js +1 -0
- package/dist/runtime/query/tooling.js.map +1 -1
- package/dist/sandbox/file-walk-program.js +1 -1
- package/dist/sandbox/ignore-matcher.d.ts +2 -0
- package/dist/sandbox/ignore-matcher.d.ts.map +1 -1
- package/dist/sandbox/ignore-matcher.js +8 -2
- package/dist/sandbox/ignore-matcher.js.map +1 -1
- package/dist/sandbox/ignore-source.d.ts.map +1 -1
- package/dist/sandbox/ignore-source.js +51 -7
- package/dist/sandbox/ignore-source.js.map +1 -1
- package/dist/sandbox/limit-error.d.ts +7 -0
- package/dist/sandbox/limit-error.d.ts.map +1 -0
- package/dist/sandbox/limit-error.js +13 -0
- package/dist/sandbox/limit-error.js.map +1 -0
- package/dist/sandbox/provider/local.d.ts +1 -0
- package/dist/sandbox/provider/local.d.ts.map +1 -1
- package/dist/sandbox/provider/local.js +95 -31
- package/dist/sandbox/provider/local.js.map +1 -1
- package/dist/schedules/cron.js +1 -1
- package/dist/schedules/cron.js.map +1 -1
- package/dist/schedules/describe.js +1 -1
- package/dist/schedules/describe.js.map +1 -1
- package/dist/schedules/next-fire.d.ts +2 -2
- package/dist/schedules/next-fire.d.ts.map +1 -1
- package/dist/schedules/next-fire.js +7 -4
- package/dist/schedules/next-fire.js.map +1 -1
- package/dist/schedules/spec.d.ts.map +1 -1
- package/dist/schedules/spec.js +23 -7
- package/dist/schedules/spec.js.map +1 -1
- package/dist/schedules/types.d.ts +2 -0
- package/dist/schedules/types.d.ts.map +1 -1
- package/dist/store/budget/ledger.d.ts +15 -1
- package/dist/store/budget/ledger.d.ts.map +1 -1
- package/dist/store/budget/ledger.js +80 -1
- package/dist/store/budget/ledger.js.map +1 -1
- package/dist/store/evidence/source-text.d.ts +1 -1
- package/dist/store/session-index/sqlite.d.ts.map +1 -1
- package/dist/store/session-index/sqlite.js +7 -3
- package/dist/store/session-index/sqlite.js.map +1 -1
- package/dist/store/session-log/core.d.ts.map +1 -1
- package/dist/store/session-log/core.js +88 -24
- package/dist/store/session-log/core.js.map +1 -1
- package/dist/store/session-log/disk.js +1 -1
- package/dist/store/session-log/disk.js.map +1 -1
- package/dist/tools/builtins/atomic-write-file.d.ts +2 -0
- package/dist/tools/builtins/atomic-write-file.d.ts.map +1 -1
- package/dist/tools/builtins/atomic-write-file.js +37 -8
- package/dist/tools/builtins/atomic-write-file.js.map +1 -1
- package/dist/tools/builtins/code-analysis.d.ts.map +1 -1
- package/dist/tools/builtins/code-analysis.js +4 -1
- package/dist/tools/builtins/code-analysis.js.map +1 -1
- package/dist/tools/builtins/edit-apply.d.ts.map +1 -1
- package/dist/tools/builtins/edit-apply.js +24 -10
- package/dist/tools/builtins/edit-apply.js.map +1 -1
- package/dist/tools/builtins/edit.d.ts.map +1 -1
- package/dist/tools/builtins/edit.js +31 -15
- package/dist/tools/builtins/edit.js.map +1 -1
- package/dist/tools/builtins/file-text.d.ts +3 -0
- package/dist/tools/builtins/file-text.d.ts.map +1 -0
- package/dist/tools/builtins/file-text.js +14 -0
- package/dist/tools/builtins/file-text.js.map +1 -0
- package/dist/tools/builtins/glob.d.ts.map +1 -1
- package/dist/tools/builtins/glob.js +7 -2
- package/dist/tools/builtins/glob.js.map +1 -1
- package/dist/tools/builtins/grep.d.ts.map +1 -1
- package/dist/tools/builtins/grep.js +8 -5
- package/dist/tools/builtins/grep.js.map +1 -1
- package/dist/tools/builtins/ls.d.ts.map +1 -1
- package/dist/tools/builtins/ls.js +2 -1
- package/dist/tools/builtins/ls.js.map +1 -1
- package/dist/tools/builtins/notebook-edit.d.ts.map +1 -1
- package/dist/tools/builtins/notebook-edit.js +19 -10
- package/dist/tools/builtins/notebook-edit.js.map +1 -1
- package/dist/tools/builtins/read-file.d.ts.map +1 -1
- package/dist/tools/builtins/read-file.js +61 -29
- package/dist/tools/builtins/read-file.js.map +1 -1
- package/dist/tools/builtins/read-regular-file.d.ts +5 -0
- package/dist/tools/builtins/read-regular-file.d.ts.map +1 -0
- package/dist/tools/builtins/read-regular-file.js +23 -0
- package/dist/tools/builtins/read-regular-file.js.map +1 -0
- package/dist/tools/builtins/search-support.d.ts +2 -0
- package/dist/tools/builtins/search-support.d.ts.map +1 -1
- package/dist/tools/builtins/search-support.js +14 -0
- package/dist/tools/builtins/search-support.js.map +1 -1
- package/dist/tools/builtins/stale-before-review.d.ts.map +1 -1
- package/dist/tools/builtins/stale-before-review.js +8 -5
- package/dist/tools/builtins/stale-before-review.js.map +1 -1
- package/dist/tools/builtins/write-file.d.ts.map +1 -1
- package/dist/tools/builtins/write-file.js +17 -13
- package/dist/tools/builtins/write-file.js.map +1 -1
- package/dist/tools/defineTool.d.ts.map +1 -1
- package/dist/tools/defineTool.js +4 -3
- package/dist/tools/defineTool.js.map +1 -1
- package/dist/tools/paths.d.ts +9 -0
- package/dist/tools/paths.d.ts.map +1 -1
- package/dist/tools/paths.js +39 -9
- package/dist/tools/paths.js.map +1 -1
- package/dist/tools/posix-path.d.ts +2 -14
- package/dist/tools/posix-path.d.ts.map +1 -1
- package/dist/tools/posix-path.js +7 -0
- package/dist/tools/posix-path.js.map +1 -1
- package/dist/tools/tool-is-available.d.ts +4 -0
- package/dist/tools/tool-is-available.d.ts.map +1 -0
- package/dist/tools/tool-is-available.js +8 -0
- package/dist/tools/tool-is-available.js.map +1 -0
- package/dist/types/code-analysis/index.d.ts +1 -1
- package/dist/types/code-analysis/index.d.ts.map +1 -1
- package/dist/types/common/index.d.ts +6 -0
- package/dist/types/common/index.d.ts.map +1 -1
- package/dist/types/common/index.js +13 -0
- package/dist/types/common/index.js.map +1 -1
- package/dist/types/provider/errors.d.ts.map +1 -1
- package/dist/types/provider/errors.js +3 -5
- package/dist/types/provider/errors.js.map +1 -1
- package/dist/types/sandbox/index.d.ts +13 -2
- package/dist/types/sandbox/index.d.ts.map +1 -1
- package/dist/types/sandbox/index.js.map +1 -1
- package/dist/types/session/checkpoint.d.ts +4 -0
- package/dist/types/session/checkpoint.d.ts.map +1 -1
- package/dist/types/session/checkpoint.js +2 -0
- package/dist/types/session/checkpoint.js.map +1 -1
- package/dist/types/session/events.d.ts +1 -0
- package/dist/types/session/events.d.ts.map +1 -1
- package/dist/types/session/events.js.map +1 -1
- package/dist/types/session/records.d.ts +42 -6
- package/dist/types/session/records.d.ts.map +1 -1
- package/dist/types/session/records.js +1 -0
- package/dist/types/session/records.js.map +1 -1
- package/dist/types/tool/index.d.ts +2 -0
- package/dist/types/tool/index.d.ts.map +1 -1
- package/dist/types/tool/index.js.map +1 -1
- package/dist/utils/cost.d.ts +17 -0
- package/dist/utils/cost.d.ts.map +1 -1
- package/dist/utils/cost.js +78 -8
- package/dist/utils/cost.js.map +1 -1
- package/package.json +1 -1
- package/src/bridge/acp/server.ts +16 -7
- package/src/connector/mcp/adapter.ts +4 -3
- package/src/connector/mcp/client.ts +33 -32
- package/src/index.ts +2 -0
- package/src/manager/session/turn-recorder.ts +31 -7
- package/src/pricing/catalogue.generated.ts +176 -21
- package/src/pricing/rates.source.json +108 -33
- package/src/provider/errors.ts +12 -19
- package/src/provider/stream-request-timeout.ts +34 -0
- package/src/public-runtime.ts +2 -0
- package/src/public-tools.ts +1 -0
- package/src/runtime/query/executor.ts +29 -3
- package/src/runtime/query/file-evidence-replay.ts +73 -19
- package/src/runtime/query/file-evidence-seed.ts +16 -0
- package/src/runtime/query/guard.ts +13 -2
- package/src/runtime/query/index.ts +10 -1
- package/src/runtime/query/iteration/index.ts +32 -11
- package/src/runtime/query/iteration/phases/advisory.ts +2 -2
- package/src/runtime/query/path-escalation.ts +4 -3
- package/src/runtime/query/prepare-turn.ts +2 -1
- package/src/runtime/query/tooling.ts +3 -0
- package/src/sandbox/file-walk-program.ts +1 -1
- package/src/sandbox/ignore-matcher.ts +12 -3
- package/src/sandbox/ignore-source.ts +51 -7
- package/src/sandbox/limit-error.ts +10 -0
- package/src/sandbox/provider/local.ts +107 -48
- package/src/schedules/cron.ts +1 -1
- package/src/schedules/describe.ts +1 -1
- package/src/schedules/next-fire.ts +7 -4
- package/src/schedules/spec.ts +36 -7
- package/src/schedules/types.ts +2 -0
- package/src/store/budget/ledger.ts +93 -2
- package/src/store/session-index/sqlite.ts +8 -4
- package/src/store/session-log/core.ts +96 -25
- package/src/store/session-log/disk.ts +1 -1
- package/src/tools/builtins/atomic-write-file.ts +49 -7
- package/src/tools/builtins/code-analysis.ts +6 -1
- package/src/tools/builtins/edit-apply.ts +25 -10
- package/src/tools/builtins/edit.ts +31 -15
- package/src/tools/builtins/file-text.ts +14 -0
- package/src/tools/builtins/glob.ts +6 -1
- package/src/tools/builtins/grep.ts +7 -5
- package/src/tools/builtins/ls.ts +2 -1
- package/src/tools/builtins/notebook-edit.ts +18 -11
- package/src/tools/builtins/read-file.ts +71 -24
- package/src/tools/builtins/read-regular-file.ts +25 -0
- package/src/tools/builtins/search-support.ts +13 -0
- package/src/tools/builtins/stale-before-review.ts +8 -6
- package/src/tools/builtins/write-file.ts +18 -12
- package/src/tools/defineTool.ts +4 -3
- package/src/tools/paths.ts +49 -7
- package/src/tools/posix-path.ts +9 -0
- package/src/tools/tool-is-available.ts +11 -0
- package/src/types/code-analysis/index.ts +1 -1
- package/src/types/common/index.ts +24 -0
- package/src/types/provider/errors.ts +3 -5
- package/src/types/sandbox/index.ts +12 -1
- package/src/types/session/checkpoint.ts +2 -0
- package/src/types/session/events.ts +1 -0
- package/src/types/session/records.ts +1 -0
- package/src/types/tool/index.ts +2 -0
- package/src/utils/cost.ts +101 -8
|
@@ -32,7 +32,13 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
32
32
|
{
|
|
33
33
|
inputCostPer1M: 10,
|
|
34
34
|
outputCostPer1M: 50,
|
|
35
|
-
cache: {
|
|
35
|
+
cache: {
|
|
36
|
+
promptIncludesCacheReads: false,
|
|
37
|
+
readCostPer1M: 1,
|
|
38
|
+
writeCostPer1M: 12.5,
|
|
39
|
+
writeCostPer1MOneHour: 20,
|
|
40
|
+
},
|
|
41
|
+
usMultiplier: 1.1,
|
|
36
42
|
webSearchCostPer1000: 10,
|
|
37
43
|
},
|
|
38
44
|
],
|
|
@@ -41,7 +47,13 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
41
47
|
{
|
|
42
48
|
inputCostPer1M: 10,
|
|
43
49
|
outputCostPer1M: 50,
|
|
44
|
-
cache: {
|
|
50
|
+
cache: {
|
|
51
|
+
promptIncludesCacheReads: false,
|
|
52
|
+
readCostPer1M: 0.25,
|
|
53
|
+
writeCostPer1M: 12.5,
|
|
54
|
+
writeCostPer1MOneHour: 20,
|
|
55
|
+
},
|
|
56
|
+
usMultiplier: 1.1,
|
|
45
57
|
webSearchCostPer1000: 10,
|
|
46
58
|
},
|
|
47
59
|
],
|
|
@@ -50,8 +62,14 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
50
62
|
{
|
|
51
63
|
inputCostPer1M: 8,
|
|
52
64
|
outputCostPer1M: 40,
|
|
53
|
-
cache: {
|
|
65
|
+
cache: {
|
|
66
|
+
promptIncludesCacheReads: false,
|
|
67
|
+
readCostPer1M: 0.2,
|
|
68
|
+
writeCostPer1M: 10,
|
|
69
|
+
writeCostPer1MOneHour: 16,
|
|
70
|
+
},
|
|
54
71
|
fastMultiplier: 2,
|
|
72
|
+
usMultiplier: 1.1,
|
|
55
73
|
webSearchCostPer1000: 10,
|
|
56
74
|
},
|
|
57
75
|
],
|
|
@@ -60,7 +78,12 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
60
78
|
{
|
|
61
79
|
inputCostPer1M: 1,
|
|
62
80
|
outputCostPer1M: 5,
|
|
63
|
-
cache: {
|
|
81
|
+
cache: {
|
|
82
|
+
promptIncludesCacheReads: false,
|
|
83
|
+
readCostPer1M: 0.1,
|
|
84
|
+
writeCostPer1M: 1.25,
|
|
85
|
+
writeCostPer1MOneHour: 2,
|
|
86
|
+
},
|
|
64
87
|
webSearchCostPer1000: 10,
|
|
65
88
|
},
|
|
66
89
|
],
|
|
@@ -69,13 +92,20 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
69
92
|
{
|
|
70
93
|
inputCostPer1M: 0.1,
|
|
71
94
|
outputCostPer1M: 0.5,
|
|
72
|
-
cache: {
|
|
95
|
+
cache: {
|
|
96
|
+
promptIncludesCacheReads: false,
|
|
97
|
+
readCostPer1M: 0.01,
|
|
98
|
+
writeCostPer1M: 0.125,
|
|
99
|
+
writeCostPer1MOneHour: 0.2,
|
|
100
|
+
},
|
|
101
|
+
usMultiplier: 1.1,
|
|
73
102
|
longContext: {
|
|
74
103
|
aboveInputTokens: 100000,
|
|
75
104
|
inputCostPer1M: 0.5,
|
|
76
105
|
outputCostPer1M: 2.5,
|
|
77
106
|
cacheReadCostPer1M: 0.05,
|
|
78
107
|
cacheWriteCostPer1M: 0.625,
|
|
108
|
+
cacheWriteCostPer1MOneHour: 1,
|
|
79
109
|
},
|
|
80
110
|
webSearchCostPer1000: 10,
|
|
81
111
|
},
|
|
@@ -85,7 +115,13 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
85
115
|
{
|
|
86
116
|
inputCostPer1M: 10,
|
|
87
117
|
outputCostPer1M: 50,
|
|
88
|
-
cache: {
|
|
118
|
+
cache: {
|
|
119
|
+
promptIncludesCacheReads: false,
|
|
120
|
+
readCostPer1M: 1,
|
|
121
|
+
writeCostPer1M: 12.5,
|
|
122
|
+
writeCostPer1MOneHour: 20,
|
|
123
|
+
},
|
|
124
|
+
usMultiplier: 1.1,
|
|
89
125
|
webSearchCostPer1000: 10,
|
|
90
126
|
},
|
|
91
127
|
],
|
|
@@ -94,7 +130,13 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
94
130
|
{
|
|
95
131
|
inputCostPer1M: 10,
|
|
96
132
|
outputCostPer1M: 50,
|
|
97
|
-
cache: {
|
|
133
|
+
cache: {
|
|
134
|
+
promptIncludesCacheReads: false,
|
|
135
|
+
readCostPer1M: 0.25,
|
|
136
|
+
writeCostPer1M: 12.5,
|
|
137
|
+
writeCostPer1MOneHour: 20,
|
|
138
|
+
},
|
|
139
|
+
usMultiplier: 1.1,
|
|
98
140
|
webSearchCostPer1000: 10,
|
|
99
141
|
},
|
|
100
142
|
],
|
|
@@ -103,8 +145,14 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
103
145
|
{
|
|
104
146
|
inputCostPer1M: 8,
|
|
105
147
|
outputCostPer1M: 40,
|
|
106
|
-
cache: {
|
|
148
|
+
cache: {
|
|
149
|
+
promptIncludesCacheReads: false,
|
|
150
|
+
readCostPer1M: 0.2,
|
|
151
|
+
writeCostPer1M: 10,
|
|
152
|
+
writeCostPer1MOneHour: 16,
|
|
153
|
+
},
|
|
107
154
|
fastMultiplier: 2,
|
|
155
|
+
usMultiplier: 1.1,
|
|
108
156
|
webSearchCostPer1000: 10,
|
|
109
157
|
},
|
|
110
158
|
],
|
|
@@ -113,7 +161,12 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
113
161
|
{
|
|
114
162
|
inputCostPer1M: 15,
|
|
115
163
|
outputCostPer1M: 75,
|
|
116
|
-
cache: {
|
|
164
|
+
cache: {
|
|
165
|
+
promptIncludesCacheReads: false,
|
|
166
|
+
readCostPer1M: 1.5,
|
|
167
|
+
writeCostPer1M: 18.75,
|
|
168
|
+
writeCostPer1MOneHour: 30,
|
|
169
|
+
},
|
|
117
170
|
webSearchCostPer1000: 10,
|
|
118
171
|
},
|
|
119
172
|
],
|
|
@@ -122,7 +175,12 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
122
175
|
{
|
|
123
176
|
inputCostPer1M: 15,
|
|
124
177
|
outputCostPer1M: 75,
|
|
125
|
-
cache: {
|
|
178
|
+
cache: {
|
|
179
|
+
promptIncludesCacheReads: false,
|
|
180
|
+
readCostPer1M: 1.5,
|
|
181
|
+
writeCostPer1M: 18.75,
|
|
182
|
+
writeCostPer1MOneHour: 30,
|
|
183
|
+
},
|
|
126
184
|
webSearchCostPer1000: 10,
|
|
127
185
|
},
|
|
128
186
|
],
|
|
@@ -131,7 +189,13 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
131
189
|
{
|
|
132
190
|
inputCostPer1M: 5,
|
|
133
191
|
outputCostPer1M: 25,
|
|
134
|
-
cache: {
|
|
192
|
+
cache: {
|
|
193
|
+
promptIncludesCacheReads: false,
|
|
194
|
+
readCostPer1M: 0.5,
|
|
195
|
+
writeCostPer1M: 6.25,
|
|
196
|
+
writeCostPer1MOneHour: 10,
|
|
197
|
+
},
|
|
198
|
+
usMultiplier: 1.1,
|
|
135
199
|
webSearchCostPer1000: 10,
|
|
136
200
|
},
|
|
137
201
|
],
|
|
@@ -140,7 +204,13 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
140
204
|
{
|
|
141
205
|
inputCostPer1M: 5,
|
|
142
206
|
outputCostPer1M: 25,
|
|
143
|
-
cache: {
|
|
207
|
+
cache: {
|
|
208
|
+
promptIncludesCacheReads: false,
|
|
209
|
+
readCostPer1M: 0.5,
|
|
210
|
+
writeCostPer1M: 6.25,
|
|
211
|
+
writeCostPer1MOneHour: 10,
|
|
212
|
+
},
|
|
213
|
+
usMultiplier: 1.1,
|
|
144
214
|
webSearchCostPer1000: 10,
|
|
145
215
|
},
|
|
146
216
|
],
|
|
@@ -149,8 +219,13 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
149
219
|
{
|
|
150
220
|
inputCostPer1M: 5,
|
|
151
221
|
outputCostPer1M: 25,
|
|
152
|
-
cache: {
|
|
153
|
-
|
|
222
|
+
cache: {
|
|
223
|
+
promptIncludesCacheReads: false,
|
|
224
|
+
readCostPer1M: 0.5,
|
|
225
|
+
writeCostPer1M: 6.25,
|
|
226
|
+
writeCostPer1MOneHour: 10,
|
|
227
|
+
},
|
|
228
|
+
usMultiplier: 1.1,
|
|
154
229
|
webSearchCostPer1000: 10,
|
|
155
230
|
},
|
|
156
231
|
],
|
|
@@ -159,8 +234,14 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
159
234
|
{
|
|
160
235
|
inputCostPer1M: 5,
|
|
161
236
|
outputCostPer1M: 25,
|
|
162
|
-
cache: {
|
|
237
|
+
cache: {
|
|
238
|
+
promptIncludesCacheReads: false,
|
|
239
|
+
readCostPer1M: 0.5,
|
|
240
|
+
writeCostPer1M: 6.25,
|
|
241
|
+
writeCostPer1MOneHour: 10,
|
|
242
|
+
},
|
|
163
243
|
fastMultiplier: 2,
|
|
244
|
+
usMultiplier: 1.1,
|
|
164
245
|
webSearchCostPer1000: 10,
|
|
165
246
|
},
|
|
166
247
|
],
|
|
@@ -169,8 +250,14 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
169
250
|
{
|
|
170
251
|
inputCostPer1M: 4,
|
|
171
252
|
outputCostPer1M: 20,
|
|
172
|
-
cache: {
|
|
253
|
+
cache: {
|
|
254
|
+
promptIncludesCacheReads: false,
|
|
255
|
+
readCostPer1M: 0.2,
|
|
256
|
+
writeCostPer1M: 5,
|
|
257
|
+
writeCostPer1MOneHour: 8,
|
|
258
|
+
},
|
|
173
259
|
fastMultiplier: 2,
|
|
260
|
+
usMultiplier: 1.1,
|
|
174
261
|
webSearchCostPer1000: 10,
|
|
175
262
|
},
|
|
176
263
|
],
|
|
@@ -179,7 +266,12 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
179
266
|
{
|
|
180
267
|
inputCostPer1M: 3,
|
|
181
268
|
outputCostPer1M: 15,
|
|
182
|
-
cache: {
|
|
269
|
+
cache: {
|
|
270
|
+
promptIncludesCacheReads: false,
|
|
271
|
+
readCostPer1M: 0.3,
|
|
272
|
+
writeCostPer1M: 3.75,
|
|
273
|
+
writeCostPer1MOneHour: 6,
|
|
274
|
+
},
|
|
183
275
|
webSearchCostPer1000: 10,
|
|
184
276
|
},
|
|
185
277
|
],
|
|
@@ -188,7 +280,12 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
188
280
|
{
|
|
189
281
|
inputCostPer1M: 3,
|
|
190
282
|
outputCostPer1M: 15,
|
|
191
|
-
cache: {
|
|
283
|
+
cache: {
|
|
284
|
+
promptIncludesCacheReads: false,
|
|
285
|
+
readCostPer1M: 0.3,
|
|
286
|
+
writeCostPer1M: 3.75,
|
|
287
|
+
writeCostPer1MOneHour: 6,
|
|
288
|
+
},
|
|
192
289
|
webSearchCostPer1000: 10,
|
|
193
290
|
},
|
|
194
291
|
],
|
|
@@ -197,7 +294,13 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
197
294
|
{
|
|
198
295
|
inputCostPer1M: 3,
|
|
199
296
|
outputCostPer1M: 15,
|
|
200
|
-
cache: {
|
|
297
|
+
cache: {
|
|
298
|
+
promptIncludesCacheReads: false,
|
|
299
|
+
readCostPer1M: 0.3,
|
|
300
|
+
writeCostPer1M: 3.75,
|
|
301
|
+
writeCostPer1MOneHour: 6,
|
|
302
|
+
},
|
|
303
|
+
usMultiplier: 1.1,
|
|
201
304
|
webSearchCostPer1000: 10,
|
|
202
305
|
},
|
|
203
306
|
],
|
|
@@ -206,7 +309,13 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
206
309
|
{
|
|
207
310
|
inputCostPer1M: 2,
|
|
208
311
|
outputCostPer1M: 10,
|
|
209
|
-
cache: {
|
|
312
|
+
cache: {
|
|
313
|
+
promptIncludesCacheReads: false,
|
|
314
|
+
readCostPer1M: 0.2,
|
|
315
|
+
writeCostPer1M: 2.5,
|
|
316
|
+
writeCostPer1MOneHour: 4,
|
|
317
|
+
},
|
|
318
|
+
usMultiplier: 1.1,
|
|
210
319
|
webSearchCostPer1000: 10,
|
|
211
320
|
},
|
|
212
321
|
],
|
|
@@ -215,7 +324,13 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
215
324
|
{
|
|
216
325
|
inputCostPer1M: 2,
|
|
217
326
|
outputCostPer1M: 10,
|
|
218
|
-
cache: {
|
|
327
|
+
cache: {
|
|
328
|
+
promptIncludesCacheReads: false,
|
|
329
|
+
readCostPer1M: 0.1,
|
|
330
|
+
writeCostPer1M: 2.5,
|
|
331
|
+
writeCostPer1MOneHour: 4,
|
|
332
|
+
},
|
|
333
|
+
usMultiplier: 1.1,
|
|
219
334
|
webSearchCostPer1000: 10,
|
|
220
335
|
},
|
|
221
336
|
],
|
|
@@ -326,6 +441,12 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
326
441
|
outputCostPer1M: 15,
|
|
327
442
|
cache: { promptIncludesCacheReads: true, readCostPer1M: 0.25 },
|
|
328
443
|
fastMultiplier: 2,
|
|
444
|
+
longContext: {
|
|
445
|
+
aboveInputTokens: 272000,
|
|
446
|
+
inputCostPer1M: 5,
|
|
447
|
+
outputCostPer1M: 22.5,
|
|
448
|
+
cacheReadCostPer1M: 0.5,
|
|
449
|
+
},
|
|
329
450
|
},
|
|
330
451
|
],
|
|
331
452
|
[
|
|
@@ -352,6 +473,12 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
352
473
|
outputCostPer1M: 30,
|
|
353
474
|
cache: { promptIncludesCacheReads: true, readCostPer1M: 0.5 },
|
|
354
475
|
fastMultiplier: 2.5,
|
|
476
|
+
longContext: {
|
|
477
|
+
aboveInputTokens: 272000,
|
|
478
|
+
inputCostPer1M: 10,
|
|
479
|
+
outputCostPer1M: 45,
|
|
480
|
+
cacheReadCostPer1M: 1,
|
|
481
|
+
},
|
|
355
482
|
},
|
|
356
483
|
],
|
|
357
484
|
[
|
|
@@ -361,6 +488,13 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
361
488
|
outputCostPer1M: 1.2,
|
|
362
489
|
cache: { promptIncludesCacheReads: true, readCostPer1M: 0.02 },
|
|
363
490
|
fastMultiplier: 2,
|
|
491
|
+
longContext: {
|
|
492
|
+
aboveInputTokens: 272000,
|
|
493
|
+
inputCostPer1M: 0.4,
|
|
494
|
+
outputCostPer1M: 1.8,
|
|
495
|
+
cacheReadCostPer1M: 0.04,
|
|
496
|
+
fastMultiplier: 2,
|
|
497
|
+
},
|
|
364
498
|
},
|
|
365
499
|
],
|
|
366
500
|
[
|
|
@@ -370,6 +504,13 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
370
504
|
outputCostPer1M: 30,
|
|
371
505
|
cache: { promptIncludesCacheReads: true, readCostPer1M: 0.5 },
|
|
372
506
|
fastMultiplier: 2,
|
|
507
|
+
longContext: {
|
|
508
|
+
aboveInputTokens: 272000,
|
|
509
|
+
inputCostPer1M: 10,
|
|
510
|
+
outputCostPer1M: 45,
|
|
511
|
+
cacheReadCostPer1M: 1,
|
|
512
|
+
fastMultiplier: 2,
|
|
513
|
+
},
|
|
373
514
|
},
|
|
374
515
|
],
|
|
375
516
|
[
|
|
@@ -379,6 +520,13 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
379
520
|
outputCostPer1M: 12,
|
|
380
521
|
cache: { promptIncludesCacheReads: true, readCostPer1M: 0.2 },
|
|
381
522
|
fastMultiplier: 2,
|
|
523
|
+
longContext: {
|
|
524
|
+
aboveInputTokens: 272000,
|
|
525
|
+
inputCostPer1M: 4,
|
|
526
|
+
outputCostPer1M: 18,
|
|
527
|
+
cacheReadCostPer1M: 0.4,
|
|
528
|
+
fastMultiplier: 2,
|
|
529
|
+
},
|
|
382
530
|
},
|
|
383
531
|
],
|
|
384
532
|
[
|
|
@@ -393,6 +541,7 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
393
541
|
inputCostPer1M: 20,
|
|
394
542
|
outputCostPer1M: 75,
|
|
395
543
|
cacheReadCostPer1M: 2,
|
|
544
|
+
fastMultiplier: 2,
|
|
396
545
|
},
|
|
397
546
|
},
|
|
398
547
|
],
|
|
@@ -422,6 +571,7 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
422
571
|
inputCostPer1M: 0.2,
|
|
423
572
|
outputCostPer1M: 0.75,
|
|
424
573
|
cacheReadCostPer1M: 0.02,
|
|
574
|
+
fastMultiplier: 2,
|
|
425
575
|
},
|
|
426
576
|
},
|
|
427
577
|
],
|
|
@@ -437,6 +587,7 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
437
587
|
inputCostPer1M: 4,
|
|
438
588
|
outputCostPer1M: 15,
|
|
439
589
|
cacheReadCostPer1M: 0.4,
|
|
590
|
+
fastMultiplier: 2,
|
|
440
591
|
},
|
|
441
592
|
},
|
|
442
593
|
],
|
|
@@ -452,6 +603,7 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
452
603
|
inputCostPer1M: 4,
|
|
453
604
|
outputCostPer1M: 15,
|
|
454
605
|
cacheReadCostPer1M: 0.2,
|
|
606
|
+
fastMultiplier: 2,
|
|
455
607
|
},
|
|
456
608
|
},
|
|
457
609
|
],
|
|
@@ -481,6 +633,7 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
481
633
|
inputCostPer1M: 2,
|
|
482
634
|
outputCostPer1M: 7.5,
|
|
483
635
|
cacheReadCostPer1M: 0.1,
|
|
636
|
+
fastMultiplier: 2,
|
|
484
637
|
},
|
|
485
638
|
},
|
|
486
639
|
],
|
|
@@ -496,6 +649,7 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
496
649
|
inputCostPer1M: 16,
|
|
497
650
|
outputCostPer1M: 60,
|
|
498
651
|
cacheReadCostPer1M: 0.8,
|
|
652
|
+
fastMultiplier: 2,
|
|
499
653
|
},
|
|
500
654
|
},
|
|
501
655
|
],
|
|
@@ -525,6 +679,7 @@ export const VENDOR_RATES: readonly VendorRates[] = [
|
|
|
525
679
|
inputCostPer1M: 4,
|
|
526
680
|
outputCostPer1M: 15,
|
|
527
681
|
cacheReadCostPer1M: 0.2,
|
|
682
|
+
fastMultiplier: 2,
|
|
528
683
|
},
|
|
529
684
|
},
|
|
530
685
|
],
|