@molecule/api-resource-ai-models 1.18.2 → 1.19.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/dist/models.d.ts +9 -0
- package/dist/models.d.ts.map +1 -1
- package/dist/models.js +52 -4
- package/package.json +1 -1
package/dist/models.d.ts
CHANGED
|
@@ -177,6 +177,15 @@ import type { ModelDefinition } from './types.js';
|
|
|
177
177
|
* It supersedes gpt-6-sol. Every other GPT-6 and 5.6 price on the page is
|
|
178
178
|
* unchanged and the 5.6-sol promo footnote still reads "at least through
|
|
179
179
|
* November 21, 2026".)
|
|
180
|
+
* (verified 2026-10-27 on the gpt-6.1-terra model page, re-hosted at
|
|
181
|
+
* developers.openai.com/api/docs/models/gpt-6.1-terra: ADDED gpt-6.1-terra
|
|
182
|
+
* ($1/$5, cached $0.05 — 5% of input — cache writes $1.25; >272K band
|
|
183
|
+
* $2/$7.50, cached $0.10, writes $2.50 not modeled; 1.05M ctx / 128K out;
|
|
184
|
+
* image input; knowledge cutoff Jun 1 2026; effort
|
|
185
|
+
* none|low|medium|high|xhigh|max, default medium; "Tool calling requires
|
|
186
|
+
* the Responses API" — the same shape as gpt-6.1-sol, served by the bond's
|
|
187
|
+
* /v1/responses calls. Supersedes gpt-5.6-terra, same tier at $2/$12,
|
|
188
|
+
* repointed from gpt-6.1-sol.)
|
|
180
189
|
* - Google: https://ai.google.dev/gemini-api/docs/pricing (gemini-3.6-flash GA
|
|
181
190
|
* 2026-07-21 $1.50/$7.50 supersedes 3.5-flash as the agentic flagship;
|
|
182
191
|
* gemini-3.1-pro-preview still the pro tier — "3.5 Pro" has NOT shipped as
|
package/dist/models.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../src/models.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AA2DjD
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../src/models.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AA2DjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoZG;AACH,eAAO,MAAM,MAAM,EAAE,SAAS,eAAe,EA4nFnC,CAAA"}
|
package/dist/models.js
CHANGED
|
@@ -229,6 +229,15 @@ const CHINA_PUBLIC_HOLIDAYS = [
|
|
|
229
229
|
* It supersedes gpt-6-sol. Every other GPT-6 and 5.6 price on the page is
|
|
230
230
|
* unchanged and the 5.6-sol promo footnote still reads "at least through
|
|
231
231
|
* November 21, 2026".)
|
|
232
|
+
* (verified 2026-10-27 on the gpt-6.1-terra model page, re-hosted at
|
|
233
|
+
* developers.openai.com/api/docs/models/gpt-6.1-terra: ADDED gpt-6.1-terra
|
|
234
|
+
* ($1/$5, cached $0.05 — 5% of input — cache writes $1.25; >272K band
|
|
235
|
+
* $2/$7.50, cached $0.10, writes $2.50 not modeled; 1.05M ctx / 128K out;
|
|
236
|
+
* image input; knowledge cutoff Jun 1 2026; effort
|
|
237
|
+
* none|low|medium|high|xhigh|max, default medium; "Tool calling requires
|
|
238
|
+
* the Responses API" — the same shape as gpt-6.1-sol, served by the bond's
|
|
239
|
+
* /v1/responses calls. Supersedes gpt-5.6-terra, same tier at $2/$12,
|
|
240
|
+
* repointed from gpt-6.1-sol.)
|
|
232
241
|
* - Google: https://ai.google.dev/gemini-api/docs/pricing (gemini-3.6-flash GA
|
|
233
242
|
* 2026-07-21 $1.50/$7.50 supersedes 3.5-flash as the agentic flagship;
|
|
234
243
|
* gemini-3.1-pro-preview still the pro tier — "3.5 Pro" has NOT shipped as
|
|
@@ -1032,6 +1041,13 @@ export const MODELS = [
|
|
|
1032
1041
|
// /v1/responses on OpenAI's own endpoint, so, like astra, it needs no
|
|
1033
1042
|
// `toolsRequireReasoningOff` pin. Same list price as gpt-6-sol with half the
|
|
1034
1043
|
// cached-input rate, so it supersedes gpt-6-sol.
|
|
1044
|
+
//
|
|
1045
|
+
// gpt-6.1-terra (added 2026-10-27) is sol's 6.1 sibling and 5.6-terra's tier:
|
|
1046
|
+
// its model page lists a 'none' effort, and "Tool calling requires the
|
|
1047
|
+
// Responses API" — the same constraint as sol, served by the bond's
|
|
1048
|
+
// /v1/responses calls, so it too needs no `toolsRequireReasoningOff` pin.
|
|
1049
|
+
// At $1/$5 it is 5.6-terra's tier at half the price, so 5.6-terra repoints
|
|
1050
|
+
// to it.
|
|
1035
1051
|
// ---------------------------------------------------------------------------
|
|
1036
1052
|
{
|
|
1037
1053
|
id: 'gpt-6-astra',
|
|
@@ -1097,6 +1113,38 @@ export const MODELS = [
|
|
|
1097
1113
|
cacheWritePricePerMTok: 2.5,
|
|
1098
1114
|
knowledgeCutoff: '2026-04-30',
|
|
1099
1115
|
},
|
|
1116
|
+
{
|
|
1117
|
+
id: 'gpt-6.1-terra',
|
|
1118
|
+
provider: 'openai',
|
|
1119
|
+
label: 'GPT-6.1 Terra',
|
|
1120
|
+
description: 'Balanced OpenAI — everyday coding & tool use',
|
|
1121
|
+
// Documented as 1.05M; floored to 1M like the other OpenAI entries.
|
|
1122
|
+
contextWindow: 1_000_000,
|
|
1123
|
+
maxOutputTokens: 128_000,
|
|
1124
|
+
supportsThinking: true,
|
|
1125
|
+
thinkingBudgetTokens: 16_000,
|
|
1126
|
+
thinkingConfigurable: true,
|
|
1127
|
+
// Unlike gpt-6.1-sol, the model page lists a 'none' effort (verified
|
|
1128
|
+
// 2026-10-27) — tool-less utility calls run with reasoning off.
|
|
1129
|
+
supportedEffortLevels: ['none', 'low', 'medium', 'high', 'xhigh', 'max'],
|
|
1130
|
+
defaultEffortLevel: 'medium',
|
|
1131
|
+
// Omitted like the rest of the 6.1 family; the pre-commit dispatch probe
|
|
1132
|
+
// sends the temperature-0 shape.
|
|
1133
|
+
rejectsTemperature: true,
|
|
1134
|
+
supportsVision: true,
|
|
1135
|
+
supportsPromptCaching: true,
|
|
1136
|
+
supportsTools: true,
|
|
1137
|
+
webSearchToolType: 'web_search',
|
|
1138
|
+
webSearchPricePer1k: 10,
|
|
1139
|
+
codeExecutionToolType: 'code_interpreter',
|
|
1140
|
+
// Standard tier. Cached input is 5% of input like gpt-6.1-sol; >272K band
|
|
1141
|
+
// ($2/$7.50, cached $0.10, writes $2.50) not modeled.
|
|
1142
|
+
inputPricePerMTok: 1,
|
|
1143
|
+
outputPricePerMTok: 5,
|
|
1144
|
+
cacheReadPricePerMTok: 0.05,
|
|
1145
|
+
cacheWritePricePerMTok: 1.25,
|
|
1146
|
+
knowledgeCutoff: '2026-06-01',
|
|
1147
|
+
},
|
|
1100
1148
|
{
|
|
1101
1149
|
id: 'gpt-6-sol',
|
|
1102
1150
|
provider: 'openai',
|
|
@@ -1244,11 +1292,11 @@ export const MODELS = [
|
|
|
1244
1292
|
cacheWritePricePerMTok: 2.5,
|
|
1245
1293
|
// Not published — best-effort estimate.
|
|
1246
1294
|
knowledgeCutoff: '2026-03-01',
|
|
1247
|
-
// Superseded by gpt-6-
|
|
1248
|
-
//
|
|
1249
|
-
//
|
|
1295
|
+
// Superseded by gpt-6.1-terra — the same tier returns at $1/$5. (Pointed
|
|
1296
|
+
// at gpt-6.1-sol since 2026-09-30 while GPT-6.x had no Terra id.) Still
|
|
1297
|
+
// served and priceable — just not offered in the picker.
|
|
1250
1298
|
deprecatedAt: '2026-09-23',
|
|
1251
|
-
supersededBy: 'gpt-6.1-
|
|
1299
|
+
supersededBy: 'gpt-6.1-terra',
|
|
1252
1300
|
},
|
|
1253
1301
|
{
|
|
1254
1302
|
id: 'gpt-5.6-luna',
|
package/package.json
CHANGED