smoltalk 0.15.2 → 0.16.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 +36 -6
- package/dist/clients/baseClient.js +4 -3
- package/dist/clients/mlx.d.ts +12 -1
- package/dist/clients/mlx.js +23 -0
- package/dist/clients/structuredAfterTools.d.ts +36 -0
- package/dist/clients/structuredAfterTools.js +87 -0
- package/dist/clients/validationRetry.d.ts +5 -0
- package/dist/clients/validationRetry.js +24 -0
- package/dist/decide.d.ts +6 -3
- package/dist/decide.js +9 -6
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/models.d.ts +298 -56
- package/dist/models.js +340 -67
- package/dist/types.d.ts +6 -0
- package/package.json +1 -1
package/dist/models.d.ts
CHANGED
|
@@ -113,6 +113,7 @@ export type EmbeddingsModel = {
|
|
|
113
113
|
type: "embeddings";
|
|
114
114
|
modelName: string;
|
|
115
115
|
provider: string;
|
|
116
|
+
disabled?: boolean;
|
|
116
117
|
tokenCost?: number;
|
|
117
118
|
};
|
|
118
119
|
/**
|
|
@@ -133,10 +134,17 @@ export type ModelType = SpeechToTextModel | TextToSpeechModel | TextModel | Embe
|
|
|
133
134
|
export declare const speechToTextModels: readonly [{
|
|
134
135
|
readonly type: "speech-to-text";
|
|
135
136
|
readonly modelName: "whisper-1";
|
|
137
|
+
readonly description: "Scheduled shutdown February 26, 2027 (announced 2026-08-26); use gpt-transcribe instead.";
|
|
136
138
|
readonly perMinuteCost: 0.006;
|
|
137
139
|
readonly provider: "openai";
|
|
138
140
|
readonly supportedMimeTypes: readonly ["audio/flac", "audio/mpeg", "audio/mp4", "audio/m4a", "audio/ogg", "audio/wav", "audio/webm"];
|
|
139
141
|
readonly maxBytes: number;
|
|
142
|
+
}, {
|
|
143
|
+
readonly type: "speech-to-text";
|
|
144
|
+
readonly modelName: "gpt-transcribe";
|
|
145
|
+
readonly description: "OpenAI's transcription model on v1/audio/transcriptions; the named replacement for whisper-1.";
|
|
146
|
+
readonly perMinuteCost: 0.0045;
|
|
147
|
+
readonly provider: "openai";
|
|
140
148
|
}, {
|
|
141
149
|
readonly type: "speech-to-text";
|
|
142
150
|
readonly modelName: "whisper-large-v3";
|
|
@@ -190,6 +198,22 @@ export declare const textToSpeechModels: readonly [{
|
|
|
190
198
|
readonly perCharacterCost: 0.00004;
|
|
191
199
|
readonly maxInputChars: 200;
|
|
192
200
|
readonly formats: readonly ["wav"];
|
|
201
|
+
}, {
|
|
202
|
+
readonly type: "text-to-speech";
|
|
203
|
+
readonly modelName: "gemini-3.8-flash-tts";
|
|
204
|
+
readonly provider: "google";
|
|
205
|
+
readonly description: "Gemini 3.8 Flash TTS (GA 2026-09-22). Introductory pricing through December 31, 2026; $1.00 input / $18.00 audio output per 1M from January 1, 2027.";
|
|
206
|
+
readonly inputTokenCost: 0.5;
|
|
207
|
+
readonly outputAudioTokenCost: 9;
|
|
208
|
+
readonly formats: readonly ["pcm", "wav"];
|
|
209
|
+
}, {
|
|
210
|
+
readonly type: "text-to-speech";
|
|
211
|
+
readonly modelName: "gemini-3.8-flash-lite-tts";
|
|
212
|
+
readonly provider: "google";
|
|
213
|
+
readonly description: "Gemini 3.8 Flash-Lite TTS (GA 2026-09-22). Introductory pricing through December 31, 2026; $1.00 input / $12.00 audio output per 1M from January 1, 2027.";
|
|
214
|
+
readonly inputTokenCost: 0.5;
|
|
215
|
+
readonly outputAudioTokenCost: 6;
|
|
216
|
+
readonly formats: readonly ["pcm", "wav"];
|
|
193
217
|
}, {
|
|
194
218
|
readonly type: "text-to-speech";
|
|
195
219
|
readonly modelName: "gemini-3.1-flash-tts-preview";
|
|
@@ -221,7 +245,7 @@ export declare const textModels: readonly [{
|
|
|
221
245
|
readonly inputTokenCost: 0.15;
|
|
222
246
|
readonly cachedInputTokenCost: 0.075;
|
|
223
247
|
readonly outputTokenCost: 0.6;
|
|
224
|
-
readonly outputTokensPerSecond:
|
|
248
|
+
readonly outputTokensPerSecond: 110;
|
|
225
249
|
readonly modalities: {
|
|
226
250
|
readonly input: readonly ["text", "image", "pdf"];
|
|
227
251
|
readonly output: readonly ["text"];
|
|
@@ -259,7 +283,7 @@ export declare const textModels: readonly [{
|
|
|
259
283
|
}, {
|
|
260
284
|
readonly type: "text";
|
|
261
285
|
readonly modelName: "o3";
|
|
262
|
-
readonly description: "o3 is a reasoning model that sets a new standard for math, science, coding, visual reasoning tasks, and technical writing. Part of the o-series of reasoning models. Knowledge cutoff: June 2024.";
|
|
286
|
+
readonly description: "o3 is a reasoning model that sets a new standard for math, science, coding, visual reasoning tasks, and technical writing. Part of the o-series of reasoning models. Knowledge cutoff: June 2024. Scheduled shutdown December 11, 2026 (announced 2026-06-11); migrate to the gpt-5.6 family.";
|
|
263
287
|
readonly maxInputTokens: 200000;
|
|
264
288
|
readonly maxOutputTokens: 100000;
|
|
265
289
|
readonly inputTokenCost: 2;
|
|
@@ -288,7 +312,7 @@ export declare const textModels: readonly [{
|
|
|
288
312
|
}, {
|
|
289
313
|
readonly type: "text";
|
|
290
314
|
readonly modelName: "o3-mini";
|
|
291
|
-
readonly description: "o3-mini is our most recent small reasoning model, providing high intelligence at the same cost and latency targets of o1-mini. o3-mini also supports key developer features, like Structured Outputs, function calling, Batch API, and more. Like other models in the o-series, it is designed to excel at science, math, and coding tasks. Knowledge cutoff: June 2024.";
|
|
315
|
+
readonly description: "o3-mini is our most recent small reasoning model, providing high intelligence at the same cost and latency targets of o1-mini. o3-mini also supports key developer features, like Structured Outputs, function calling, Batch API, and more. Like other models in the o-series, it is designed to excel at science, math, and coding tasks. Knowledge cutoff: June 2024. Scheduled shutdown October 23, 2026; migrate to gpt-5.6-sol.";
|
|
292
316
|
readonly maxInputTokens: 200000;
|
|
293
317
|
readonly maxOutputTokens: 100000;
|
|
294
318
|
readonly inputTokenCost: 1.1;
|
|
@@ -317,7 +341,7 @@ export declare const textModels: readonly [{
|
|
|
317
341
|
}, {
|
|
318
342
|
readonly type: "text";
|
|
319
343
|
readonly modelName: "o4-mini";
|
|
320
|
-
readonly description: "Latest small o-series model optimized for fast, effective reasoning with exceptional performance in coding and visual tasks. Knowledge cutoff: June 2024.";
|
|
344
|
+
readonly description: "Latest small o-series model optimized for fast, effective reasoning with exceptional performance in coding and visual tasks. Knowledge cutoff: June 2024. Scheduled shutdown October 23, 2026; migrate to gpt-5.6-terra.";
|
|
321
345
|
readonly maxInputTokens: 200000;
|
|
322
346
|
readonly maxOutputTokens: 100000;
|
|
323
347
|
readonly inputTokenCost: 1.1;
|
|
@@ -346,7 +370,7 @@ export declare const textModels: readonly [{
|
|
|
346
370
|
}, {
|
|
347
371
|
readonly type: "text";
|
|
348
372
|
readonly modelName: "o3-pro";
|
|
349
|
-
readonly description: "o3-pro uses more compute for complex reasoning tasks. Available via Responses API only. Requests may take several minutes. Knowledge cutoff: June 2024.";
|
|
373
|
+
readonly description: "o3-pro uses more compute for complex reasoning tasks. Available via Responses API only. Requests may take several minutes. Knowledge cutoff: June 2024. Scheduled shutdown December 11, 2026 (announced 2026-06-11); migrate to gpt-5.6-sol with pro reasoning.";
|
|
350
374
|
readonly maxInputTokens: 200000;
|
|
351
375
|
readonly maxOutputTokens: 100000;
|
|
352
376
|
readonly inputTokenCost: 20;
|
|
@@ -371,7 +395,7 @@ export declare const textModels: readonly [{
|
|
|
371
395
|
}, {
|
|
372
396
|
readonly type: "text";
|
|
373
397
|
readonly modelName: "o1";
|
|
374
|
-
readonly description: "o1 is a reasoning model designed to excel at complex reasoning tasks including science, math, and coding. The knowledge cutoff for o1 models is October, 2023.";
|
|
398
|
+
readonly description: "o1 is a reasoning model designed to excel at complex reasoning tasks including science, math, and coding. The knowledge cutoff for o1 models is October, 2023. Scheduled shutdown October 23, 2026; migrate to gpt-5.6-sol.";
|
|
375
399
|
readonly maxInputTokens: 200000;
|
|
376
400
|
readonly maxOutputTokens: 100000;
|
|
377
401
|
readonly inputTokenCost: 15;
|
|
@@ -470,7 +494,7 @@ export declare const textModels: readonly [{
|
|
|
470
494
|
readonly inputTokenCost: 2;
|
|
471
495
|
readonly cachedInputTokenCost: 0.5;
|
|
472
496
|
readonly outputTokenCost: 8;
|
|
473
|
-
readonly outputTokensPerSecond:
|
|
497
|
+
readonly outputTokensPerSecond: 141;
|
|
474
498
|
readonly modalities: {
|
|
475
499
|
readonly input: readonly ["text", "image", "pdf"];
|
|
476
500
|
readonly output: readonly ["text"];
|
|
@@ -492,7 +516,7 @@ export declare const textModels: readonly [{
|
|
|
492
516
|
readonly inputTokenCost: 0.4;
|
|
493
517
|
readonly cachedInputTokenCost: 0.1;
|
|
494
518
|
readonly outputTokenCost: 1.6;
|
|
495
|
-
readonly outputTokensPerSecond:
|
|
519
|
+
readonly outputTokensPerSecond: 142;
|
|
496
520
|
readonly modalities: {
|
|
497
521
|
readonly input: readonly ["text", "image", "pdf"];
|
|
498
522
|
readonly output: readonly ["text"];
|
|
@@ -508,7 +532,7 @@ export declare const textModels: readonly [{
|
|
|
508
532
|
}, {
|
|
509
533
|
readonly type: "text";
|
|
510
534
|
readonly modelName: "gpt-4.1-nano";
|
|
511
|
-
readonly description: "GPT-4.1 nano is the fastest and most affordable GPT-4.1 variant with 1M token context window. Knowledge cutoff: June 2024.";
|
|
535
|
+
readonly description: "GPT-4.1 nano is the fastest and most affordable GPT-4.1 variant with 1M token context window. Knowledge cutoff: June 2024. Scheduled shutdown October 23, 2026; migrate to gpt-5.6-luna.";
|
|
512
536
|
readonly maxInputTokens: 1047576;
|
|
513
537
|
readonly maxOutputTokens: 32768;
|
|
514
538
|
readonly inputTokenCost: 0.1;
|
|
@@ -530,7 +554,7 @@ export declare const textModels: readonly [{
|
|
|
530
554
|
}, {
|
|
531
555
|
readonly type: "text";
|
|
532
556
|
readonly modelName: "gpt-5";
|
|
533
|
-
readonly description: "GPT-5 is a frontier reasoning model with 400K context window. Supports reasoning tokens. Knowledge cutoff: September 2024.";
|
|
557
|
+
readonly description: "GPT-5 is a frontier reasoning model with 400K context window. Supports reasoning tokens. Knowledge cutoff: September 2024. Scheduled shutdown December 11, 2026 (announced 2026-06-11); migrate to the gpt-5.6 family.";
|
|
534
558
|
readonly maxInputTokens: 400000;
|
|
535
559
|
readonly maxOutputTokens: 128000;
|
|
536
560
|
readonly inputTokenCost: 1.25;
|
|
@@ -559,13 +583,13 @@ export declare const textModels: readonly [{
|
|
|
559
583
|
}, {
|
|
560
584
|
readonly type: "text";
|
|
561
585
|
readonly modelName: "gpt-5-mini";
|
|
562
|
-
readonly description: "GPT-5 mini is a faster, more cost-efficient version of GPT-5 with 400K context window. Knowledge cutoff: May 2024.";
|
|
586
|
+
readonly description: "GPT-5 mini is a faster, more cost-efficient version of GPT-5 with 400K context window. Knowledge cutoff: May 2024. Scheduled shutdown December 11, 2026 (announced 2026-06-11); migrate to the gpt-5.6 family.";
|
|
563
587
|
readonly maxInputTokens: 400000;
|
|
564
588
|
readonly maxOutputTokens: 128000;
|
|
565
589
|
readonly inputTokenCost: 0.25;
|
|
566
590
|
readonly cachedInputTokenCost: 0.025;
|
|
567
591
|
readonly outputTokenCost: 2;
|
|
568
|
-
readonly outputTokensPerSecond:
|
|
592
|
+
readonly outputTokensPerSecond: 127;
|
|
569
593
|
readonly reasoning: {
|
|
570
594
|
readonly levels: readonly ["minimal", "low", "medium", "high"];
|
|
571
595
|
readonly defaultLevel: "medium";
|
|
@@ -588,7 +612,7 @@ export declare const textModels: readonly [{
|
|
|
588
612
|
}, {
|
|
589
613
|
readonly type: "text";
|
|
590
614
|
readonly modelName: "gpt-5-nano";
|
|
591
|
-
readonly description: "GPT-5 nano is the fastest and most affordable GPT-5 variant with 400K context window. Knowledge cutoff: May 2024.";
|
|
615
|
+
readonly description: "GPT-5 nano is the fastest and most affordable GPT-5 variant with 400K context window. Knowledge cutoff: May 2024. Scheduled shutdown December 11, 2026 (announced 2026-06-11); migrate to the gpt-5.6 family.";
|
|
592
616
|
readonly maxInputTokens: 400000;
|
|
593
617
|
readonly maxOutputTokens: 128000;
|
|
594
618
|
readonly inputTokenCost: 0.05;
|
|
@@ -623,6 +647,7 @@ export declare const textModels: readonly [{
|
|
|
623
647
|
readonly inputTokenCost: 1.25;
|
|
624
648
|
readonly cachedInputTokenCost: 0.125;
|
|
625
649
|
readonly outputTokenCost: 10;
|
|
650
|
+
readonly outputTokensPerSecond: 106;
|
|
626
651
|
readonly reasoning: {
|
|
627
652
|
readonly levels: readonly ["none", "low", "medium", "high"];
|
|
628
653
|
readonly defaultLevel: "none";
|
|
@@ -651,7 +676,7 @@ export declare const textModels: readonly [{
|
|
|
651
676
|
readonly inputTokenCost: 1.75;
|
|
652
677
|
readonly cachedInputTokenCost: 0.175;
|
|
653
678
|
readonly outputTokenCost: 14;
|
|
654
|
-
readonly outputTokensPerSecond:
|
|
679
|
+
readonly outputTokensPerSecond: 79;
|
|
655
680
|
readonly reasoning: {
|
|
656
681
|
readonly levels: readonly ["none", "low", "medium", "high"];
|
|
657
682
|
readonly defaultLevel: "none";
|
|
@@ -705,6 +730,7 @@ export declare const textModels: readonly [{
|
|
|
705
730
|
readonly inputTokenCost: 2.5;
|
|
706
731
|
readonly cachedInputTokenCost: 0.25;
|
|
707
732
|
readonly outputTokenCost: 15;
|
|
733
|
+
readonly outputTokensPerSecond: 88;
|
|
708
734
|
readonly longContext: {
|
|
709
735
|
readonly inputTokenCost: 5;
|
|
710
736
|
readonly cachedInputTokenCost: 0.5;
|
|
@@ -739,7 +765,7 @@ export declare const textModels: readonly [{
|
|
|
739
765
|
readonly inputTokenCost: 0.75;
|
|
740
766
|
readonly cachedInputTokenCost: 0.075;
|
|
741
767
|
readonly outputTokenCost: 4.5;
|
|
742
|
-
readonly outputTokensPerSecond:
|
|
768
|
+
readonly outputTokensPerSecond: 216;
|
|
743
769
|
readonly reasoning: {
|
|
744
770
|
readonly levels: readonly ["none", "low", "medium", "high", "xhigh"];
|
|
745
771
|
readonly defaultLevel: "none";
|
|
@@ -829,7 +855,7 @@ export declare const textModels: readonly [{
|
|
|
829
855
|
readonly inputTokenCost: 5;
|
|
830
856
|
readonly cachedInputTokenCost: 0.5;
|
|
831
857
|
readonly outputTokenCost: 30;
|
|
832
|
-
readonly outputTokensPerSecond:
|
|
858
|
+
readonly outputTokensPerSecond: 86;
|
|
833
859
|
readonly longContext: {
|
|
834
860
|
readonly inputTokenCost: 10;
|
|
835
861
|
readonly cachedInputTokenCost: 1;
|
|
@@ -890,13 +916,13 @@ export declare const textModels: readonly [{
|
|
|
890
916
|
}, {
|
|
891
917
|
readonly type: "text";
|
|
892
918
|
readonly modelName: "gpt-6-astra";
|
|
893
|
-
readonly description: "GPT-6 Astra is OpenAI's most capable model, built for the hardest end-to-end work: complex reasoning, coding, computer use, research, and document creation. 1M context window. Standard pricing for ≤272K input tokens; prompts above that are billed at 2x input/cache and 1.5x output for the whole request. Knowledge cutoff: April 2026.";
|
|
919
|
+
readonly description: "GPT-6 Astra is OpenAI's most capable model, built for the hardest end-to-end work: complex reasoning, coding, computer use, research, and document creation. 1M context window. Standard pricing for ≤272K input tokens; prompts above that are billed at 2x input/cache and 1.5x output for the whole request. Does not support custom temperature/top_p or logprobs. Knowledge cutoff: April 2026.";
|
|
894
920
|
readonly maxInputTokens: 1050000;
|
|
895
921
|
readonly maxOutputTokens: 128000;
|
|
896
922
|
readonly inputTokenCost: 10;
|
|
897
923
|
readonly cachedInputTokenCost: 1;
|
|
898
924
|
readonly outputTokenCost: 50;
|
|
899
|
-
readonly outputTokensPerSecond:
|
|
925
|
+
readonly outputTokensPerSecond: 52;
|
|
900
926
|
readonly longContext: {
|
|
901
927
|
readonly inputTokenCost: 20;
|
|
902
928
|
readonly cachedInputTokenCost: 2;
|
|
@@ -915,8 +941,114 @@ export declare const textModels: readonly [{
|
|
|
915
941
|
readonly output: readonly ["text"];
|
|
916
942
|
};
|
|
917
943
|
readonly knowledge: "2026-04-30";
|
|
918
|
-
readonly releaseDate: "2026-09-
|
|
919
|
-
readonly lastUpdated: "2026-09-
|
|
944
|
+
readonly releaseDate: "2026-09-03";
|
|
945
|
+
readonly lastUpdated: "2026-09-03";
|
|
946
|
+
readonly family: "gpt";
|
|
947
|
+
readonly openWeights: false;
|
|
948
|
+
readonly structuredOutput: true;
|
|
949
|
+
readonly temperatureSupported: false;
|
|
950
|
+
readonly provider: "openai";
|
|
951
|
+
}, {
|
|
952
|
+
readonly type: "text";
|
|
953
|
+
readonly modelName: "gpt-6.1-sol";
|
|
954
|
+
readonly description: "GPT-6.1 Sol (released 2026-09-29) is the newer Sol model, replacing gpt-6-sol in OpenAI's flagship lineup at the same per-token price; cache reads are 0.05x input ($0.10/1M) instead of 0.1x. 1M context window. Standard pricing for ≤272K input tokens; prompts above that are billed at 2x input/cache and 1.5x output for the whole request. Reasoning cannot be set to none. Cataloged under openai-responses because tool calling requires the Responses API (Chat Completions works only without tools). Knowledge cutoff: April 2026.";
|
|
955
|
+
readonly maxInputTokens: 1050000;
|
|
956
|
+
readonly maxOutputTokens: 128000;
|
|
957
|
+
readonly inputTokenCost: 2;
|
|
958
|
+
readonly cachedInputTokenCost: 0.1;
|
|
959
|
+
readonly cacheCreationInputTokenCost: 2.5;
|
|
960
|
+
readonly outputTokenCost: 10;
|
|
961
|
+
readonly outputTokensPerSecond: 64;
|
|
962
|
+
readonly longContext: {
|
|
963
|
+
readonly inputTokenCost: 4;
|
|
964
|
+
readonly cachedInputTokenCost: 0.2;
|
|
965
|
+
readonly outputTokenCost: 15;
|
|
966
|
+
readonly thresholdTokens: 272000;
|
|
967
|
+
};
|
|
968
|
+
readonly reasoning: {
|
|
969
|
+
readonly levels: readonly ["low", "medium", "high", "xhigh", "max"];
|
|
970
|
+
readonly defaultLevel: "medium";
|
|
971
|
+
readonly canDisable: false;
|
|
972
|
+
readonly outputsThinking: false;
|
|
973
|
+
readonly outputsSignatures: false;
|
|
974
|
+
};
|
|
975
|
+
readonly modalities: {
|
|
976
|
+
readonly input: readonly ["text", "image"];
|
|
977
|
+
readonly output: readonly ["text"];
|
|
978
|
+
};
|
|
979
|
+
readonly knowledge: "2026-04-30";
|
|
980
|
+
readonly releaseDate: "2026-09-29";
|
|
981
|
+
readonly lastUpdated: "2026-09-29";
|
|
982
|
+
readonly family: "gpt";
|
|
983
|
+
readonly openWeights: false;
|
|
984
|
+
readonly structuredOutput: true;
|
|
985
|
+
readonly temperatureSupported: false;
|
|
986
|
+
readonly provider: "openai-responses";
|
|
987
|
+
}, {
|
|
988
|
+
readonly type: "text";
|
|
989
|
+
readonly modelName: "gpt-6-sol";
|
|
990
|
+
readonly description: "GPT-6 Sol balances capability and cost in the GPT-6 family. Superseded by gpt-6.1-sol (same price, cheaper cache reads); not deprecated. 1M context window. Standard pricing for ≤272K input tokens; prompts above that are billed at 2x input/cache and 1.5x output for the whole request. Knowledge cutoff: April 2026.";
|
|
991
|
+
readonly maxInputTokens: 1050000;
|
|
992
|
+
readonly maxOutputTokens: 128000;
|
|
993
|
+
readonly inputTokenCost: 2;
|
|
994
|
+
readonly cachedInputTokenCost: 0.2;
|
|
995
|
+
readonly outputTokenCost: 10;
|
|
996
|
+
readonly outputTokensPerSecond: 87;
|
|
997
|
+
readonly longContext: {
|
|
998
|
+
readonly inputTokenCost: 4;
|
|
999
|
+
readonly cachedInputTokenCost: 0.4;
|
|
1000
|
+
readonly outputTokenCost: 15;
|
|
1001
|
+
readonly thresholdTokens: 272000;
|
|
1002
|
+
};
|
|
1003
|
+
readonly reasoning: {
|
|
1004
|
+
readonly levels: readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
1005
|
+
readonly defaultLevel: "medium";
|
|
1006
|
+
readonly canDisable: true;
|
|
1007
|
+
readonly outputsThinking: false;
|
|
1008
|
+
readonly outputsSignatures: false;
|
|
1009
|
+
};
|
|
1010
|
+
readonly modalities: {
|
|
1011
|
+
readonly input: readonly ["text", "image"];
|
|
1012
|
+
readonly output: readonly ["text"];
|
|
1013
|
+
};
|
|
1014
|
+
readonly knowledge: "2026-04-20";
|
|
1015
|
+
readonly releaseDate: "2026-09-22";
|
|
1016
|
+
readonly lastUpdated: "2026-09-22";
|
|
1017
|
+
readonly family: "gpt";
|
|
1018
|
+
readonly openWeights: false;
|
|
1019
|
+
readonly structuredOutput: true;
|
|
1020
|
+
readonly temperatureSupported: false;
|
|
1021
|
+
readonly provider: "openai";
|
|
1022
|
+
}, {
|
|
1023
|
+
readonly type: "text";
|
|
1024
|
+
readonly modelName: "gpt-6-luna";
|
|
1025
|
+
readonly description: "GPT-6 Luna is the fast, most affordable member of the GPT-6 family. 1M context window. Standard pricing for ≤272K input tokens; prompts above that are billed at 2x input/cache and 1.5x output for the whole request. Knowledge cutoff: May 2026.";
|
|
1026
|
+
readonly maxInputTokens: 1050000;
|
|
1027
|
+
readonly maxOutputTokens: 128000;
|
|
1028
|
+
readonly inputTokenCost: 0.1;
|
|
1029
|
+
readonly cachedInputTokenCost: 0.01;
|
|
1030
|
+
readonly outputTokenCost: 0.5;
|
|
1031
|
+
readonly outputTokensPerSecond: 128;
|
|
1032
|
+
readonly longContext: {
|
|
1033
|
+
readonly inputTokenCost: 0.2;
|
|
1034
|
+
readonly cachedInputTokenCost: 0.02;
|
|
1035
|
+
readonly outputTokenCost: 0.75;
|
|
1036
|
+
readonly thresholdTokens: 272000;
|
|
1037
|
+
};
|
|
1038
|
+
readonly reasoning: {
|
|
1039
|
+
readonly levels: readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
1040
|
+
readonly defaultLevel: "medium";
|
|
1041
|
+
readonly canDisable: true;
|
|
1042
|
+
readonly outputsThinking: false;
|
|
1043
|
+
readonly outputsSignatures: false;
|
|
1044
|
+
};
|
|
1045
|
+
readonly modalities: {
|
|
1046
|
+
readonly input: readonly ["text", "image"];
|
|
1047
|
+
readonly output: readonly ["text"];
|
|
1048
|
+
};
|
|
1049
|
+
readonly knowledge: "2026-05-18";
|
|
1050
|
+
readonly releaseDate: "2026-09-22";
|
|
1051
|
+
readonly lastUpdated: "2026-09-22";
|
|
920
1052
|
readonly family: "gpt";
|
|
921
1053
|
readonly openWeights: false;
|
|
922
1054
|
readonly structuredOutput: true;
|
|
@@ -1001,7 +1133,7 @@ export declare const textModels: readonly [{
|
|
|
1001
1133
|
readonly inputTokenCost: 0.2;
|
|
1002
1134
|
readonly cachedInputTokenCost: 0.02;
|
|
1003
1135
|
readonly outputTokenCost: 1.2;
|
|
1004
|
-
readonly outputTokensPerSecond:
|
|
1136
|
+
readonly outputTokensPerSecond: 124;
|
|
1005
1137
|
readonly longContext: {
|
|
1006
1138
|
readonly inputTokenCost: 0.4;
|
|
1007
1139
|
readonly cachedInputTokenCost: 0.04;
|
|
@@ -1093,14 +1225,14 @@ export declare const textModels: readonly [{
|
|
|
1093
1225
|
}, {
|
|
1094
1226
|
readonly type: "text";
|
|
1095
1227
|
readonly modelName: "gemini-3.8-flash";
|
|
1096
|
-
readonly description: "Google's most intelligent Flash model (GA September 2, 2026), built on Gemini 3.7 Flash and engineered for long-horizon software engineering, autonomous agents, and complex enterprise workflows. 1M context window, 64K output. Introductory pricing $0.75 input / $3.75 output per 1M through December 31, 2026 ($1.50 / $7.50 thereafter). Thinking levels low/medium/high — `minimal` returns an error.";
|
|
1228
|
+
readonly description: "Google's most intelligent Flash model (GA September 2, 2026), built on Gemini 3.7 Flash and engineered for long-horizon software engineering, autonomous agents, and complex enterprise workflows. 1M context window, 64K output. Introductory pricing $0.75 input (all modalities, including audio) / $3.75 output per 1M through December 31, 2026 ($1.50 / $7.50 thereafter). Thinking levels low/medium/high — `minimal` returns an error.";
|
|
1097
1229
|
readonly maxInputTokens: 1048576;
|
|
1098
1230
|
readonly maxOutputTokens: 65536;
|
|
1099
1231
|
readonly inputTokenCost: 0.75;
|
|
1100
1232
|
readonly cachedInputTokenCost: 0.075;
|
|
1101
1233
|
readonly outputTokenCost: 3.75;
|
|
1102
|
-
readonly outputTokensPerSecond:
|
|
1103
|
-
readonly inputAudioTokenCost:
|
|
1234
|
+
readonly outputTokensPerSecond: 249;
|
|
1235
|
+
readonly inputAudioTokenCost: 0.75;
|
|
1104
1236
|
readonly reasoning: {
|
|
1105
1237
|
readonly levels: readonly ["low", "medium", "high"];
|
|
1106
1238
|
readonly defaultLevel: "medium";
|
|
@@ -1123,14 +1255,14 @@ export declare const textModels: readonly [{
|
|
|
1123
1255
|
}, {
|
|
1124
1256
|
readonly type: "text";
|
|
1125
1257
|
readonly modelName: "gemini-3.7-flash";
|
|
1126
|
-
readonly description: "Gemini 3.7 Flash (GA August 13, 2026) for complex coding, agentic workflows, and reliable multi-step execution. Superseded by gemini-3.8-flash but fully supported. 1M context window, 64K output. Introductory pricing $0.75 input / $3.75 output per 1M through December 31, 2026 ($1.50 / $7.50 thereafter). Thinking levels low/medium/high — `minimal` returns an error.";
|
|
1258
|
+
readonly description: "Gemini 3.7 Flash (GA August 13, 2026) for complex coding, agentic workflows, and reliable multi-step execution. Superseded by gemini-3.8-flash but fully supported. 1M context window, 64K output. Introductory pricing $0.75 input (all modalities, including audio) / $3.75 output per 1M through December 31, 2026 ($1.50 / $7.50 thereafter). Thinking levels low/medium/high — `minimal` returns an error.";
|
|
1127
1259
|
readonly maxInputTokens: 1048576;
|
|
1128
1260
|
readonly maxOutputTokens: 65536;
|
|
1129
1261
|
readonly inputTokenCost: 0.75;
|
|
1130
1262
|
readonly cachedInputTokenCost: 0.075;
|
|
1131
1263
|
readonly outputTokenCost: 3.75;
|
|
1132
1264
|
readonly outputTokensPerSecond: 272;
|
|
1133
|
-
readonly inputAudioTokenCost:
|
|
1265
|
+
readonly inputAudioTokenCost: 0.75;
|
|
1134
1266
|
readonly reasoning: {
|
|
1135
1267
|
readonly levels: readonly ["low", "medium", "high"];
|
|
1136
1268
|
readonly defaultLevel: "medium";
|
|
@@ -1153,16 +1285,17 @@ export declare const textModels: readonly [{
|
|
|
1153
1285
|
}, {
|
|
1154
1286
|
readonly type: "text";
|
|
1155
1287
|
readonly modelName: "gemini-3.6-flash";
|
|
1156
|
-
readonly description: "Gemini 3.6 Flash (GA July 21, 2026), balancing speed and multimodal capabilities across general agentic and everyday tasks. Superseded by gemini-3.7-flash / gemini-3.8-flash. 1M context window, 64K output. Introductory pricing $0.75 input / $3.75 output per 1M through December 31, 2026 ($1.50 / $7.50 thereafter). Context caching: $0.075/1M read.";
|
|
1288
|
+
readonly description: "Gemini 3.6 Flash (GA July 21, 2026), balancing speed and multimodal capabilities across general agentic and everyday tasks. Superseded by gemini-3.7-flash / gemini-3.8-flash. 1M context window, 64K output. Introductory pricing $0.75 input (all modalities, including audio) / $3.75 output per 1M through December 31, 2026 ($1.50 / $7.50 thereafter). Context caching: $0.075/1M read.";
|
|
1157
1289
|
readonly maxInputTokens: 1048576;
|
|
1158
1290
|
readonly maxOutputTokens: 65536;
|
|
1159
1291
|
readonly inputTokenCost: 0.75;
|
|
1160
1292
|
readonly cachedInputTokenCost: 0.075;
|
|
1161
1293
|
readonly outputTokenCost: 3.75;
|
|
1162
|
-
readonly
|
|
1294
|
+
readonly outputTokensPerSecond: 185;
|
|
1295
|
+
readonly inputAudioTokenCost: 0.75;
|
|
1163
1296
|
readonly reasoning: {
|
|
1164
1297
|
readonly levels: readonly ["minimal", "low", "medium", "high"];
|
|
1165
|
-
readonly defaultLevel: "
|
|
1298
|
+
readonly defaultLevel: "medium";
|
|
1166
1299
|
readonly canDisable: false;
|
|
1167
1300
|
readonly outputsThinking: true;
|
|
1168
1301
|
readonly outputsSignatures: true;
|
|
@@ -1188,10 +1321,11 @@ export declare const textModels: readonly [{
|
|
|
1188
1321
|
readonly inputTokenCost: 1.5;
|
|
1189
1322
|
readonly cachedInputTokenCost: 0.15;
|
|
1190
1323
|
readonly outputTokenCost: 9;
|
|
1324
|
+
readonly outputTokensPerSecond: 211;
|
|
1191
1325
|
readonly inputAudioTokenCost: 1.5;
|
|
1192
1326
|
readonly reasoning: {
|
|
1193
1327
|
readonly levels: readonly ["minimal", "low", "medium", "high"];
|
|
1194
|
-
readonly defaultLevel: "
|
|
1328
|
+
readonly defaultLevel: "medium";
|
|
1195
1329
|
readonly canDisable: false;
|
|
1196
1330
|
readonly outputsThinking: true;
|
|
1197
1331
|
readonly outputsSignatures: true;
|
|
@@ -1211,7 +1345,7 @@ export declare const textModels: readonly [{
|
|
|
1211
1345
|
}, {
|
|
1212
1346
|
readonly type: "text";
|
|
1213
1347
|
readonly modelName: "gemini-3-flash-preview";
|
|
1214
|
-
readonly description: "Gemini 3 Flash preview. Superseded by gemini-3.
|
|
1348
|
+
readonly description: "Gemini 3 Flash preview. Superseded by gemini-3.6-flash (Google's named replacement); no shutdown date announced. 1M context window and 64K output. Optimized for agentic workflows and coding.";
|
|
1215
1349
|
readonly maxInputTokens: 1048576;
|
|
1216
1350
|
readonly maxOutputTokens: 65536;
|
|
1217
1351
|
readonly inputTokenCost: 0.5;
|
|
@@ -1248,7 +1382,7 @@ export declare const textModels: readonly [{
|
|
|
1248
1382
|
readonly cachedInputTokenCost: 0.03;
|
|
1249
1383
|
readonly outputTokenCost: 2.5;
|
|
1250
1384
|
readonly outputTokensPerSecond: 347;
|
|
1251
|
-
readonly inputAudioTokenCost: 0.
|
|
1385
|
+
readonly inputAudioTokenCost: 0.3;
|
|
1252
1386
|
readonly reasoning: {
|
|
1253
1387
|
readonly levels: readonly ["minimal", "low", "medium", "high"];
|
|
1254
1388
|
readonly defaultLevel: "minimal";
|
|
@@ -1271,13 +1405,13 @@ export declare const textModels: readonly [{
|
|
|
1271
1405
|
}, {
|
|
1272
1406
|
readonly type: "text";
|
|
1273
1407
|
readonly modelName: "gemini-3.1-flash-lite";
|
|
1274
|
-
readonly description: "Cost-effective Gemini 3.1 model (GA). Superseded by gemini-3.5-flash-lite. Thinking support, 1M context window, 64K output. 2.5x faster TTFA and 45% faster output than 2.5 Flash.";
|
|
1408
|
+
readonly description: "Cost-effective Gemini 3.1 model (GA). Superseded by gemini-3.5-flash-lite; scheduled shutdown May 7, 2027. Thinking support, 1M context window, 64K output. 2.5x faster TTFA and 45% faster output than 2.5 Flash.";
|
|
1275
1409
|
readonly maxInputTokens: 1048576;
|
|
1276
1410
|
readonly maxOutputTokens: 65536;
|
|
1277
1411
|
readonly inputTokenCost: 0.25;
|
|
1278
1412
|
readonly cachedInputTokenCost: 0.025;
|
|
1279
1413
|
readonly outputTokenCost: 1.5;
|
|
1280
|
-
readonly outputTokensPerSecond:
|
|
1414
|
+
readonly outputTokensPerSecond: 267;
|
|
1281
1415
|
readonly inputAudioTokenCost: 0.5;
|
|
1282
1416
|
readonly reasoning: {
|
|
1283
1417
|
readonly levels: readonly ["minimal", "low", "medium", "high"];
|
|
@@ -1301,7 +1435,7 @@ export declare const textModels: readonly [{
|
|
|
1301
1435
|
}, {
|
|
1302
1436
|
readonly type: "text";
|
|
1303
1437
|
readonly modelName: "gemini-3.1-flash-lite-preview";
|
|
1304
|
-
readonly description: "DEPRECATED: Preview version,
|
|
1438
|
+
readonly description: "DEPRECATED: Preview version, shut down May 25, 2026. Use gemini-3.1-flash-lite instead.";
|
|
1305
1439
|
readonly maxInputTokens: 1048576;
|
|
1306
1440
|
readonly maxOutputTokens: 65536;
|
|
1307
1441
|
readonly inputTokenCost: 0.25;
|
|
@@ -1324,13 +1458,13 @@ export declare const textModels: readonly [{
|
|
|
1324
1458
|
}, {
|
|
1325
1459
|
readonly type: "text";
|
|
1326
1460
|
readonly modelName: "gemini-2.5-pro";
|
|
1327
|
-
readonly description: "High-performance Gemini 2.5 model with 1M context window. Adaptive thinking for complex reasoning and coding. Standard pricing for ≤200k tokens ($1.25 input/$10.00 output), higher rates for >200k tokens ($2.50 input/$15.00 output). Batch API: 50% discount.";
|
|
1461
|
+
readonly description: "High-performance Gemini 2.5 model with 1M context window. Adaptive thinking for complex reasoning and coding. Standard pricing for ≤200k tokens ($1.25 input/$10.00 output), higher rates for >200k tokens ($2.50 input/$15.00 output). Batch API: 50% discount. Since September 18, 2026, access is limited to projects that have used it before (not deprecated; served until further notice).";
|
|
1328
1462
|
readonly maxInputTokens: 1048576;
|
|
1329
1463
|
readonly maxOutputTokens: 65536;
|
|
1330
1464
|
readonly inputTokenCost: 1.25;
|
|
1331
1465
|
readonly cachedInputTokenCost: 0.125;
|
|
1332
1466
|
readonly outputTokenCost: 10;
|
|
1333
|
-
readonly outputTokensPerSecond:
|
|
1467
|
+
readonly outputTokensPerSecond: 122;
|
|
1334
1468
|
readonly longContext: {
|
|
1335
1469
|
readonly inputTokenCost: 2.5;
|
|
1336
1470
|
readonly cachedInputTokenCost: 0.25;
|
|
@@ -1357,7 +1491,7 @@ export declare const textModels: readonly [{
|
|
|
1357
1491
|
}, {
|
|
1358
1492
|
readonly type: "text";
|
|
1359
1493
|
readonly modelName: "gemini-2.5-flash";
|
|
1360
|
-
readonly description: "Balanced Gemini 2.5 model with excellent performance-to-cost ratio. Lightning-fast with controllable thinking budgets. 1M context window. Context caching available for up to 75% cost reduction.";
|
|
1494
|
+
readonly description: "Balanced Gemini 2.5 model with excellent performance-to-cost ratio. Lightning-fast with controllable thinking budgets. 1M context window. Context caching available for up to 75% cost reduction. Since September 18, 2026, access is limited to projects that have used it before (not deprecated; served until further notice).";
|
|
1361
1495
|
readonly maxInputTokens: 1048576;
|
|
1362
1496
|
readonly maxOutputTokens: 65536;
|
|
1363
1497
|
readonly inputTokenCost: 0.3;
|
|
@@ -1387,13 +1521,13 @@ export declare const textModels: readonly [{
|
|
|
1387
1521
|
}, {
|
|
1388
1522
|
readonly type: "text";
|
|
1389
1523
|
readonly modelName: "gemini-2.5-flash-lite";
|
|
1390
|
-
readonly description: "Most cost-effective Gemini 2.5 option for high-throughput applications. 1M context window.";
|
|
1524
|
+
readonly description: "Most cost-effective Gemini 2.5 option for high-throughput applications. 1M context window. Since September 18, 2026, access is limited to projects that have used it before (not deprecated; served until further notice).";
|
|
1391
1525
|
readonly maxInputTokens: 1048576;
|
|
1392
1526
|
readonly maxOutputTokens: 65536;
|
|
1393
1527
|
readonly inputTokenCost: 0.1;
|
|
1394
1528
|
readonly cachedInputTokenCost: 0.01;
|
|
1395
1529
|
readonly outputTokenCost: 0.4;
|
|
1396
|
-
readonly outputTokensPerSecond:
|
|
1530
|
+
readonly outputTokensPerSecond: 297;
|
|
1397
1531
|
readonly inputAudioTokenCost: 0.3;
|
|
1398
1532
|
readonly reasoning: {
|
|
1399
1533
|
readonly canDisable: true;
|
|
@@ -1501,10 +1635,40 @@ export declare const textModels: readonly [{
|
|
|
1501
1635
|
readonly costUnit: "characters";
|
|
1502
1636
|
readonly disabled: true;
|
|
1503
1637
|
readonly provider: "google";
|
|
1638
|
+
}, {
|
|
1639
|
+
readonly type: "text";
|
|
1640
|
+
readonly modelName: "claude-opus-5-5";
|
|
1641
|
+
readonly description: "Anthropic's recommended default model (released 2026-09-22), superseding claude-opus-5 at a lower price. Cache reads are 0.05x base input ($0.20/MTok) rather than the standard 0.1x. Adaptive thinking is always on (cannot be disabled — `disabled` or `budget_tokens` returns a 400) and defaults to effort `medium`; thinking text is omitted unless requested. Forced tool use (tool_choice any/tool) returns a 400. 1M context window, 128K max output.";
|
|
1642
|
+
readonly maxInputTokens: 1000000;
|
|
1643
|
+
readonly maxOutputTokens: 128000;
|
|
1644
|
+
readonly inputTokenCost: 4;
|
|
1645
|
+
readonly cachedInputTokenCost: 0.2;
|
|
1646
|
+
readonly cacheCreationInputTokenCost: 5;
|
|
1647
|
+
readonly outputTokenCost: 20;
|
|
1648
|
+
readonly outputTokensPerSecond: 92;
|
|
1649
|
+
readonly reasoning: {
|
|
1650
|
+
readonly thinkingStyle: "adaptive";
|
|
1651
|
+
readonly levels: readonly ["low", "medium", "high", "xhigh", "max"];
|
|
1652
|
+
readonly defaultLevel: "medium";
|
|
1653
|
+
readonly canDisable: false;
|
|
1654
|
+
readonly outputsThinking: true;
|
|
1655
|
+
readonly outputsSignatures: true;
|
|
1656
|
+
};
|
|
1657
|
+
readonly modalities: {
|
|
1658
|
+
readonly input: readonly ["text", "image", "pdf"];
|
|
1659
|
+
readonly output: readonly ["text"];
|
|
1660
|
+
};
|
|
1661
|
+
readonly knowledge: "2026-06";
|
|
1662
|
+
readonly releaseDate: "2026-09-22";
|
|
1663
|
+
readonly lastUpdated: "2026-09-22";
|
|
1664
|
+
readonly family: "claude-opus";
|
|
1665
|
+
readonly openWeights: false;
|
|
1666
|
+
readonly temperatureSupported: false;
|
|
1667
|
+
readonly provider: "anthropic";
|
|
1504
1668
|
}, {
|
|
1505
1669
|
readonly type: "text";
|
|
1506
1670
|
readonly modelName: "claude-fable-5-1";
|
|
1507
|
-
readonly description: "Anthropic's most capable widely released model, for the most demanding reasoning and long-horizon agentic work. Successor to claude-fable-5 in the same tier at the same per-token price, but cache reads are 0.025x base input ($0.25/MTok) rather than the standard 0.1x. Thinking is always on (cannot be disabled); the raw chain of thought is never returned. Forced tool use (tool_choice any/tool) returns a 400. Requires 30-day data retention (not available under zero data retention). 1M context window, 128K max output.";
|
|
1671
|
+
readonly description: "Anthropic's most capable widely released model, for the most demanding reasoning and long-horizon agentic work (claude-opus-5-5 is the recommended default for everything else). Successor to claude-fable-5 in the same tier at the same per-token price, but cache reads are 0.025x base input ($0.25/MTok) rather than the standard 0.1x. Thinking is always on (cannot be disabled); the raw chain of thought is never returned. Forced tool use (tool_choice any/tool) returns a 400. Requires 30-day data retention (not available under zero data retention). 1M context window, 128K max output.";
|
|
1508
1672
|
readonly maxInputTokens: 1000000;
|
|
1509
1673
|
readonly maxOutputTokens: 128000;
|
|
1510
1674
|
readonly inputTokenCost: 10;
|
|
@@ -1534,7 +1698,7 @@ export declare const textModels: readonly [{
|
|
|
1534
1698
|
}, {
|
|
1535
1699
|
readonly type: "text";
|
|
1536
1700
|
readonly modelName: "claude-opus-5";
|
|
1537
|
-
readonly description: "Opus-tier model
|
|
1701
|
+
readonly description: "Legacy Opus-tier model, superseded by claude-opus-5-5 (which is cheaper at $4/$20). Strong on deep reasoning, agentic and long-horizon work. Thinking is on by default; it can be disabled only at effort `high` or below (xhigh/max return a 400). 1M context window, 128K max output.";
|
|
1538
1702
|
readonly maxInputTokens: 1000000;
|
|
1539
1703
|
readonly maxOutputTokens: 128000;
|
|
1540
1704
|
readonly inputTokenCost: 5;
|
|
@@ -1594,16 +1758,19 @@ export declare const textModels: readonly [{
|
|
|
1594
1758
|
}, {
|
|
1595
1759
|
readonly type: "text";
|
|
1596
1760
|
readonly modelName: "claude-opus-4-8";
|
|
1597
|
-
readonly description: "
|
|
1761
|
+
readonly description: "Claude Opus 4.8 — legacy model; prefer claude-opus-5-5. Same per-token pricing as Opus 4.7 with improved tool-use efficiency (~290 tokens for tool-use system prompt vs 675 on 4.7). Adaptive thinking is off by default. 1M context window, 128K max output.";
|
|
1598
1762
|
readonly maxInputTokens: 1000000;
|
|
1599
1763
|
readonly maxOutputTokens: 128000;
|
|
1600
1764
|
readonly inputTokenCost: 5;
|
|
1601
1765
|
readonly cachedInputTokenCost: 0.5;
|
|
1602
1766
|
readonly cacheCreationInputTokenCost: 6.25;
|
|
1603
1767
|
readonly outputTokenCost: 25;
|
|
1768
|
+
readonly outputTokensPerSecond: 61;
|
|
1604
1769
|
readonly reasoning: {
|
|
1605
1770
|
readonly thinkingStyle: "adaptive";
|
|
1606
|
-
readonly
|
|
1771
|
+
readonly levels: readonly ["low", "medium", "high", "xhigh", "max"];
|
|
1772
|
+
readonly defaultLevel: "high";
|
|
1773
|
+
readonly canDisable: true;
|
|
1607
1774
|
readonly outputsThinking: true;
|
|
1608
1775
|
readonly outputsSignatures: true;
|
|
1609
1776
|
};
|
|
@@ -1611,6 +1778,7 @@ export declare const textModels: readonly [{
|
|
|
1611
1778
|
readonly input: readonly ["text", "image", "pdf"];
|
|
1612
1779
|
readonly output: readonly ["text"];
|
|
1613
1780
|
};
|
|
1781
|
+
readonly knowledge: "2026-01";
|
|
1614
1782
|
readonly releaseDate: "2026-05-28";
|
|
1615
1783
|
readonly lastUpdated: "2026-05-28";
|
|
1616
1784
|
readonly family: "claude-opus";
|
|
@@ -1627,10 +1795,12 @@ export declare const textModels: readonly [{
|
|
|
1627
1795
|
readonly cachedInputTokenCost: 0.5;
|
|
1628
1796
|
readonly cacheCreationInputTokenCost: 6.25;
|
|
1629
1797
|
readonly outputTokenCost: 25;
|
|
1630
|
-
readonly outputTokensPerSecond:
|
|
1798
|
+
readonly outputTokensPerSecond: 48;
|
|
1631
1799
|
readonly reasoning: {
|
|
1632
1800
|
readonly thinkingStyle: "adaptive";
|
|
1633
|
-
readonly
|
|
1801
|
+
readonly levels: readonly ["low", "medium", "high", "xhigh", "max"];
|
|
1802
|
+
readonly defaultLevel: "high";
|
|
1803
|
+
readonly canDisable: true;
|
|
1634
1804
|
readonly outputsThinking: true;
|
|
1635
1805
|
readonly outputsSignatures: true;
|
|
1636
1806
|
};
|
|
@@ -1648,16 +1818,18 @@ export declare const textModels: readonly [{
|
|
|
1648
1818
|
}, {
|
|
1649
1819
|
readonly type: "text";
|
|
1650
1820
|
readonly modelName: "claude-opus-4-6";
|
|
1651
|
-
readonly description: "Claude Opus 4.6 — legacy model. Use claude-opus-
|
|
1821
|
+
readonly description: "Claude Opus 4.6 — legacy model. Use claude-opus-5-5 instead. 1M context window, 128K max output.";
|
|
1652
1822
|
readonly maxInputTokens: 1000000;
|
|
1653
1823
|
readonly maxOutputTokens: 128000;
|
|
1654
1824
|
readonly inputTokenCost: 5;
|
|
1655
1825
|
readonly cachedInputTokenCost: 0.5;
|
|
1656
1826
|
readonly cacheCreationInputTokenCost: 6.25;
|
|
1657
1827
|
readonly outputTokenCost: 25;
|
|
1658
|
-
readonly outputTokensPerSecond:
|
|
1828
|
+
readonly outputTokensPerSecond: 38;
|
|
1659
1829
|
readonly reasoning: {
|
|
1660
1830
|
readonly thinkingStyle: "adaptive";
|
|
1831
|
+
readonly levels: readonly ["low", "medium", "high", "max"];
|
|
1832
|
+
readonly defaultLevel: "high";
|
|
1661
1833
|
readonly canDisable: true;
|
|
1662
1834
|
readonly outputsThinking: true;
|
|
1663
1835
|
readonly outputsSignatures: true;
|
|
@@ -1673,10 +1845,39 @@ export declare const textModels: readonly [{
|
|
|
1673
1845
|
readonly openWeights: false;
|
|
1674
1846
|
readonly temperatureSupported: true;
|
|
1675
1847
|
readonly provider: "anthropic";
|
|
1848
|
+
}, {
|
|
1849
|
+
readonly type: "text";
|
|
1850
|
+
readonly modelName: "claude-sonnet-5-5";
|
|
1851
|
+
readonly description: "Current Sonnet-tier model (released 2026-09-28), superseding claude-sonnet-5 at the same price. Adaptive thinking is always on and defaults to effort `high`; `thinking: {type: \"disabled\"}` and `budget_tokens` return a 400. The lowest setting is `thinking: {type: \"between_tools\"}` (low/medium/high effort only), which skips up-front thinking but still emits short thinking blocks between tool calls. Thinking text is omitted unless requested. Forced tool use (tool_choice any/tool) and non-default temperature/top_p/top_k return a 400. Same tokenizer as Sonnet 5. 1M context window, 128K max output.";
|
|
1852
|
+
readonly maxInputTokens: 1000000;
|
|
1853
|
+
readonly maxOutputTokens: 128000;
|
|
1854
|
+
readonly inputTokenCost: 2;
|
|
1855
|
+
readonly cachedInputTokenCost: 0.2;
|
|
1856
|
+
readonly cacheCreationInputTokenCost: 2.5;
|
|
1857
|
+
readonly outputTokenCost: 10;
|
|
1858
|
+
readonly reasoning: {
|
|
1859
|
+
readonly thinkingStyle: "adaptive";
|
|
1860
|
+
readonly levels: readonly ["low", "medium", "high", "xhigh", "max"];
|
|
1861
|
+
readonly defaultLevel: "high";
|
|
1862
|
+
readonly canDisable: false;
|
|
1863
|
+
readonly outputsThinking: true;
|
|
1864
|
+
readonly outputsSignatures: true;
|
|
1865
|
+
};
|
|
1866
|
+
readonly modalities: {
|
|
1867
|
+
readonly input: readonly ["text", "image", "pdf"];
|
|
1868
|
+
readonly output: readonly ["text"];
|
|
1869
|
+
};
|
|
1870
|
+
readonly knowledge: "2026-06";
|
|
1871
|
+
readonly releaseDate: "2026-09-28";
|
|
1872
|
+
readonly lastUpdated: "2026-09-28";
|
|
1873
|
+
readonly family: "claude-sonnet";
|
|
1874
|
+
readonly openWeights: false;
|
|
1875
|
+
readonly temperatureSupported: false;
|
|
1876
|
+
readonly provider: "anthropic";
|
|
1676
1877
|
}, {
|
|
1677
1878
|
readonly type: "text";
|
|
1678
1879
|
readonly modelName: "claude-sonnet-5";
|
|
1679
|
-
readonly description: "
|
|
1880
|
+
readonly description: "Legacy Sonnet-tier model, superseded by claude-sonnet-5-5 at the same price. Near-Opus quality on coding and agentic work. Adaptive thinking on by default; supports the full low/medium/high/xhigh/max effort range. New tokenizer (~30% more tokens for the same text vs Sonnet 4.6). The $2/$10 per MTok launch rate is now the standard price — the increase to $3/$15 scheduled for 2026-09-01 was cancelled. 1M context window, 128K max output.";
|
|
1680
1881
|
readonly maxInputTokens: 1000000;
|
|
1681
1882
|
readonly maxOutputTokens: 128000;
|
|
1682
1883
|
readonly inputTokenCost: 2;
|
|
@@ -1716,6 +1917,8 @@ export declare const textModels: readonly [{
|
|
|
1716
1917
|
readonly outputTokensPerSecond: 52;
|
|
1717
1918
|
readonly reasoning: {
|
|
1718
1919
|
readonly thinkingStyle: "adaptive";
|
|
1920
|
+
readonly levels: readonly ["low", "medium", "high", "max"];
|
|
1921
|
+
readonly defaultLevel: "high";
|
|
1719
1922
|
readonly canDisable: true;
|
|
1720
1923
|
readonly outputsThinking: true;
|
|
1721
1924
|
readonly outputsSignatures: true;
|
|
@@ -1797,6 +2000,7 @@ export declare const textModels: readonly [{
|
|
|
1797
2000
|
readonly cachedInputTokenCost: 0.1;
|
|
1798
2001
|
readonly cacheCreationInputTokenCost: 1.25;
|
|
1799
2002
|
readonly outputTokenCost: 5;
|
|
2003
|
+
readonly outputTokensPerSecond: 97;
|
|
1800
2004
|
readonly reasoning: {
|
|
1801
2005
|
readonly thinkingStyle: "budget";
|
|
1802
2006
|
readonly canDisable: true;
|
|
@@ -1817,13 +2021,14 @@ export declare const textModels: readonly [{
|
|
|
1817
2021
|
}, {
|
|
1818
2022
|
readonly type: "text";
|
|
1819
2023
|
readonly modelName: "claude-opus-4-5";
|
|
1820
|
-
readonly description: "Claude Opus 4.5 — earlier Opus generation. Prefer claude-opus-
|
|
2024
|
+
readonly description: "Claude Opus 4.5 — earlier Opus generation. Prefer claude-opus-5-5. Supports the effort parameter alongside budget_tokens thinking.";
|
|
1821
2025
|
readonly maxInputTokens: 200000;
|
|
1822
2026
|
readonly maxOutputTokens: 64000;
|
|
1823
2027
|
readonly inputTokenCost: 5;
|
|
1824
2028
|
readonly cachedInputTokenCost: 0.5;
|
|
1825
2029
|
readonly cacheCreationInputTokenCost: 6.25;
|
|
1826
2030
|
readonly outputTokenCost: 25;
|
|
2031
|
+
readonly outputTokensPerSecond: 49;
|
|
1827
2032
|
readonly reasoning: {
|
|
1828
2033
|
readonly thinkingStyle: "budget";
|
|
1829
2034
|
readonly canDisable: true;
|
|
@@ -1844,13 +2049,14 @@ export declare const textModels: readonly [{
|
|
|
1844
2049
|
}, {
|
|
1845
2050
|
readonly type: "text";
|
|
1846
2051
|
readonly modelName: "claude-sonnet-4-5";
|
|
1847
|
-
readonly description: "Claude Sonnet 4.5 — earlier Sonnet generation.
|
|
2052
|
+
readonly description: "Claude Sonnet 4.5 — earlier Sonnet generation. Deprecated 2026-09-30; retires November 30, 2026. Migrate to claude-sonnet-5-5.";
|
|
1848
2053
|
readonly maxInputTokens: 200000;
|
|
1849
2054
|
readonly maxOutputTokens: 64000;
|
|
1850
2055
|
readonly inputTokenCost: 3;
|
|
1851
2056
|
readonly cachedInputTokenCost: 0.3;
|
|
1852
2057
|
readonly cacheCreationInputTokenCost: 3.75;
|
|
1853
2058
|
readonly outputTokenCost: 15;
|
|
2059
|
+
readonly outputTokensPerSecond: 46;
|
|
1854
2060
|
readonly reasoning: {
|
|
1855
2061
|
readonly thinkingStyle: "budget";
|
|
1856
2062
|
readonly canDisable: true;
|
|
@@ -1871,7 +2077,7 @@ export declare const textModels: readonly [{
|
|
|
1871
2077
|
}, {
|
|
1872
2078
|
readonly type: "text";
|
|
1873
2079
|
readonly modelName: "gpt-5-pro";
|
|
1874
|
-
readonly description: "GPT-5 Pro uses more compute for complex reasoning tasks. Available via the Responses API.";
|
|
2080
|
+
readonly description: "GPT-5 Pro uses more compute for complex reasoning tasks. Available via the Responses API. Scheduled shutdown December 11, 2026 (announced 2026-06-11); migrate to gpt-5.6-sol with pro reasoning.";
|
|
1875
2081
|
readonly maxInputTokens: 400000;
|
|
1876
2082
|
readonly maxOutputTokens: 272000;
|
|
1877
2083
|
readonly inputTokenCost: 15;
|
|
@@ -1913,17 +2119,46 @@ export declare const imageModels: readonly [{
|
|
|
1913
2119
|
readonly type: "image";
|
|
1914
2120
|
readonly modelName: "gpt-image-1";
|
|
1915
2121
|
readonly provider: "openai";
|
|
2122
|
+
readonly description: "Scheduled shutdown October 23, 2026; migrate to gpt-image-2.5-sunburst or gpt-image-2.5-flare.";
|
|
1916
2123
|
readonly inputTokenCost: 5;
|
|
1917
2124
|
readonly cachedInputTokenCost: 1.25;
|
|
1918
2125
|
readonly inputImageTokenCost: 10;
|
|
1919
2126
|
readonly outputImageTokenCost: 40;
|
|
1920
2127
|
readonly costPerImage: 0.25;
|
|
2128
|
+
}, {
|
|
2129
|
+
readonly type: "image";
|
|
2130
|
+
readonly modelName: "gpt-image-2";
|
|
2131
|
+
readonly provider: "openai";
|
|
2132
|
+
readonly description: "Replacement for gpt-image-1-mini, gpt-image-1.5 and chatgpt-image-latest (those shut down 2026-12-01).";
|
|
2133
|
+
readonly inputTokenCost: 5;
|
|
2134
|
+
readonly cachedInputTokenCost: 1.25;
|
|
2135
|
+
readonly inputImageTokenCost: 8;
|
|
2136
|
+
readonly outputImageTokenCost: 30;
|
|
2137
|
+
}, {
|
|
2138
|
+
readonly type: "image";
|
|
2139
|
+
readonly modelName: "gpt-image-2.5-sunburst";
|
|
2140
|
+
readonly provider: "openai";
|
|
2141
|
+
readonly description: "GPT Image 2.5 Sunburst (released 2026-09-08). Quality low/medium/high/xhigh/max/auto. Cached image input $2/1M; text output is not billed.";
|
|
2142
|
+
readonly inputTokenCost: 5;
|
|
2143
|
+
readonly cachedInputTokenCost: 1.25;
|
|
2144
|
+
readonly inputImageTokenCost: 8;
|
|
2145
|
+
readonly outputImageTokenCost: 30;
|
|
2146
|
+
}, {
|
|
2147
|
+
readonly type: "image";
|
|
2148
|
+
readonly modelName: "gpt-image-2.5-flare";
|
|
2149
|
+
readonly provider: "openai";
|
|
2150
|
+
readonly description: "GPT Image 2.5 Flare (released 2026-09-08). Quality low/medium/high/xhigh/max/auto. Cached image input $2/1M; text output is not billed.";
|
|
2151
|
+
readonly inputTokenCost: 5;
|
|
2152
|
+
readonly cachedInputTokenCost: 1.25;
|
|
2153
|
+
readonly inputImageTokenCost: 8;
|
|
2154
|
+
readonly outputImageTokenCost: 30;
|
|
1921
2155
|
}, {
|
|
1922
2156
|
readonly type: "image";
|
|
1923
2157
|
readonly modelName: "gemini-2.5-flash-image";
|
|
1924
2158
|
readonly provider: "google";
|
|
1925
|
-
readonly description: "aka nano-banana.
|
|
1926
|
-
readonly costPerImage: 0.
|
|
2159
|
+
readonly description: "aka nano-banana. RETIRED: shut down October 2, 2026. Use gemini-3.1-flash-image or gemini-3.1-flash-lite-image.";
|
|
2160
|
+
readonly costPerImage: 0.039;
|
|
2161
|
+
readonly disabled: true;
|
|
1927
2162
|
}, {
|
|
1928
2163
|
readonly type: "image";
|
|
1929
2164
|
readonly modelName: "nano-banana-pro-preview";
|
|
@@ -1934,8 +2169,15 @@ export declare const imageModels: readonly [{
|
|
|
1934
2169
|
readonly type: "image";
|
|
1935
2170
|
readonly modelName: "gemini-3-pro-image-preview";
|
|
1936
2171
|
readonly provider: "google";
|
|
1937
|
-
readonly description: "
|
|
2172
|
+
readonly description: "DEPRECATED: Preview version, shut down June 25, 2026. Use gemini-3-pro-image instead.";
|
|
1938
2173
|
readonly costPerImage: 0.05;
|
|
2174
|
+
readonly disabled: true;
|
|
2175
|
+
}, {
|
|
2176
|
+
readonly type: "image";
|
|
2177
|
+
readonly modelName: "gemini-3-pro-image";
|
|
2178
|
+
readonly provider: "google";
|
|
2179
|
+
readonly description: "aka Nano Banana Pro (GA 2026-05-28). High-fidelity image generation with reasoning-enhanced composition. Supports legible text rendering, complex multi-turn editing, and character consistency using up to 14 reference inputs. $0.134/image at 1K or 2K, $0.24 at 4K; text input $2/1M, text/thinking output $12/1M.";
|
|
2180
|
+
readonly costPerImage: 0.134;
|
|
1939
2181
|
}, {
|
|
1940
2182
|
readonly type: "image";
|
|
1941
2183
|
readonly modelName: "gemini-3.1-flash-image-preview";
|
|
@@ -1953,7 +2195,7 @@ export declare const imageModels: readonly [{
|
|
|
1953
2195
|
readonly type: "image";
|
|
1954
2196
|
readonly modelName: "gemini-3.1-flash-lite-image";
|
|
1955
2197
|
readonly provider: "google";
|
|
1956
|
-
readonly description: "aka Nano Banana 2 Lite (GA 2026-06-30). Fastest, most cost-effective Gemini image model (~4s generation). ~$0.034/image at 1K.
|
|
2198
|
+
readonly description: "aka Nano Banana 2 Lite (GA 2026-06-30). Fastest, most cost-effective Gemini image model (~4s generation). ~$0.034/image at 1K.";
|
|
1957
2199
|
readonly costPerImage: 0.034;
|
|
1958
2200
|
}];
|
|
1959
2201
|
export declare const embeddingsModels: EmbeddingsModel[];
|