@molecule/api-resource-ai-models 1.10.0 → 1.11.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/README.md +9 -1
- package/dist/models.d.ts +8 -0
- package/dist/models.d.ts.map +1 -1
- package/dist/models.js +62 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
|
|
|
3
3
|
Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
|
|
4
4
|
Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
|
|
5
5
|
To change this document, edit the module-level JSDoc in src/index.ts.
|
|
6
|
-
Generated: 2026-09-
|
|
6
|
+
Generated: 2026-09-30T02:00:14.123Z
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
# @molecule/api-resource-ai-models
|
|
@@ -931,6 +931,14 @@ Sources (verified 2026-07-28; OpenAI re-verified 2026-07-31 after the
|
|
|
931
931
|
> /v1/chat/completions with reasoning_effort 'none'. The 5.6 family is now
|
|
932
932
|
> superseded; every 5.6 price on the page is unchanged and the -sol promo
|
|
933
933
|
> footnote still reads "at least through November 21, 2026".)
|
|
934
|
+
> (re-verified 2026-09-30 on the pricing page + the gpt-6.1-sol model page:
|
|
935
|
+
> ADDED gpt-6.1-sol ($2/$10, cached $0.10 — 5% of input, not 10% — cache
|
|
936
|
+
writes $2.50; >272K band $4/$15, cached $0.20, writes $5 not modeled;
|
|
937
|
+
> 1.05M ctx / 128K out; image input; knowledge cutoff Apr 30 2026; effort
|
|
938
|
+
> low|medium|high|xhigh|max, no none/minimal; tools on /v1/responses only).
|
|
939
|
+
> It supersedes gpt-6-sol. Every other GPT-6 and 5.6 price on the page is
|
|
940
|
+
> unchanged and the 5.6-sol promo footnote still reads "at least through
|
|
941
|
+
> November 21, 2026".)
|
|
934
942
|
- Google: https://ai.google.dev/gemini-api/docs/pricing (gemini-3.6-flash GA
|
|
935
943
|
2026-07-21 $1.50/$7.50 supersedes 3.5-flash as the agentic flagship;
|
|
936
944
|
gemini-3.1-pro-preview still the pro tier — "3.5 Pro" has NOT shipped as
|
package/dist/models.d.ts
CHANGED
|
@@ -147,6 +147,14 @@ import type { ModelDefinition } from './types.js';
|
|
|
147
147
|
* /v1/chat/completions with reasoning_effort 'none'. The 5.6 family is now
|
|
148
148
|
* superseded; every 5.6 price on the page is unchanged and the -sol promo
|
|
149
149
|
* footnote still reads "at least through November 21, 2026".)
|
|
150
|
+
* (re-verified 2026-09-30 on the pricing page + the gpt-6.1-sol model page:
|
|
151
|
+
* ADDED gpt-6.1-sol ($2/$10, cached $0.10 — 5% of input, not 10% — cache
|
|
152
|
+
* writes $2.50; >272K band $4/$15, cached $0.20, writes $5 not modeled;
|
|
153
|
+
* 1.05M ctx / 128K out; image input; knowledge cutoff Apr 30 2026; effort
|
|
154
|
+
* low|medium|high|xhigh|max, no none/minimal; tools on /v1/responses only).
|
|
155
|
+
* It supersedes gpt-6-sol. Every other GPT-6 and 5.6 price on the page is
|
|
156
|
+
* unchanged and the 5.6-sol promo footnote still reads "at least through
|
|
157
|
+
* November 21, 2026".)
|
|
150
158
|
* - Google: https://ai.google.dev/gemini-api/docs/pricing (gemini-3.6-flash GA
|
|
151
159
|
* 2026-07-21 $1.50/$7.50 supersedes 3.5-flash as the agentic flagship;
|
|
152
160
|
* 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;AAwDjD
|
|
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;AAwDjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6RG;AACH,eAAO,MAAM,MAAM,EAAE,SAAS,eAAe,EA2sEnC,CAAA"}
|
package/dist/models.js
CHANGED
|
@@ -196,6 +196,14 @@ const CHINA_PUBLIC_HOLIDAYS = [
|
|
|
196
196
|
* /v1/chat/completions with reasoning_effort 'none'. The 5.6 family is now
|
|
197
197
|
* superseded; every 5.6 price on the page is unchanged and the -sol promo
|
|
198
198
|
* footnote still reads "at least through November 21, 2026".)
|
|
199
|
+
* (re-verified 2026-09-30 on the pricing page + the gpt-6.1-sol model page:
|
|
200
|
+
* ADDED gpt-6.1-sol ($2/$10, cached $0.10 — 5% of input, not 10% — cache
|
|
201
|
+
* writes $2.50; >272K band $4/$15, cached $0.20, writes $5 not modeled;
|
|
202
|
+
* 1.05M ctx / 128K out; image input; knowledge cutoff Apr 30 2026; effort
|
|
203
|
+
* low|medium|high|xhigh|max, no none/minimal; tools on /v1/responses only).
|
|
204
|
+
* It supersedes gpt-6-sol. Every other GPT-6 and 5.6 price on the page is
|
|
205
|
+
* unchanged and the 5.6-sol promo footnote still reads "at least through
|
|
206
|
+
* November 21, 2026".)
|
|
199
207
|
* - Google: https://ai.google.dev/gemini-api/docs/pricing (gemini-3.6-flash GA
|
|
200
208
|
* 2026-07-21 $1.50/$7.50 supersedes 3.5-flash as the agentic flagship;
|
|
201
209
|
* gemini-3.1-pro-preview still the pro tier — "3.5 Pro" has NOT shipped as
|
|
@@ -842,6 +850,13 @@ export const MODELS = [
|
|
|
842
850
|
// again despite the docs pages listing it. GPT-6 has no Terra tier: sol at
|
|
843
851
|
// $2/$10 is priced at 5.6-terra's tier and undercuts 5.6-sol, so it supersedes
|
|
844
852
|
// both; luna supersedes 5.6-luna at half the price.
|
|
853
|
+
//
|
|
854
|
+
// gpt-6.1-sol (released 2026-09-29) IS astra's case: its model page lists no
|
|
855
|
+
// 'none'/'minimal' effort and says "Use the Responses API for tool calling.
|
|
856
|
+
// Chat Completions is supported without tool calling." The bond calls
|
|
857
|
+
// /v1/responses on OpenAI's own endpoint, so, like astra, it needs no
|
|
858
|
+
// `toolsRequireReasoningOff` pin. Same list price as gpt-6-sol with half the
|
|
859
|
+
// cached-input rate, so it supersedes gpt-6-sol.
|
|
845
860
|
// ---------------------------------------------------------------------------
|
|
846
861
|
{
|
|
847
862
|
id: 'gpt-6-astra',
|
|
@@ -876,6 +891,37 @@ export const MODELS = [
|
|
|
876
891
|
cacheWritePricePerMTok: 12.5,
|
|
877
892
|
knowledgeCutoff: '2026-04-30',
|
|
878
893
|
},
|
|
894
|
+
{
|
|
895
|
+
id: 'gpt-6.1-sol',
|
|
896
|
+
provider: 'openai',
|
|
897
|
+
label: 'GPT-6.1 Sol',
|
|
898
|
+
description: 'OpenAI for complex coding & agentic work',
|
|
899
|
+
// Documented as 1.05M; floored to 1M like the other OpenAI entries.
|
|
900
|
+
contextWindow: 1_000_000,
|
|
901
|
+
maxOutputTokens: 128_000,
|
|
902
|
+
supportsThinking: true,
|
|
903
|
+
thinkingBudgetTokens: 16_000,
|
|
904
|
+
thinkingConfigurable: true,
|
|
905
|
+
// No 'none' or 'minimal' on this model (model page, 2026-09-30).
|
|
906
|
+
supportedEffortLevels: ['low', 'medium', 'high', 'xhigh', 'max'],
|
|
907
|
+
defaultEffortLevel: 'medium',
|
|
908
|
+
// Omitted like the rest of the reasoning family; the pre-commit dispatch
|
|
909
|
+
// probe sends the temperature-0 shape.
|
|
910
|
+
rejectsTemperature: true,
|
|
911
|
+
supportsVision: true,
|
|
912
|
+
supportsPromptCaching: true,
|
|
913
|
+
supportsTools: true,
|
|
914
|
+
webSearchToolType: 'web_search',
|
|
915
|
+
webSearchPricePer1k: 10,
|
|
916
|
+
codeExecutionToolType: 'code_interpreter',
|
|
917
|
+
// Standard tier. Cached input is 5% of input (not the 10% of GPT-6);
|
|
918
|
+
// >272K band ($4/$15, cached $0.20, writes $5) not modeled.
|
|
919
|
+
inputPricePerMTok: 2,
|
|
920
|
+
outputPricePerMTok: 10,
|
|
921
|
+
cacheReadPricePerMTok: 0.1,
|
|
922
|
+
cacheWritePricePerMTok: 2.5,
|
|
923
|
+
knowledgeCutoff: '2026-04-30',
|
|
924
|
+
},
|
|
879
925
|
{
|
|
880
926
|
id: 'gpt-6-sol',
|
|
881
927
|
provider: 'openai',
|
|
@@ -909,6 +955,10 @@ export const MODELS = [
|
|
|
909
955
|
cacheReadPricePerMTok: 0.2,
|
|
910
956
|
cacheWritePricePerMTok: 2.5,
|
|
911
957
|
knowledgeCutoff: '2026-04-20',
|
|
958
|
+
// Superseded by gpt-6.1-sol (same $2/$10, cached input $0.10 vs $0.20).
|
|
959
|
+
// Still served and priceable — just not offered in the picker.
|
|
960
|
+
deprecatedAt: '2026-09-30',
|
|
961
|
+
supersededBy: 'gpt-6.1-sol',
|
|
912
962
|
},
|
|
913
963
|
{
|
|
914
964
|
id: 'gpt-6-luna',
|
|
@@ -981,10 +1031,11 @@ export const MODELS = [
|
|
|
981
1031
|
cacheWritePricePerMTok: 6.25,
|
|
982
1032
|
// Not published — best-effort estimate.
|
|
983
1033
|
knowledgeCutoff: '2026-03-01',
|
|
984
|
-
// Superseded by gpt-6-sol ($2/$10 vs $5/$30 list)
|
|
1034
|
+
// Superseded by gpt-6-sol ($2/$10 vs $5/$30 list); points one hop to
|
|
1035
|
+
// gpt-6.1-sol since 2026-09-30, when gpt-6-sol was superseded. Still served and
|
|
985
1036
|
// priceable — just not offered in the picker.
|
|
986
1037
|
deprecatedAt: '2026-09-23',
|
|
987
|
-
supersededBy: 'gpt-6-sol',
|
|
1038
|
+
supersededBy: 'gpt-6.1-sol',
|
|
988
1039
|
},
|
|
989
1040
|
{
|
|
990
1041
|
id: 'gpt-5.6-terra',
|
|
@@ -1019,9 +1070,10 @@ export const MODELS = [
|
|
|
1019
1070
|
// Not published — best-effort estimate.
|
|
1020
1071
|
knowledgeCutoff: '2026-03-01',
|
|
1021
1072
|
// Superseded by gpt-6-sol: GPT-6 has no Terra tier, and sol sits at this
|
|
1022
|
-
// tier's price ($2/$10 vs $2/$12).
|
|
1073
|
+
// tier's price ($2/$10 vs $2/$12). Points one hop to gpt-6.1-sol since
|
|
1074
|
+
// 2026-09-30.
|
|
1023
1075
|
deprecatedAt: '2026-09-23',
|
|
1024
|
-
supersededBy: 'gpt-6-sol',
|
|
1076
|
+
supersededBy: 'gpt-6.1-sol',
|
|
1025
1077
|
},
|
|
1026
1078
|
{
|
|
1027
1079
|
id: 'gpt-5.6-luna',
|
|
@@ -1097,10 +1149,11 @@ export const MODELS = [
|
|
|
1097
1149
|
cacheWritePricePerMTok: 5,
|
|
1098
1150
|
knowledgeCutoff: '2025-12-01',
|
|
1099
1151
|
// Superseded by gpt-5.6-sol (same frontier tier, same $5/$30), and since
|
|
1100
|
-
// 2026-09-23 points one hop to gpt-6-sol, 5.6-sol's own successor.
|
|
1152
|
+
// 2026-09-23 points one hop to gpt-6-sol, 5.6-sol's own successor (gpt-6.1-sol
|
|
1153
|
+
// since 2026-09-30). Still
|
|
1101
1154
|
// listed as current by OpenAI, so it stays priceable — just not offered.
|
|
1102
1155
|
deprecatedAt: '2026-07-09',
|
|
1103
|
-
supersededBy: 'gpt-6-sol',
|
|
1156
|
+
supersededBy: 'gpt-6.1-sol',
|
|
1104
1157
|
},
|
|
1105
1158
|
{
|
|
1106
1159
|
id: 'gpt-5.4',
|
|
@@ -1133,9 +1186,10 @@ export const MODELS = [
|
|
|
1133
1186
|
// balanced tier for LESS ($2/$12 vs $2.50/$15) — superseded, so the picker
|
|
1134
1187
|
// offers only the 5.6 generation (this is OUR taxonomy, not OpenAI's
|
|
1135
1188
|
// deprecations page; the model stays priceable). Points one hop to
|
|
1136
|
-
// gpt-6-sol since 2026-09-23, when 5.6-terra was itself superseded
|
|
1189
|
+
// gpt-6-sol since 2026-09-23, when 5.6-terra was itself superseded, and to
|
|
1190
|
+
// gpt-6.1-sol since 2026-09-30.
|
|
1137
1191
|
deprecatedAt: '2026-07-28',
|
|
1138
|
-
supersededBy: 'gpt-6-sol',
|
|
1192
|
+
supersededBy: 'gpt-6.1-sol',
|
|
1139
1193
|
},
|
|
1140
1194
|
{
|
|
1141
1195
|
id: 'gpt-5.4-mini',
|
package/package.json
CHANGED