cost-katana 2.4.2 → 2.4.4
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 +158 -86
- package/dist/config/pricing/anthropic.d.ts.map +1 -1
- package/dist/config/pricing/anthropic.js +52 -4
- package/dist/config/pricing/anthropic.js.map +1 -1
- package/dist/config/pricing/aws-bedrock.d.ts.map +1 -1
- package/dist/config/pricing/aws-bedrock.js +25 -1
- package/dist/config/pricing/aws-bedrock.js.map +1 -1
- package/dist/config/pricing/google.d.ts.map +1 -1
- package/dist/config/pricing/google.js +17 -4
- package/dist/config/pricing/google.js.map +1 -1
- package/dist/config/pricing/openai.d.ts.map +1 -1
- package/dist/config/pricing/openai.js +94 -16
- package/dist/config/pricing/openai.js.map +1 -1
- package/dist/constants/models.d.ts +13 -1
- package/dist/constants/models.d.ts.map +1 -1
- package/dist/constants/models.js +13 -1
- package/dist/constants/models.js.map +1 -1
- package/dist/providers/anthropic.d.ts.map +1 -1
- package/dist/providers/anthropic.js +22 -2
- package/dist/providers/anthropic.js.map +1 -1
- package/dist/providers/bedrock.d.ts.map +1 -1
- package/dist/providers/bedrock.js +16 -2
- package/dist/providers/bedrock.js.map +1 -1
- package/dist/types/models.d.ts.map +1 -1
- package/dist/types/models.js +413 -22
- package/dist/types/models.js.map +1 -1
- package/dist/types/providers.d.ts +5 -0
- package/dist/types/providers.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/types/models.js
CHANGED
|
@@ -7,18 +7,133 @@ exports.getAllModels = getAllModels;
|
|
|
7
7
|
const index_1 = require("./index");
|
|
8
8
|
const providers_1 = require("./providers");
|
|
9
9
|
exports.MODELS = {
|
|
10
|
+
'gpt-5.5': {
|
|
11
|
+
id: 'gpt-5.5',
|
|
12
|
+
name: 'GPT-5.5',
|
|
13
|
+
provider: index_1.AIProvider.OpenAI,
|
|
14
|
+
maxTokens: 128000,
|
|
15
|
+
contextWindow: 1050000,
|
|
16
|
+
pricing: {
|
|
17
|
+
prompt: 5.0,
|
|
18
|
+
completion: 30.0,
|
|
19
|
+
unit: providers_1.PricingUnit.Per1MTokens,
|
|
20
|
+
currency: 'USD',
|
|
21
|
+
effectiveDate: '2026-04-01'
|
|
22
|
+
},
|
|
23
|
+
capabilities: {
|
|
24
|
+
chat: true,
|
|
25
|
+
completion: true,
|
|
26
|
+
embedding: false,
|
|
27
|
+
functionCalling: true,
|
|
28
|
+
vision: true,
|
|
29
|
+
audio: false,
|
|
30
|
+
streaming: true
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
'gpt-5.5-2026-04-23': {
|
|
34
|
+
id: 'gpt-5.5-2026-04-23',
|
|
35
|
+
name: 'GPT-5.5 (2026-04-23 snapshot)',
|
|
36
|
+
provider: index_1.AIProvider.OpenAI,
|
|
37
|
+
maxTokens: 128000,
|
|
38
|
+
contextWindow: 1050000,
|
|
39
|
+
pricing: {
|
|
40
|
+
prompt: 5.0,
|
|
41
|
+
completion: 30.0,
|
|
42
|
+
unit: providers_1.PricingUnit.Per1MTokens,
|
|
43
|
+
currency: 'USD',
|
|
44
|
+
effectiveDate: '2026-04-23'
|
|
45
|
+
},
|
|
46
|
+
capabilities: {
|
|
47
|
+
chat: true,
|
|
48
|
+
completion: true,
|
|
49
|
+
embedding: false,
|
|
50
|
+
functionCalling: true,
|
|
51
|
+
vision: true,
|
|
52
|
+
audio: false,
|
|
53
|
+
streaming: true
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
'gpt-5.5-pro': {
|
|
57
|
+
id: 'gpt-5.5-pro',
|
|
58
|
+
name: 'GPT-5.5 Pro',
|
|
59
|
+
provider: index_1.AIProvider.OpenAI,
|
|
60
|
+
maxTokens: 128000,
|
|
61
|
+
contextWindow: 1050000,
|
|
62
|
+
pricing: {
|
|
63
|
+
prompt: 30.0,
|
|
64
|
+
completion: 180.0,
|
|
65
|
+
unit: providers_1.PricingUnit.Per1MTokens,
|
|
66
|
+
currency: 'USD',
|
|
67
|
+
effectiveDate: '2026-04-01'
|
|
68
|
+
},
|
|
69
|
+
capabilities: {
|
|
70
|
+
chat: true,
|
|
71
|
+
completion: true,
|
|
72
|
+
embedding: false,
|
|
73
|
+
functionCalling: true,
|
|
74
|
+
vision: true,
|
|
75
|
+
audio: false,
|
|
76
|
+
streaming: true
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
'gpt-5.4': {
|
|
80
|
+
id: 'gpt-5.4',
|
|
81
|
+
name: 'GPT-5.4',
|
|
82
|
+
provider: index_1.AIProvider.OpenAI,
|
|
83
|
+
maxTokens: 128000,
|
|
84
|
+
contextWindow: 256000,
|
|
85
|
+
pricing: {
|
|
86
|
+
prompt: 2.5,
|
|
87
|
+
completion: 15.0,
|
|
88
|
+
unit: providers_1.PricingUnit.Per1MTokens,
|
|
89
|
+
currency: 'USD',
|
|
90
|
+
effectiveDate: '2026-04-01'
|
|
91
|
+
},
|
|
92
|
+
capabilities: {
|
|
93
|
+
chat: true,
|
|
94
|
+
completion: true,
|
|
95
|
+
embedding: false,
|
|
96
|
+
functionCalling: true,
|
|
97
|
+
vision: true,
|
|
98
|
+
audio: false,
|
|
99
|
+
streaming: true
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
'gpt-5.4-mini': {
|
|
103
|
+
id: 'gpt-5.4-mini',
|
|
104
|
+
name: 'GPT-5.4 mini',
|
|
105
|
+
provider: index_1.AIProvider.OpenAI,
|
|
106
|
+
maxTokens: 128000,
|
|
107
|
+
contextWindow: 256000,
|
|
108
|
+
pricing: {
|
|
109
|
+
prompt: 0.75,
|
|
110
|
+
completion: 4.5,
|
|
111
|
+
unit: providers_1.PricingUnit.Per1MTokens,
|
|
112
|
+
currency: 'USD',
|
|
113
|
+
effectiveDate: '2026-04-01'
|
|
114
|
+
},
|
|
115
|
+
capabilities: {
|
|
116
|
+
chat: true,
|
|
117
|
+
completion: true,
|
|
118
|
+
embedding: false,
|
|
119
|
+
functionCalling: true,
|
|
120
|
+
vision: true,
|
|
121
|
+
audio: false,
|
|
122
|
+
streaming: true
|
|
123
|
+
}
|
|
124
|
+
},
|
|
10
125
|
'gpt-5': {
|
|
11
126
|
id: 'gpt-5',
|
|
12
127
|
name: 'GPT-5',
|
|
13
128
|
provider: index_1.AIProvider.OpenAI,
|
|
14
129
|
maxTokens: 128000,
|
|
15
|
-
contextWindow:
|
|
130
|
+
contextWindow: 1050000,
|
|
16
131
|
pricing: {
|
|
17
|
-
prompt: 0
|
|
18
|
-
completion: 0
|
|
19
|
-
unit: providers_1.PricingUnit.
|
|
132
|
+
prompt: 5.0,
|
|
133
|
+
completion: 30.0,
|
|
134
|
+
unit: providers_1.PricingUnit.Per1MTokens,
|
|
20
135
|
currency: 'USD',
|
|
21
|
-
effectiveDate: '
|
|
136
|
+
effectiveDate: '2026-01-01'
|
|
22
137
|
},
|
|
23
138
|
capabilities: {
|
|
24
139
|
chat: true,
|
|
@@ -32,16 +147,16 @@ exports.MODELS = {
|
|
|
32
147
|
},
|
|
33
148
|
'gpt-5-mini': {
|
|
34
149
|
id: 'gpt-5-mini',
|
|
35
|
-
name: 'GPT-5
|
|
150
|
+
name: 'GPT-5 mini',
|
|
36
151
|
provider: index_1.AIProvider.OpenAI,
|
|
37
152
|
maxTokens: 128000,
|
|
38
|
-
contextWindow:
|
|
153
|
+
contextWindow: 256000,
|
|
39
154
|
pricing: {
|
|
40
|
-
prompt: 0.
|
|
41
|
-
completion:
|
|
42
|
-
unit: providers_1.PricingUnit.
|
|
155
|
+
prompt: 0.75,
|
|
156
|
+
completion: 4.5,
|
|
157
|
+
unit: providers_1.PricingUnit.Per1MTokens,
|
|
43
158
|
currency: 'USD',
|
|
44
|
-
effectiveDate: '
|
|
159
|
+
effectiveDate: '2026-01-01'
|
|
45
160
|
},
|
|
46
161
|
capabilities: {
|
|
47
162
|
chat: true,
|
|
@@ -55,16 +170,85 @@ exports.MODELS = {
|
|
|
55
170
|
},
|
|
56
171
|
'gpt-5-nano': {
|
|
57
172
|
id: 'gpt-5-nano',
|
|
58
|
-
name: 'GPT-5
|
|
173
|
+
name: 'GPT-5 nano',
|
|
59
174
|
provider: index_1.AIProvider.OpenAI,
|
|
60
175
|
maxTokens: 128000,
|
|
61
176
|
contextWindow: 128000,
|
|
62
177
|
pricing: {
|
|
63
|
-
prompt: 0.
|
|
64
|
-
completion: 0.
|
|
65
|
-
unit: providers_1.PricingUnit.
|
|
178
|
+
prompt: 0.2,
|
|
179
|
+
completion: 0.8,
|
|
180
|
+
unit: providers_1.PricingUnit.Per1MTokens,
|
|
66
181
|
currency: 'USD',
|
|
67
|
-
effectiveDate: '
|
|
182
|
+
effectiveDate: '2026-01-01'
|
|
183
|
+
},
|
|
184
|
+
capabilities: {
|
|
185
|
+
chat: true,
|
|
186
|
+
completion: true,
|
|
187
|
+
embedding: false,
|
|
188
|
+
functionCalling: true,
|
|
189
|
+
vision: false,
|
|
190
|
+
audio: false,
|
|
191
|
+
streaming: true
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
'gpt-5-pro': {
|
|
195
|
+
id: 'gpt-5-pro',
|
|
196
|
+
name: 'GPT-5 pro',
|
|
197
|
+
provider: index_1.AIProvider.OpenAI,
|
|
198
|
+
maxTokens: 128000,
|
|
199
|
+
contextWindow: 128000,
|
|
200
|
+
pricing: {
|
|
201
|
+
prompt: 15.0,
|
|
202
|
+
completion: 120.0,
|
|
203
|
+
unit: providers_1.PricingUnit.Per1MTokens,
|
|
204
|
+
currency: 'USD',
|
|
205
|
+
effectiveDate: '2026-01-01'
|
|
206
|
+
},
|
|
207
|
+
capabilities: {
|
|
208
|
+
chat: true,
|
|
209
|
+
completion: true,
|
|
210
|
+
embedding: false,
|
|
211
|
+
functionCalling: true,
|
|
212
|
+
vision: false,
|
|
213
|
+
audio: false,
|
|
214
|
+
streaming: true
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
'gpt-5-codex': {
|
|
218
|
+
id: 'gpt-5-codex',
|
|
219
|
+
name: 'GPT-5-Codex',
|
|
220
|
+
provider: index_1.AIProvider.OpenAI,
|
|
221
|
+
maxTokens: 128000,
|
|
222
|
+
contextWindow: 256000,
|
|
223
|
+
pricing: {
|
|
224
|
+
prompt: 1.25,
|
|
225
|
+
completion: 10.0,
|
|
226
|
+
unit: providers_1.PricingUnit.Per1MTokens,
|
|
227
|
+
currency: 'USD',
|
|
228
|
+
effectiveDate: '2026-01-01'
|
|
229
|
+
},
|
|
230
|
+
capabilities: {
|
|
231
|
+
chat: true,
|
|
232
|
+
completion: true,
|
|
233
|
+
embedding: false,
|
|
234
|
+
functionCalling: true,
|
|
235
|
+
vision: false,
|
|
236
|
+
audio: false,
|
|
237
|
+
streaming: true
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
'gpt-5-chat': {
|
|
241
|
+
id: 'gpt-5-chat',
|
|
242
|
+
name: 'GPT-5 Chat',
|
|
243
|
+
provider: index_1.AIProvider.OpenAI,
|
|
244
|
+
maxTokens: 128000,
|
|
245
|
+
contextWindow: 1050000,
|
|
246
|
+
pricing: {
|
|
247
|
+
prompt: 5.0,
|
|
248
|
+
completion: 30.0,
|
|
249
|
+
unit: providers_1.PricingUnit.Per1MTokens,
|
|
250
|
+
currency: 'USD',
|
|
251
|
+
effectiveDate: '2026-01-01'
|
|
68
252
|
},
|
|
69
253
|
capabilities: {
|
|
70
254
|
chat: true,
|
|
@@ -78,16 +262,16 @@ exports.MODELS = {
|
|
|
78
262
|
},
|
|
79
263
|
'gpt-5-chat-latest': {
|
|
80
264
|
id: 'gpt-5-chat-latest',
|
|
81
|
-
name: 'GPT-5 Chat
|
|
265
|
+
name: 'GPT-5 Chat (latest)',
|
|
82
266
|
provider: index_1.AIProvider.OpenAI,
|
|
83
267
|
maxTokens: 128000,
|
|
84
|
-
contextWindow:
|
|
268
|
+
contextWindow: 1050000,
|
|
85
269
|
pricing: {
|
|
86
|
-
prompt: 0
|
|
87
|
-
completion: 0
|
|
88
|
-
unit: providers_1.PricingUnit.
|
|
270
|
+
prompt: 5.0,
|
|
271
|
+
completion: 30.0,
|
|
272
|
+
unit: providers_1.PricingUnit.Per1MTokens,
|
|
89
273
|
currency: 'USD',
|
|
90
|
-
effectiveDate: '
|
|
274
|
+
effectiveDate: '2026-01-01'
|
|
91
275
|
},
|
|
92
276
|
capabilities: {
|
|
93
277
|
chat: true,
|
|
@@ -329,6 +513,75 @@ exports.MODELS = {
|
|
|
329
513
|
streaming: true
|
|
330
514
|
}
|
|
331
515
|
},
|
|
516
|
+
'claude-opus-4-7': {
|
|
517
|
+
id: 'claude-opus-4-7',
|
|
518
|
+
name: 'Claude Opus 4.7',
|
|
519
|
+
provider: index_1.AIProvider.Anthropic,
|
|
520
|
+
maxTokens: 64000,
|
|
521
|
+
contextWindow: 200000,
|
|
522
|
+
pricing: {
|
|
523
|
+
prompt: 5.0,
|
|
524
|
+
completion: 25.0,
|
|
525
|
+
unit: providers_1.PricingUnit.Per1MTokens,
|
|
526
|
+
currency: 'USD',
|
|
527
|
+
effectiveDate: '2026-04-01'
|
|
528
|
+
},
|
|
529
|
+
capabilities: {
|
|
530
|
+
chat: true,
|
|
531
|
+
completion: true,
|
|
532
|
+
embedding: false,
|
|
533
|
+
functionCalling: true,
|
|
534
|
+
vision: true,
|
|
535
|
+
audio: false,
|
|
536
|
+
streaming: true
|
|
537
|
+
}
|
|
538
|
+
},
|
|
539
|
+
'claude-opus-4-6-v1': {
|
|
540
|
+
id: 'claude-opus-4-6-v1',
|
|
541
|
+
name: 'Claude Opus 4.6',
|
|
542
|
+
provider: index_1.AIProvider.Anthropic,
|
|
543
|
+
maxTokens: 64000,
|
|
544
|
+
contextWindow: 200000,
|
|
545
|
+
pricing: {
|
|
546
|
+
prompt: 5.0,
|
|
547
|
+
completion: 25.0,
|
|
548
|
+
unit: providers_1.PricingUnit.Per1MTokens,
|
|
549
|
+
currency: 'USD',
|
|
550
|
+
effectiveDate: '2026-01-01'
|
|
551
|
+
},
|
|
552
|
+
capabilities: {
|
|
553
|
+
chat: true,
|
|
554
|
+
completion: true,
|
|
555
|
+
embedding: false,
|
|
556
|
+
functionCalling: true,
|
|
557
|
+
vision: true,
|
|
558
|
+
audio: false,
|
|
559
|
+
streaming: true
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
'claude-opus-4-6': {
|
|
563
|
+
id: 'claude-opus-4-6',
|
|
564
|
+
name: 'Claude Opus 4.6 (alias)',
|
|
565
|
+
provider: index_1.AIProvider.Anthropic,
|
|
566
|
+
maxTokens: 64000,
|
|
567
|
+
contextWindow: 200000,
|
|
568
|
+
pricing: {
|
|
569
|
+
prompt: 5.0,
|
|
570
|
+
completion: 25.0,
|
|
571
|
+
unit: providers_1.PricingUnit.Per1MTokens,
|
|
572
|
+
currency: 'USD',
|
|
573
|
+
effectiveDate: '2026-01-01'
|
|
574
|
+
},
|
|
575
|
+
capabilities: {
|
|
576
|
+
chat: true,
|
|
577
|
+
completion: true,
|
|
578
|
+
embedding: false,
|
|
579
|
+
functionCalling: true,
|
|
580
|
+
vision: true,
|
|
581
|
+
audio: false,
|
|
582
|
+
streaming: true
|
|
583
|
+
}
|
|
584
|
+
},
|
|
332
585
|
'claude-opus-4-1-20250805': {
|
|
333
586
|
id: 'claude-opus-4-1-20250805',
|
|
334
587
|
name: 'Claude Opus 4.1',
|
|
@@ -559,6 +812,52 @@ exports.MODELS = {
|
|
|
559
812
|
streaming: true
|
|
560
813
|
}
|
|
561
814
|
},
|
|
815
|
+
'anthropic.claude-opus-4-7-v1:0': {
|
|
816
|
+
id: 'anthropic.claude-opus-4-7-v1:0',
|
|
817
|
+
name: 'Claude Opus 4.7 (Bedrock)',
|
|
818
|
+
provider: index_1.AIProvider.AWSBedrock,
|
|
819
|
+
maxTokens: 64000,
|
|
820
|
+
contextWindow: 1000000,
|
|
821
|
+
pricing: {
|
|
822
|
+
prompt: 5.0,
|
|
823
|
+
completion: 25.0,
|
|
824
|
+
unit: providers_1.PricingUnit.Per1MTokens,
|
|
825
|
+
currency: 'USD',
|
|
826
|
+
effectiveDate: '2026-04-01'
|
|
827
|
+
},
|
|
828
|
+
capabilities: {
|
|
829
|
+
chat: true,
|
|
830
|
+
completion: true,
|
|
831
|
+
embedding: false,
|
|
832
|
+
functionCalling: true,
|
|
833
|
+
vision: true,
|
|
834
|
+
audio: false,
|
|
835
|
+
streaming: true
|
|
836
|
+
}
|
|
837
|
+
},
|
|
838
|
+
'anthropic.claude-opus-4-6-v1': {
|
|
839
|
+
id: 'anthropic.claude-opus-4-6-v1',
|
|
840
|
+
name: 'Claude Opus 4.6 (Bedrock)',
|
|
841
|
+
provider: index_1.AIProvider.AWSBedrock,
|
|
842
|
+
maxTokens: 64000,
|
|
843
|
+
contextWindow: 1000000,
|
|
844
|
+
pricing: {
|
|
845
|
+
prompt: 5.0,
|
|
846
|
+
completion: 25.0,
|
|
847
|
+
unit: providers_1.PricingUnit.Per1MTokens,
|
|
848
|
+
currency: 'USD',
|
|
849
|
+
effectiveDate: '2026-01-01'
|
|
850
|
+
},
|
|
851
|
+
capabilities: {
|
|
852
|
+
chat: true,
|
|
853
|
+
completion: true,
|
|
854
|
+
embedding: false,
|
|
855
|
+
functionCalling: true,
|
|
856
|
+
vision: true,
|
|
857
|
+
audio: false,
|
|
858
|
+
streaming: true
|
|
859
|
+
}
|
|
860
|
+
},
|
|
562
861
|
'anthropic.claude-opus-4-1-20250805-v1:0': {
|
|
563
862
|
id: 'anthropic.claude-opus-4-1-20250805-v1:0',
|
|
564
863
|
name: 'Claude Opus 4.1 (Bedrock)',
|
|
@@ -1272,6 +1571,98 @@ exports.MODELS = {
|
|
|
1272
1571
|
streaming: false
|
|
1273
1572
|
}
|
|
1274
1573
|
},
|
|
1574
|
+
'gemini-3-pro-preview': {
|
|
1575
|
+
id: 'gemini-3-pro-preview',
|
|
1576
|
+
name: 'Gemini 3 Pro Preview',
|
|
1577
|
+
provider: index_1.AIProvider.Google,
|
|
1578
|
+
maxTokens: 32000,
|
|
1579
|
+
contextWindow: 2000000,
|
|
1580
|
+
pricing: {
|
|
1581
|
+
prompt: 2.0,
|
|
1582
|
+
completion: 12.0,
|
|
1583
|
+
unit: providers_1.PricingUnit.Per1MTokens,
|
|
1584
|
+
currency: 'USD',
|
|
1585
|
+
effectiveDate: '2026-01-01'
|
|
1586
|
+
},
|
|
1587
|
+
capabilities: {
|
|
1588
|
+
chat: true,
|
|
1589
|
+
completion: true,
|
|
1590
|
+
embedding: false,
|
|
1591
|
+
functionCalling: true,
|
|
1592
|
+
vision: true,
|
|
1593
|
+
audio: true,
|
|
1594
|
+
streaming: true
|
|
1595
|
+
}
|
|
1596
|
+
},
|
|
1597
|
+
'gemini-3-pro-image-preview': {
|
|
1598
|
+
id: 'gemini-3-pro-image-preview',
|
|
1599
|
+
name: 'Gemini 3 Pro Image Preview',
|
|
1600
|
+
provider: index_1.AIProvider.Google,
|
|
1601
|
+
maxTokens: 32000,
|
|
1602
|
+
contextWindow: 2000000,
|
|
1603
|
+
pricing: {
|
|
1604
|
+
prompt: 2.0,
|
|
1605
|
+
completion: 12.0,
|
|
1606
|
+
unit: providers_1.PricingUnit.Per1MTokens,
|
|
1607
|
+
currency: 'USD',
|
|
1608
|
+
effectiveDate: '2026-01-01'
|
|
1609
|
+
},
|
|
1610
|
+
capabilities: {
|
|
1611
|
+
chat: true,
|
|
1612
|
+
completion: true,
|
|
1613
|
+
embedding: false,
|
|
1614
|
+
functionCalling: true,
|
|
1615
|
+
vision: true,
|
|
1616
|
+
audio: false,
|
|
1617
|
+
streaming: true
|
|
1618
|
+
}
|
|
1619
|
+
},
|
|
1620
|
+
'gemini-3-flash-preview': {
|
|
1621
|
+
id: 'gemini-3-flash-preview',
|
|
1622
|
+
name: 'Gemini 3 Flash Preview',
|
|
1623
|
+
provider: index_1.AIProvider.Google,
|
|
1624
|
+
maxTokens: 32000,
|
|
1625
|
+
contextWindow: 1000000,
|
|
1626
|
+
pricing: {
|
|
1627
|
+
prompt: 0.35,
|
|
1628
|
+
completion: 2.8,
|
|
1629
|
+
unit: providers_1.PricingUnit.Per1MTokens,
|
|
1630
|
+
currency: 'USD',
|
|
1631
|
+
effectiveDate: '2026-01-01'
|
|
1632
|
+
},
|
|
1633
|
+
capabilities: {
|
|
1634
|
+
chat: true,
|
|
1635
|
+
completion: true,
|
|
1636
|
+
embedding: false,
|
|
1637
|
+
functionCalling: true,
|
|
1638
|
+
vision: true,
|
|
1639
|
+
audio: true,
|
|
1640
|
+
streaming: true
|
|
1641
|
+
}
|
|
1642
|
+
},
|
|
1643
|
+
'gemini-3.1-pro': {
|
|
1644
|
+
id: 'gemini-3.1-pro',
|
|
1645
|
+
name: 'Gemini 3.1 Pro',
|
|
1646
|
+
provider: index_1.AIProvider.Google,
|
|
1647
|
+
maxTokens: 32000,
|
|
1648
|
+
contextWindow: 2000000,
|
|
1649
|
+
pricing: {
|
|
1650
|
+
prompt: 2.0,
|
|
1651
|
+
completion: 12.0,
|
|
1652
|
+
unit: providers_1.PricingUnit.Per1MTokens,
|
|
1653
|
+
currency: 'USD',
|
|
1654
|
+
effectiveDate: '2026-01-01'
|
|
1655
|
+
},
|
|
1656
|
+
capabilities: {
|
|
1657
|
+
chat: true,
|
|
1658
|
+
completion: true,
|
|
1659
|
+
embedding: false,
|
|
1660
|
+
functionCalling: true,
|
|
1661
|
+
vision: true,
|
|
1662
|
+
audio: true,
|
|
1663
|
+
streaming: true
|
|
1664
|
+
}
|
|
1665
|
+
},
|
|
1275
1666
|
'gemini-2.5-pro': {
|
|
1276
1667
|
id: 'gemini-2.5-pro',
|
|
1277
1668
|
name: 'Gemini 2.5 Pro',
|