@drawbridge/drawbridge-utils 0.0.97 → 0.0.98
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/dist/ai.cjs +11 -0
- package/dist/ai.js +11 -0
- package/dist/billing.cjs +11 -0
- package/dist/billing.d.cts +11 -0
- package/dist/billing.d.ts +11 -0
- package/dist/billing.js +11 -0
- package/package.json +1 -1
package/dist/ai.cjs
CHANGED
|
@@ -177,6 +177,17 @@ var cost = {
|
|
|
177
177
|
cached: 3,
|
|
178
178
|
input: 30,
|
|
179
179
|
output: 3e3
|
|
180
|
+
},
|
|
181
|
+
// gemini-3-pro-image-preview — verified against Google's pricing page
|
|
182
|
+
// 2026-08-12: $2.00 input / $12.00 text output per 1M, and image output
|
|
183
|
+
// tokens at ~$120/1M (a 1K-2K image is 1120 tokens = $0.134, a 4K image
|
|
184
|
+
// 2000 tokens = $0.24). Encoded the flash-image way: one flat output rate
|
|
185
|
+
// that reproduces the per-image price from the tokens usageMetadata
|
|
186
|
+
// reports. Growth's hero generation runs this model today.
|
|
187
|
+
"gemini-3-pro-image-preview": {
|
|
188
|
+
cached: 20,
|
|
189
|
+
input: 200,
|
|
190
|
+
output: 12e3
|
|
180
191
|
}
|
|
181
192
|
};
|
|
182
193
|
var toolCost = {
|
package/dist/ai.js
CHANGED
|
@@ -143,6 +143,17 @@ var cost = {
|
|
|
143
143
|
cached: 3,
|
|
144
144
|
input: 30,
|
|
145
145
|
output: 3e3
|
|
146
|
+
},
|
|
147
|
+
// gemini-3-pro-image-preview — verified against Google's pricing page
|
|
148
|
+
// 2026-08-12: $2.00 input / $12.00 text output per 1M, and image output
|
|
149
|
+
// tokens at ~$120/1M (a 1K-2K image is 1120 tokens = $0.134, a 4K image
|
|
150
|
+
// 2000 tokens = $0.24). Encoded the flash-image way: one flat output rate
|
|
151
|
+
// that reproduces the per-image price from the tokens usageMetadata
|
|
152
|
+
// reports. Growth's hero generation runs this model today.
|
|
153
|
+
"gemini-3-pro-image-preview": {
|
|
154
|
+
cached: 20,
|
|
155
|
+
input: 200,
|
|
156
|
+
output: 12e3
|
|
146
157
|
}
|
|
147
158
|
};
|
|
148
159
|
var toolCost = {
|
package/dist/billing.cjs
CHANGED
|
@@ -177,6 +177,17 @@ var cost = {
|
|
|
177
177
|
cached: 3,
|
|
178
178
|
input: 30,
|
|
179
179
|
output: 3e3
|
|
180
|
+
},
|
|
181
|
+
// gemini-3-pro-image-preview — verified against Google's pricing page
|
|
182
|
+
// 2026-08-12: $2.00 input / $12.00 text output per 1M, and image output
|
|
183
|
+
// tokens at ~$120/1M (a 1K-2K image is 1120 tokens = $0.134, a 4K image
|
|
184
|
+
// 2000 tokens = $0.24). Encoded the flash-image way: one flat output rate
|
|
185
|
+
// that reproduces the per-image price from the tokens usageMetadata
|
|
186
|
+
// reports. Growth's hero generation runs this model today.
|
|
187
|
+
"gemini-3-pro-image-preview": {
|
|
188
|
+
cached: 20,
|
|
189
|
+
input: 200,
|
|
190
|
+
output: 12e3
|
|
180
191
|
}
|
|
181
192
|
};
|
|
182
193
|
var toolCost = {
|
package/dist/billing.d.cts
CHANGED
|
@@ -48,6 +48,17 @@ const cost = {
|
|
|
48
48
|
cached : 3,
|
|
49
49
|
input : 30,
|
|
50
50
|
output : 3000
|
|
51
|
+
},
|
|
52
|
+
// gemini-3-pro-image-preview — verified against Google's pricing page
|
|
53
|
+
// 2026-08-12: $2.00 input / $12.00 text output per 1M, and image output
|
|
54
|
+
// tokens at ~$120/1M (a 1K-2K image is 1120 tokens = $0.134, a 4K image
|
|
55
|
+
// 2000 tokens = $0.24). Encoded the flash-image way: one flat output rate
|
|
56
|
+
// that reproduces the per-image price from the tokens usageMetadata
|
|
57
|
+
// reports. Growth's hero generation runs this model today.
|
|
58
|
+
'gemini-3-pro-image-preview' : {
|
|
59
|
+
cached : 20,
|
|
60
|
+
input : 200,
|
|
61
|
+
output : 12000
|
|
51
62
|
}
|
|
52
63
|
};
|
|
53
64
|
|
package/dist/billing.d.ts
CHANGED
|
@@ -48,6 +48,17 @@ const cost = {
|
|
|
48
48
|
cached : 3,
|
|
49
49
|
input : 30,
|
|
50
50
|
output : 3000
|
|
51
|
+
},
|
|
52
|
+
// gemini-3-pro-image-preview — verified against Google's pricing page
|
|
53
|
+
// 2026-08-12: $2.00 input / $12.00 text output per 1M, and image output
|
|
54
|
+
// tokens at ~$120/1M (a 1K-2K image is 1120 tokens = $0.134, a 4K image
|
|
55
|
+
// 2000 tokens = $0.24). Encoded the flash-image way: one flat output rate
|
|
56
|
+
// that reproduces the per-image price from the tokens usageMetadata
|
|
57
|
+
// reports. Growth's hero generation runs this model today.
|
|
58
|
+
'gemini-3-pro-image-preview' : {
|
|
59
|
+
cached : 20,
|
|
60
|
+
input : 200,
|
|
61
|
+
output : 12000
|
|
51
62
|
}
|
|
52
63
|
};
|
|
53
64
|
|
package/dist/billing.js
CHANGED
|
@@ -147,6 +147,17 @@ var cost = {
|
|
|
147
147
|
cached: 3,
|
|
148
148
|
input: 30,
|
|
149
149
|
output: 3e3
|
|
150
|
+
},
|
|
151
|
+
// gemini-3-pro-image-preview — verified against Google's pricing page
|
|
152
|
+
// 2026-08-12: $2.00 input / $12.00 text output per 1M, and image output
|
|
153
|
+
// tokens at ~$120/1M (a 1K-2K image is 1120 tokens = $0.134, a 4K image
|
|
154
|
+
// 2000 tokens = $0.24). Encoded the flash-image way: one flat output rate
|
|
155
|
+
// that reproduces the per-image price from the tokens usageMetadata
|
|
156
|
+
// reports. Growth's hero generation runs this model today.
|
|
157
|
+
"gemini-3-pro-image-preview": {
|
|
158
|
+
cached: 20,
|
|
159
|
+
input: 200,
|
|
160
|
+
output: 12e3
|
|
150
161
|
}
|
|
151
162
|
};
|
|
152
163
|
var toolCost = {
|
package/package.json
CHANGED