@diogonzafe/tokenwatch 0.2.0 → 0.4.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 +260 -15
- package/dist/adapters.cjs +81 -22
- package/dist/adapters.cjs.map +1 -1
- package/dist/adapters.d.cts +9 -3
- package/dist/adapters.d.ts +9 -3
- package/dist/adapters.js +81 -22
- package/dist/adapters.js.map +1 -1
- package/dist/cli.js +469 -50
- package/dist/cli.js.map +1 -1
- package/dist/{index-BQZaFcHQ.d.ts → index-CJKk1hHw.d.cts} +62 -2
- package/dist/{index-BQZaFcHQ.d.cts → index-CJKk1hHw.d.ts} +62 -2
- package/dist/index.cjs +559 -70
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +20 -3
- package/dist/index.d.ts +20 -3
- package/dist/index.js +558 -70
- package/dist/index.js.map +1 -1
- package/dist/langchain.cjs +62 -0
- package/dist/langchain.cjs.map +1 -0
- package/dist/langchain.d.cts +68 -0
- package/dist/langchain.d.ts +68 -0
- package/dist/langchain.js +35 -0
- package/dist/langchain.js.map +1 -0
- package/package.json +11 -3
- package/prices.json +167 -3
- package/dist/cli.cjs +0 -1639
- package/dist/cli.cjs.map +0 -1
- package/dist/cli.d.cts +0 -1
package/prices.json
CHANGED
|
@@ -1,85 +1,108 @@
|
|
|
1
1
|
{
|
|
2
|
-
"updated_at": "2026-04-
|
|
2
|
+
"updated_at": "2026-04-22",
|
|
3
3
|
"source": "https://raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json",
|
|
4
4
|
"models": {
|
|
5
5
|
"gpt-4o": {
|
|
6
6
|
"input": 2.5,
|
|
7
7
|
"output": 10,
|
|
8
|
+
"cachedInput": 1.25,
|
|
8
9
|
"maxInputTokens": 128000
|
|
9
10
|
},
|
|
10
11
|
"gpt-4o-mini": {
|
|
11
12
|
"input": 0.15,
|
|
12
13
|
"output": 0.6,
|
|
14
|
+
"cachedInput": 0.075,
|
|
13
15
|
"maxInputTokens": 128000
|
|
14
16
|
},
|
|
15
17
|
"gpt-5": {
|
|
16
18
|
"input": 1.25,
|
|
17
19
|
"output": 10,
|
|
20
|
+
"cachedInput": 0.125,
|
|
18
21
|
"maxInputTokens": 272000
|
|
19
22
|
},
|
|
20
23
|
"gpt-5-mini": {
|
|
21
24
|
"input": 0.25,
|
|
22
25
|
"output": 2,
|
|
26
|
+
"cachedInput": 0.025,
|
|
23
27
|
"maxInputTokens": 272000
|
|
24
28
|
},
|
|
25
29
|
"gpt-5-nano": {
|
|
26
30
|
"input": 0.05,
|
|
27
31
|
"output": 0.4,
|
|
32
|
+
"cachedInput": 0.005,
|
|
28
33
|
"maxInputTokens": 272000
|
|
29
34
|
},
|
|
30
35
|
"claude-opus-4-6": {
|
|
31
36
|
"input": 5,
|
|
32
37
|
"output": 25,
|
|
38
|
+
"cachedInput": 0.5,
|
|
39
|
+
"cacheCreationInput": 6.25,
|
|
33
40
|
"maxInputTokens": 1000000
|
|
34
41
|
},
|
|
35
42
|
"claude-sonnet-4-6": {
|
|
36
43
|
"input": 3,
|
|
37
44
|
"output": 15,
|
|
45
|
+
"cachedInput": 0.3,
|
|
46
|
+
"cacheCreationInput": 3.75,
|
|
38
47
|
"maxInputTokens": 1000000
|
|
39
48
|
},
|
|
40
49
|
"claude-haiku-4-5": {
|
|
41
50
|
"input": 1,
|
|
42
51
|
"output": 5,
|
|
52
|
+
"cachedInput": 0.1,
|
|
53
|
+
"cacheCreationInput": 1.25,
|
|
43
54
|
"maxInputTokens": 200000
|
|
44
55
|
},
|
|
45
56
|
"gemini-2.5-pro": {
|
|
46
57
|
"input": 1.25,
|
|
47
58
|
"output": 10,
|
|
59
|
+
"cachedInput": 0.125,
|
|
48
60
|
"maxInputTokens": 1048576
|
|
49
61
|
},
|
|
50
62
|
"gemini-2.5-flash": {
|
|
51
63
|
"input": 0.3,
|
|
52
64
|
"output": 2.5,
|
|
65
|
+
"cachedInput": 0.03,
|
|
53
66
|
"maxInputTokens": 1048576
|
|
54
67
|
},
|
|
55
68
|
"deepseek-chat": {
|
|
56
69
|
"input": 0.28,
|
|
57
70
|
"output": 0.42,
|
|
71
|
+
"cachedInput": 0.028,
|
|
58
72
|
"maxInputTokens": 131072
|
|
59
73
|
},
|
|
60
74
|
"deepseek-reasoner": {
|
|
61
75
|
"input": 0.28,
|
|
62
76
|
"output": 0.42,
|
|
77
|
+
"cachedInput": 0.028,
|
|
63
78
|
"maxInputTokens": 131072
|
|
64
79
|
},
|
|
65
80
|
"claude-opus-4-5": {
|
|
66
81
|
"input": 5,
|
|
67
82
|
"output": 25,
|
|
83
|
+
"cachedInput": 0.5,
|
|
84
|
+
"cacheCreationInput": 6.25,
|
|
68
85
|
"maxInputTokens": 200000
|
|
69
86
|
},
|
|
70
87
|
"claude-opus-4-7": {
|
|
71
88
|
"input": 5,
|
|
72
89
|
"output": 25,
|
|
90
|
+
"cachedInput": 0.5,
|
|
91
|
+
"cacheCreationInput": 6.25,
|
|
73
92
|
"maxInputTokens": 1000000
|
|
74
93
|
},
|
|
75
94
|
"claude-opus-4-1": {
|
|
76
95
|
"input": 15,
|
|
77
96
|
"output": 75,
|
|
97
|
+
"cachedInput": 1.5,
|
|
98
|
+
"cacheCreationInput": 18.75,
|
|
78
99
|
"maxInputTokens": 200000
|
|
79
100
|
},
|
|
80
101
|
"claude-sonnet-4-5": {
|
|
81
102
|
"input": 3,
|
|
82
103
|
"output": 15,
|
|
104
|
+
"cachedInput": 0.3,
|
|
105
|
+
"cacheCreationInput": 3.75,
|
|
83
106
|
"maxInputTokens": 200000
|
|
84
107
|
},
|
|
85
108
|
"gpt-oss-120b": {
|
|
@@ -170,36 +193,43 @@
|
|
|
170
193
|
"gpt-4.1": {
|
|
171
194
|
"input": 2,
|
|
172
195
|
"output": 8,
|
|
196
|
+
"cachedInput": 0.5,
|
|
173
197
|
"maxInputTokens": 1047576
|
|
174
198
|
},
|
|
175
199
|
"gpt-4.1-2025-04-14": {
|
|
176
200
|
"input": 2,
|
|
177
201
|
"output": 8,
|
|
202
|
+
"cachedInput": 0.5,
|
|
178
203
|
"maxInputTokens": 1047576
|
|
179
204
|
},
|
|
180
205
|
"gpt-4.1-mini": {
|
|
181
206
|
"input": 0.4,
|
|
182
207
|
"output": 1.6,
|
|
208
|
+
"cachedInput": 0.1,
|
|
183
209
|
"maxInputTokens": 1047576
|
|
184
210
|
},
|
|
185
211
|
"gpt-4.1-mini-2025-04-14": {
|
|
186
212
|
"input": 0.4,
|
|
187
213
|
"output": 1.6,
|
|
214
|
+
"cachedInput": 0.1,
|
|
188
215
|
"maxInputTokens": 1047576
|
|
189
216
|
},
|
|
190
217
|
"gpt-4.1-nano": {
|
|
191
218
|
"input": 0.1,
|
|
192
219
|
"output": 0.4,
|
|
220
|
+
"cachedInput": 0.025,
|
|
193
221
|
"maxInputTokens": 1047576
|
|
194
222
|
},
|
|
195
223
|
"gpt-4.1-nano-2025-04-14": {
|
|
196
224
|
"input": 0.1,
|
|
197
225
|
"output": 0.4,
|
|
226
|
+
"cachedInput": 0.025,
|
|
198
227
|
"maxInputTokens": 1047576
|
|
199
228
|
},
|
|
200
229
|
"gpt-4.5-preview": {
|
|
201
230
|
"input": 75,
|
|
202
231
|
"output": 150,
|
|
232
|
+
"cachedInput": 37.5,
|
|
203
233
|
"maxInputTokens": 128000
|
|
204
234
|
},
|
|
205
235
|
"gpt-4o-2024-05-13": {
|
|
@@ -210,11 +240,13 @@
|
|
|
210
240
|
"gpt-4o-2024-08-06": {
|
|
211
241
|
"input": 2.5,
|
|
212
242
|
"output": 10,
|
|
243
|
+
"cachedInput": 1.25,
|
|
213
244
|
"maxInputTokens": 128000
|
|
214
245
|
},
|
|
215
246
|
"gpt-4o-2024-11-20": {
|
|
216
247
|
"input": 2.5,
|
|
217
248
|
"output": 10,
|
|
249
|
+
"cachedInput": 1.25,
|
|
218
250
|
"maxInputTokens": 128000
|
|
219
251
|
},
|
|
220
252
|
"gpt-audio-2025-08-28": {
|
|
@@ -240,6 +272,7 @@
|
|
|
240
272
|
"gpt-4o-mini-2024-07-18": {
|
|
241
273
|
"input": 0.15,
|
|
242
274
|
"output": 0.6,
|
|
275
|
+
"cachedInput": 0.075,
|
|
243
276
|
"maxInputTokens": 128000
|
|
244
277
|
},
|
|
245
278
|
"gpt-4o-mini-audio-preview-2024-12-17": {
|
|
@@ -250,21 +283,25 @@
|
|
|
250
283
|
"gpt-4o-mini-realtime-preview-2024-12-17": {
|
|
251
284
|
"input": 0.6,
|
|
252
285
|
"output": 2.4,
|
|
286
|
+
"cachedInput": 0.3,
|
|
253
287
|
"maxInputTokens": 128000
|
|
254
288
|
},
|
|
255
289
|
"gpt-realtime-2025-08-28": {
|
|
256
290
|
"input": 4,
|
|
257
291
|
"output": 16,
|
|
292
|
+
"cachedInput": 0.4,
|
|
258
293
|
"maxInputTokens": 32000
|
|
259
294
|
},
|
|
260
295
|
"gpt-realtime-1.5-2026-02-23": {
|
|
261
296
|
"input": 4,
|
|
262
297
|
"output": 16,
|
|
298
|
+
"cachedInput": 4,
|
|
263
299
|
"maxInputTokens": 32000
|
|
264
300
|
},
|
|
265
301
|
"gpt-realtime-mini-2025-10-06": {
|
|
266
302
|
"input": 0.6,
|
|
267
303
|
"output": 2.4,
|
|
304
|
+
"cachedInput": 0.06,
|
|
268
305
|
"maxInputTokens": 128000
|
|
269
306
|
},
|
|
270
307
|
"gpt-4o-mini-transcribe": {
|
|
@@ -275,11 +312,13 @@
|
|
|
275
312
|
"gpt-4o-realtime-preview-2024-10-01": {
|
|
276
313
|
"input": 5,
|
|
277
314
|
"output": 20,
|
|
315
|
+
"cachedInput": 2.5,
|
|
278
316
|
"maxInputTokens": 128000
|
|
279
317
|
},
|
|
280
318
|
"gpt-4o-realtime-preview-2024-12-17": {
|
|
281
319
|
"input": 5,
|
|
282
320
|
"output": 20,
|
|
321
|
+
"cachedInput": 2.5,
|
|
283
322
|
"maxInputTokens": 128000
|
|
284
323
|
},
|
|
285
324
|
"gpt-4o-transcribe": {
|
|
@@ -295,51 +334,61 @@
|
|
|
295
334
|
"gpt-5.1-2025-11-13": {
|
|
296
335
|
"input": 1.25,
|
|
297
336
|
"output": 10,
|
|
337
|
+
"cachedInput": 0.125,
|
|
298
338
|
"maxInputTokens": 272000
|
|
299
339
|
},
|
|
300
340
|
"gpt-5.1-chat-2025-11-13": {
|
|
301
341
|
"input": 1.25,
|
|
302
342
|
"output": 10,
|
|
343
|
+
"cachedInput": 0.125,
|
|
303
344
|
"maxInputTokens": 128000
|
|
304
345
|
},
|
|
305
346
|
"gpt-5.1-codex-2025-11-13": {
|
|
306
347
|
"input": 1.25,
|
|
307
348
|
"output": 10,
|
|
349
|
+
"cachedInput": 0.125,
|
|
308
350
|
"maxInputTokens": 272000
|
|
309
351
|
},
|
|
310
352
|
"gpt-5.1-codex-mini-2025-11-13": {
|
|
311
353
|
"input": 0.25,
|
|
312
354
|
"output": 2,
|
|
355
|
+
"cachedInput": 0.025,
|
|
313
356
|
"maxInputTokens": 272000
|
|
314
357
|
},
|
|
315
358
|
"gpt-5-2025-08-07": {
|
|
316
359
|
"input": 1.25,
|
|
317
360
|
"output": 10,
|
|
361
|
+
"cachedInput": 0.125,
|
|
318
362
|
"maxInputTokens": 272000
|
|
319
363
|
},
|
|
320
364
|
"gpt-5-chat": {
|
|
321
365
|
"input": 1.25,
|
|
322
366
|
"output": 10,
|
|
367
|
+
"cachedInput": 0.125,
|
|
323
368
|
"maxInputTokens": 128000
|
|
324
369
|
},
|
|
325
370
|
"gpt-5-chat-latest": {
|
|
326
371
|
"input": 1.25,
|
|
327
372
|
"output": 10,
|
|
373
|
+
"cachedInput": 0.125,
|
|
328
374
|
"maxInputTokens": 128000
|
|
329
375
|
},
|
|
330
376
|
"gpt-5-codex": {
|
|
331
377
|
"input": 1.25,
|
|
332
378
|
"output": 10,
|
|
379
|
+
"cachedInput": 0.125,
|
|
333
380
|
"maxInputTokens": 272000
|
|
334
381
|
},
|
|
335
382
|
"gpt-5-mini-2025-08-07": {
|
|
336
383
|
"input": 0.25,
|
|
337
384
|
"output": 2,
|
|
385
|
+
"cachedInput": 0.025,
|
|
338
386
|
"maxInputTokens": 272000
|
|
339
387
|
},
|
|
340
388
|
"gpt-5-nano-2025-08-07": {
|
|
341
389
|
"input": 0.05,
|
|
342
390
|
"output": 0.4,
|
|
391
|
+
"cachedInput": 0.005,
|
|
343
392
|
"maxInputTokens": 272000
|
|
344
393
|
},
|
|
345
394
|
"gpt-5-pro": {
|
|
@@ -350,61 +399,73 @@
|
|
|
350
399
|
"gpt-5.1": {
|
|
351
400
|
"input": 1.25,
|
|
352
401
|
"output": 10,
|
|
402
|
+
"cachedInput": 0.125,
|
|
353
403
|
"maxInputTokens": 272000
|
|
354
404
|
},
|
|
355
405
|
"gpt-5.1-chat": {
|
|
356
406
|
"input": 1.25,
|
|
357
407
|
"output": 10,
|
|
408
|
+
"cachedInput": 0.125,
|
|
358
409
|
"maxInputTokens": 128000
|
|
359
410
|
},
|
|
360
411
|
"gpt-5.1-codex": {
|
|
361
412
|
"input": 1.25,
|
|
362
413
|
"output": 10,
|
|
414
|
+
"cachedInput": 0.125,
|
|
363
415
|
"maxInputTokens": 272000
|
|
364
416
|
},
|
|
365
417
|
"gpt-5.1-codex-max": {
|
|
366
418
|
"input": 1.25,
|
|
367
419
|
"output": 10,
|
|
420
|
+
"cachedInput": 0.125,
|
|
368
421
|
"maxInputTokens": 272000
|
|
369
422
|
},
|
|
370
423
|
"gpt-5.1-codex-mini": {
|
|
371
424
|
"input": 0.25,
|
|
372
425
|
"output": 2,
|
|
426
|
+
"cachedInput": 0.025,
|
|
373
427
|
"maxInputTokens": 272000
|
|
374
428
|
},
|
|
375
429
|
"gpt-5.2": {
|
|
376
430
|
"input": 1.75,
|
|
377
431
|
"output": 14,
|
|
432
|
+
"cachedInput": 0.175,
|
|
378
433
|
"maxInputTokens": 272000
|
|
379
434
|
},
|
|
380
435
|
"gpt-5.2-2025-12-11": {
|
|
381
436
|
"input": 1.75,
|
|
382
437
|
"output": 14,
|
|
438
|
+
"cachedInput": 0.175,
|
|
383
439
|
"maxInputTokens": 272000
|
|
384
440
|
},
|
|
385
441
|
"gpt-5.2-chat": {
|
|
386
442
|
"input": 1.75,
|
|
387
443
|
"output": 14,
|
|
444
|
+
"cachedInput": 0.175,
|
|
388
445
|
"maxInputTokens": 128000
|
|
389
446
|
},
|
|
390
447
|
"gpt-5.2-chat-2025-12-11": {
|
|
391
448
|
"input": 1.75,
|
|
392
449
|
"output": 14,
|
|
450
|
+
"cachedInput": 0.175,
|
|
393
451
|
"maxInputTokens": 128000
|
|
394
452
|
},
|
|
395
453
|
"gpt-5.2-codex": {
|
|
396
454
|
"input": 1.75,
|
|
397
455
|
"output": 14,
|
|
456
|
+
"cachedInput": 0.175,
|
|
398
457
|
"maxInputTokens": 272000
|
|
399
458
|
},
|
|
400
459
|
"gpt-5.3-chat": {
|
|
401
460
|
"input": 1.75,
|
|
402
461
|
"output": 14,
|
|
462
|
+
"cachedInput": 0.175,
|
|
403
463
|
"maxInputTokens": 128000
|
|
404
464
|
},
|
|
405
465
|
"gpt-5.3-codex": {
|
|
406
466
|
"input": 1.75,
|
|
407
467
|
"output": 14,
|
|
468
|
+
"cachedInput": 0.175,
|
|
408
469
|
"maxInputTokens": 272000
|
|
409
470
|
},
|
|
410
471
|
"gpt-5.2-pro": {
|
|
@@ -420,71 +481,85 @@
|
|
|
420
481
|
"gpt-5.4": {
|
|
421
482
|
"input": 2.5,
|
|
422
483
|
"output": 15,
|
|
484
|
+
"cachedInput": 0.25,
|
|
423
485
|
"maxInputTokens": 1050000
|
|
424
486
|
},
|
|
425
487
|
"gpt-5.4-2026-03-05": {
|
|
426
488
|
"input": 2.5,
|
|
427
489
|
"output": 15,
|
|
490
|
+
"cachedInput": 0.25,
|
|
428
491
|
"maxInputTokens": 1050000
|
|
429
492
|
},
|
|
430
493
|
"gpt-5.4-pro": {
|
|
431
494
|
"input": 30,
|
|
432
495
|
"output": 180,
|
|
496
|
+
"cachedInput": 3,
|
|
433
497
|
"maxInputTokens": 1050000
|
|
434
498
|
},
|
|
435
499
|
"gpt-5.4-pro-2026-03-05": {
|
|
436
500
|
"input": 30,
|
|
437
501
|
"output": 180,
|
|
502
|
+
"cachedInput": 3,
|
|
438
503
|
"maxInputTokens": 1050000
|
|
439
504
|
},
|
|
440
505
|
"gpt-5.4-mini": {
|
|
441
506
|
"input": 0.75,
|
|
442
507
|
"output": 4.5,
|
|
508
|
+
"cachedInput": 0.075,
|
|
443
509
|
"maxInputTokens": 272000
|
|
444
510
|
},
|
|
445
511
|
"gpt-5.4-nano": {
|
|
446
512
|
"input": 0.2,
|
|
447
513
|
"output": 1.25,
|
|
514
|
+
"cachedInput": 0.02,
|
|
448
515
|
"maxInputTokens": 272000
|
|
449
516
|
},
|
|
450
517
|
"o1-2024-12-17": {
|
|
451
518
|
"input": 15,
|
|
452
519
|
"output": 60,
|
|
520
|
+
"cachedInput": 7.5,
|
|
453
521
|
"maxInputTokens": 200000
|
|
454
522
|
},
|
|
455
523
|
"o1-mini": {
|
|
456
524
|
"input": 1.21,
|
|
457
525
|
"output": 4.84,
|
|
526
|
+
"cachedInput": 0.605,
|
|
458
527
|
"maxInputTokens": 128000
|
|
459
528
|
},
|
|
460
529
|
"o1-mini-2024-09-12": {
|
|
461
530
|
"input": 1.1,
|
|
462
531
|
"output": 4.4,
|
|
532
|
+
"cachedInput": 0.55,
|
|
463
533
|
"maxInputTokens": 128000
|
|
464
534
|
},
|
|
465
535
|
"o1-preview": {
|
|
466
536
|
"input": 15,
|
|
467
537
|
"output": 60,
|
|
538
|
+
"cachedInput": 7.5,
|
|
468
539
|
"maxInputTokens": 128000
|
|
469
540
|
},
|
|
470
541
|
"o1-preview-2024-09-12": {
|
|
471
542
|
"input": 15,
|
|
472
543
|
"output": 60,
|
|
544
|
+
"cachedInput": 7.5,
|
|
473
545
|
"maxInputTokens": 128000
|
|
474
546
|
},
|
|
475
547
|
"o3-2025-04-16": {
|
|
476
548
|
"input": 2,
|
|
477
549
|
"output": 8,
|
|
550
|
+
"cachedInput": 0.5,
|
|
478
551
|
"maxInputTokens": 200000
|
|
479
552
|
},
|
|
480
553
|
"o3-mini": {
|
|
481
554
|
"input": 1.1,
|
|
482
555
|
"output": 4.4,
|
|
556
|
+
"cachedInput": 0.55,
|
|
483
557
|
"maxInputTokens": 200000
|
|
484
558
|
},
|
|
485
559
|
"o3-mini-2025-01-31": {
|
|
486
560
|
"input": 1.1,
|
|
487
561
|
"output": 4.4,
|
|
562
|
+
"cachedInput": 0.55,
|
|
488
563
|
"maxInputTokens": 200000
|
|
489
564
|
},
|
|
490
565
|
"o3-pro": {
|
|
@@ -500,11 +575,13 @@
|
|
|
500
575
|
"o4-mini": {
|
|
501
576
|
"input": 1.1,
|
|
502
577
|
"output": 4.4,
|
|
578
|
+
"cachedInput": 0.275,
|
|
503
579
|
"maxInputTokens": 200000
|
|
504
580
|
},
|
|
505
581
|
"o4-mini-2025-04-16": {
|
|
506
582
|
"input": 1.1,
|
|
507
583
|
"output": 4.4,
|
|
584
|
+
"cachedInput": 0.275,
|
|
508
585
|
"maxInputTokens": 200000
|
|
509
586
|
},
|
|
510
587
|
"deepseek-v3.2": {
|
|
@@ -525,6 +602,7 @@
|
|
|
525
602
|
"deepseek-v3": {
|
|
526
603
|
"input": 0.27,
|
|
527
604
|
"output": 1.1,
|
|
605
|
+
"cachedInput": 0.07,
|
|
528
606
|
"maxInputTokens": 65536
|
|
529
607
|
},
|
|
530
608
|
"deepseek-v3-0324": {
|
|
@@ -540,76 +618,105 @@
|
|
|
540
618
|
"claude-haiku-4-5-20251001": {
|
|
541
619
|
"input": 1,
|
|
542
620
|
"output": 5,
|
|
621
|
+
"cachedInput": 0.1,
|
|
622
|
+
"cacheCreationInput": 1.25,
|
|
543
623
|
"maxInputTokens": 200000
|
|
544
624
|
},
|
|
545
625
|
"claude-3-7-sonnet-20250219": {
|
|
546
626
|
"input": 3,
|
|
547
627
|
"output": 15,
|
|
628
|
+
"cachedInput": 0.3,
|
|
629
|
+
"cacheCreationInput": 3.75,
|
|
548
630
|
"maxInputTokens": 200000
|
|
549
631
|
},
|
|
550
632
|
"claude-3-haiku-20240307": {
|
|
551
633
|
"input": 0.25,
|
|
552
634
|
"output": 1.25,
|
|
635
|
+
"cachedInput": 0.03,
|
|
636
|
+
"cacheCreationInput": 0.3,
|
|
553
637
|
"maxInputTokens": 200000
|
|
554
638
|
},
|
|
555
639
|
"claude-3-opus-20240229": {
|
|
556
640
|
"input": 15,
|
|
557
641
|
"output": 75,
|
|
642
|
+
"cachedInput": 1.5,
|
|
643
|
+
"cacheCreationInput": 18.75,
|
|
558
644
|
"maxInputTokens": 200000
|
|
559
645
|
},
|
|
560
646
|
"claude-4-opus-20250514": {
|
|
561
647
|
"input": 15,
|
|
562
648
|
"output": 75,
|
|
649
|
+
"cachedInput": 1.5,
|
|
650
|
+
"cacheCreationInput": 18.75,
|
|
563
651
|
"maxInputTokens": 200000
|
|
564
652
|
},
|
|
565
653
|
"claude-4-sonnet-20250514": {
|
|
566
654
|
"input": 3,
|
|
567
655
|
"output": 15,
|
|
656
|
+
"cachedInput": 0.3,
|
|
657
|
+
"cacheCreationInput": 3.75,
|
|
568
658
|
"maxInputTokens": 1000000
|
|
569
659
|
},
|
|
570
660
|
"claude-sonnet-4-5-20250929": {
|
|
571
661
|
"input": 3,
|
|
572
662
|
"output": 15,
|
|
663
|
+
"cachedInput": 0.3,
|
|
664
|
+
"cacheCreationInput": 3.75,
|
|
573
665
|
"maxInputTokens": 200000
|
|
574
666
|
},
|
|
575
667
|
"claude-sonnet-4-5-20250929-v1:0": {
|
|
576
668
|
"input": 3,
|
|
577
669
|
"output": 15,
|
|
670
|
+
"cachedInput": 0.3,
|
|
671
|
+
"cacheCreationInput": 3.75,
|
|
578
672
|
"maxInputTokens": 200000
|
|
579
673
|
},
|
|
580
674
|
"claude-opus-4-1-20250805": {
|
|
581
675
|
"input": 15,
|
|
582
676
|
"output": 75,
|
|
677
|
+
"cachedInput": 1.5,
|
|
678
|
+
"cacheCreationInput": 18.75,
|
|
583
679
|
"maxInputTokens": 200000
|
|
584
680
|
},
|
|
585
681
|
"claude-opus-4-20250514": {
|
|
586
682
|
"input": 15,
|
|
587
683
|
"output": 75,
|
|
684
|
+
"cachedInput": 1.5,
|
|
685
|
+
"cacheCreationInput": 18.75,
|
|
588
686
|
"maxInputTokens": 200000
|
|
589
687
|
},
|
|
590
688
|
"claude-opus-4-5-20251101": {
|
|
591
689
|
"input": 5,
|
|
592
690
|
"output": 25,
|
|
691
|
+
"cachedInput": 0.5,
|
|
692
|
+
"cacheCreationInput": 6.25,
|
|
593
693
|
"maxInputTokens": 200000
|
|
594
694
|
},
|
|
595
695
|
"claude-opus-4-6-20260205": {
|
|
596
696
|
"input": 5,
|
|
597
697
|
"output": 25,
|
|
698
|
+
"cachedInput": 0.5,
|
|
699
|
+
"cacheCreationInput": 6.25,
|
|
598
700
|
"maxInputTokens": 1000000
|
|
599
701
|
},
|
|
600
702
|
"claude-opus-4-7-20260416": {
|
|
601
703
|
"input": 5,
|
|
602
704
|
"output": 25,
|
|
705
|
+
"cachedInput": 0.5,
|
|
706
|
+
"cacheCreationInput": 6.25,
|
|
603
707
|
"maxInputTokens": 1000000
|
|
604
708
|
},
|
|
605
709
|
"claude-sonnet-4-20250514": {
|
|
606
710
|
"input": 3,
|
|
607
711
|
"output": 15,
|
|
712
|
+
"cachedInput": 0.3,
|
|
713
|
+
"cacheCreationInput": 3.75,
|
|
608
714
|
"maxInputTokens": 1000000
|
|
609
715
|
},
|
|
610
716
|
"codex-mini-latest": {
|
|
611
717
|
"input": 1.5,
|
|
612
718
|
"output": 6,
|
|
719
|
+
"cachedInput": 0.375,
|
|
613
720
|
"maxInputTokens": 200000
|
|
614
721
|
},
|
|
615
722
|
"deepseek-ai/deepseek-r1": {
|
|
@@ -659,6 +766,7 @@
|
|
|
659
766
|
"deepseek-ai/deepseek-v3.1-terminus": {
|
|
660
767
|
"input": 0.27,
|
|
661
768
|
"output": 1,
|
|
769
|
+
"cachedInput": 0.216,
|
|
662
770
|
"maxInputTokens": 163840
|
|
663
771
|
},
|
|
664
772
|
"deepseek-coder": {
|
|
@@ -669,26 +777,31 @@
|
|
|
669
777
|
"gemini-2.0-flash": {
|
|
670
778
|
"input": 0.1,
|
|
671
779
|
"output": 0.4,
|
|
780
|
+
"cachedInput": 0.025,
|
|
672
781
|
"maxInputTokens": 1048576
|
|
673
782
|
},
|
|
674
783
|
"gemini-2.0-flash-001": {
|
|
675
784
|
"input": 0.1,
|
|
676
785
|
"output": 0.4,
|
|
786
|
+
"cachedInput": 0.025,
|
|
677
787
|
"maxInputTokens": 1048576
|
|
678
788
|
},
|
|
679
789
|
"gemini-2.0-flash-lite": {
|
|
680
790
|
"input": 0.075,
|
|
681
791
|
"output": 0.3,
|
|
792
|
+
"cachedInput": 0.01875,
|
|
682
793
|
"maxInputTokens": 1048576
|
|
683
794
|
},
|
|
684
795
|
"gemini-2.0-flash-lite-001": {
|
|
685
796
|
"input": 0.075,
|
|
686
797
|
"output": 0.3,
|
|
798
|
+
"cachedInput": 0.01875,
|
|
687
799
|
"maxInputTokens": 1048576
|
|
688
800
|
},
|
|
689
801
|
"gemini-2.5-flash-image": {
|
|
690
802
|
"input": 0.3,
|
|
691
803
|
"output": 2.5,
|
|
804
|
+
"cachedInput": 0.03,
|
|
692
805
|
"maxInputTokens": 32768
|
|
693
806
|
},
|
|
694
807
|
"gemini-3-pro-image-preview": {
|
|
@@ -704,51 +817,61 @@
|
|
|
704
817
|
"gemini-3.1-flash-lite-preview": {
|
|
705
818
|
"input": 0.25,
|
|
706
819
|
"output": 1.5,
|
|
820
|
+
"cachedInput": 0.025,
|
|
707
821
|
"maxInputTokens": 1048576
|
|
708
822
|
},
|
|
709
823
|
"gemini-2.5-flash-lite": {
|
|
710
824
|
"input": 0.1,
|
|
711
825
|
"output": 0.4,
|
|
826
|
+
"cachedInput": 0.01,
|
|
712
827
|
"maxInputTokens": 1048576
|
|
713
828
|
},
|
|
714
829
|
"gemini-2.5-flash-lite-preview-09-2025": {
|
|
715
830
|
"input": 0.1,
|
|
716
831
|
"output": 0.4,
|
|
832
|
+
"cachedInput": 0.01,
|
|
717
833
|
"maxInputTokens": 1048576
|
|
718
834
|
},
|
|
719
835
|
"gemini-2.5-flash-preview-09-2025": {
|
|
720
836
|
"input": 0.3,
|
|
721
837
|
"output": 2.5,
|
|
838
|
+
"cachedInput": 0.075,
|
|
722
839
|
"maxInputTokens": 1048576
|
|
723
840
|
},
|
|
724
841
|
"gemini-live-2.5-flash-preview-native-audio-09-2025": {
|
|
725
842
|
"input": 0.3,
|
|
726
843
|
"output": 2,
|
|
844
|
+
"cachedInput": 0.075,
|
|
727
845
|
"maxInputTokens": 1048576
|
|
728
846
|
},
|
|
729
847
|
"gemini-2.5-flash-lite-preview-06-17": {
|
|
730
848
|
"input": 0.1,
|
|
731
849
|
"output": 0.4,
|
|
850
|
+
"cachedInput": 0.025,
|
|
732
851
|
"maxInputTokens": 1048576
|
|
733
852
|
},
|
|
734
853
|
"gemini-3-pro-preview": {
|
|
735
854
|
"input": 2,
|
|
736
855
|
"output": 12,
|
|
856
|
+
"cachedInput": 0.2,
|
|
737
857
|
"maxInputTokens": 1048576
|
|
738
858
|
},
|
|
739
859
|
"gemini-3.1-pro-preview": {
|
|
740
860
|
"input": 2,
|
|
741
861
|
"output": 12,
|
|
862
|
+
"cachedInput": 0.2,
|
|
742
863
|
"maxInputTokens": 1048576
|
|
743
864
|
},
|
|
744
865
|
"gemini-3.1-pro-preview-customtools": {
|
|
745
866
|
"input": 2,
|
|
746
867
|
"output": 12,
|
|
868
|
+
"cachedInput": 0.2,
|
|
747
869
|
"maxInputTokens": 1048576
|
|
748
870
|
},
|
|
749
871
|
"gemini-3-flash-preview": {
|
|
750
872
|
"input": 0.5,
|
|
751
873
|
"output": 3,
|
|
874
|
+
"cachedInput": 0.05,
|
|
752
875
|
"maxInputTokens": 1048576
|
|
753
876
|
},
|
|
754
877
|
"gemini-robotics-er-1.5-preview": {
|
|
@@ -764,11 +887,13 @@
|
|
|
764
887
|
"gemini-flash-latest": {
|
|
765
888
|
"input": 0.3,
|
|
766
889
|
"output": 2.5,
|
|
890
|
+
"cachedInput": 0.03,
|
|
767
891
|
"maxInputTokens": 1048576
|
|
768
892
|
},
|
|
769
893
|
"gemini-flash-lite-latest": {
|
|
770
894
|
"input": 0.1,
|
|
771
895
|
"output": 0.4,
|
|
896
|
+
"cachedInput": 0.01,
|
|
772
897
|
"maxInputTokens": 1048576
|
|
773
898
|
},
|
|
774
899
|
"gemini-gemma-2-27b-it": {
|
|
@@ -844,39 +969,47 @@
|
|
|
844
969
|
"gpt-4o-mini-realtime-preview": {
|
|
845
970
|
"input": 0.6,
|
|
846
971
|
"output": 2.4,
|
|
972
|
+
"cachedInput": 0.3,
|
|
847
973
|
"maxInputTokens": 128000
|
|
848
974
|
},
|
|
849
975
|
"gpt-4o-realtime-preview": {
|
|
850
976
|
"input": 5,
|
|
851
977
|
"output": 20,
|
|
978
|
+
"cachedInput": 2.5,
|
|
852
979
|
"maxInputTokens": 128000
|
|
853
980
|
},
|
|
854
981
|
"gpt-4o-realtime-preview-2025-06-03": {
|
|
855
982
|
"input": 5,
|
|
856
983
|
"output": 20,
|
|
984
|
+
"cachedInput": 2.5,
|
|
857
985
|
"maxInputTokens": 128000
|
|
858
986
|
},
|
|
859
987
|
"gpt-image-1.5": {
|
|
860
988
|
"input": 5,
|
|
861
|
-
"output": 10
|
|
989
|
+
"output": 10,
|
|
990
|
+
"cachedInput": 1.25
|
|
862
991
|
},
|
|
863
992
|
"gpt-image-1.5-2025-12-16": {
|
|
864
993
|
"input": 5,
|
|
865
|
-
"output": 10
|
|
994
|
+
"output": 10,
|
|
995
|
+
"cachedInput": 1.25
|
|
866
996
|
},
|
|
867
997
|
"gpt-5.1-chat-latest": {
|
|
868
998
|
"input": 1.25,
|
|
869
999
|
"output": 10,
|
|
1000
|
+
"cachedInput": 0.125,
|
|
870
1001
|
"maxInputTokens": 128000
|
|
871
1002
|
},
|
|
872
1003
|
"gpt-5.2-chat-latest": {
|
|
873
1004
|
"input": 1.75,
|
|
874
1005
|
"output": 14,
|
|
1006
|
+
"cachedInput": 0.175,
|
|
875
1007
|
"maxInputTokens": 128000
|
|
876
1008
|
},
|
|
877
1009
|
"gpt-5.3-chat-latest": {
|
|
878
1010
|
"input": 1.75,
|
|
879
1011
|
"output": 14,
|
|
1012
|
+
"cachedInput": 0.175,
|
|
880
1013
|
"maxInputTokens": 128000
|
|
881
1014
|
},
|
|
882
1015
|
"gpt-5-pro-2025-10-06": {
|
|
@@ -887,11 +1020,13 @@
|
|
|
887
1020
|
"gpt-realtime": {
|
|
888
1021
|
"input": 4,
|
|
889
1022
|
"output": 16,
|
|
1023
|
+
"cachedInput": 0.4,
|
|
890
1024
|
"maxInputTokens": 32000
|
|
891
1025
|
},
|
|
892
1026
|
"gpt-realtime-1.5": {
|
|
893
1027
|
"input": 4,
|
|
894
1028
|
"output": 16,
|
|
1029
|
+
"cachedInput": 0.4,
|
|
895
1030
|
"maxInputTokens": 32000
|
|
896
1031
|
},
|
|
897
1032
|
"gpt-realtime-mini": {
|
|
@@ -938,6 +1073,7 @@
|
|
|
938
1073
|
"o1": {
|
|
939
1074
|
"input": 15,
|
|
940
1075
|
"output": 60,
|
|
1076
|
+
"cachedInput": 7.5,
|
|
941
1077
|
"maxInputTokens": 200000
|
|
942
1078
|
},
|
|
943
1079
|
"o1-pro": {
|
|
@@ -953,6 +1089,7 @@
|
|
|
953
1089
|
"o3": {
|
|
954
1090
|
"input": 2,
|
|
955
1091
|
"output": 8,
|
|
1092
|
+
"cachedInput": 0.5,
|
|
956
1093
|
"maxInputTokens": 200000
|
|
957
1094
|
},
|
|
958
1095
|
"gpt-oss-20b": {
|
|
@@ -977,6 +1114,8 @@
|
|
|
977
1114
|
"claude-haiku-4-5@20251001": {
|
|
978
1115
|
"input": 1,
|
|
979
1116
|
"output": 5,
|
|
1117
|
+
"cachedInput": 0.1,
|
|
1118
|
+
"cacheCreationInput": 1.25,
|
|
980
1119
|
"maxInputTokens": 200000
|
|
981
1120
|
},
|
|
982
1121
|
"claude-3-5-sonnet": {
|
|
@@ -992,6 +1131,8 @@
|
|
|
992
1131
|
"claude-3-7-sonnet@20250219": {
|
|
993
1132
|
"input": 3,
|
|
994
1133
|
"output": 15,
|
|
1134
|
+
"cachedInput": 0.3,
|
|
1135
|
+
"cacheCreationInput": 3.75,
|
|
995
1136
|
"maxInputTokens": 200000
|
|
996
1137
|
},
|
|
997
1138
|
"claude-3-haiku": {
|
|
@@ -1027,46 +1168,64 @@
|
|
|
1027
1168
|
"claude-opus-4": {
|
|
1028
1169
|
"input": 15,
|
|
1029
1170
|
"output": 75,
|
|
1171
|
+
"cachedInput": 1.5,
|
|
1172
|
+
"cacheCreationInput": 18.75,
|
|
1030
1173
|
"maxInputTokens": 200000
|
|
1031
1174
|
},
|
|
1032
1175
|
"claude-opus-4-1@20250805": {
|
|
1033
1176
|
"input": 15,
|
|
1034
1177
|
"output": 75,
|
|
1178
|
+
"cachedInput": 1.5,
|
|
1179
|
+
"cacheCreationInput": 18.75,
|
|
1035
1180
|
"maxInputTokens": 200000
|
|
1036
1181
|
},
|
|
1037
1182
|
"claude-opus-4-5@20251101": {
|
|
1038
1183
|
"input": 5,
|
|
1039
1184
|
"output": 25,
|
|
1185
|
+
"cachedInput": 0.5,
|
|
1186
|
+
"cacheCreationInput": 6.25,
|
|
1040
1187
|
"maxInputTokens": 200000
|
|
1041
1188
|
},
|
|
1042
1189
|
"claude-opus-4-6@default": {
|
|
1043
1190
|
"input": 5,
|
|
1044
1191
|
"output": 25,
|
|
1192
|
+
"cachedInput": 0.5,
|
|
1193
|
+
"cacheCreationInput": 6.25,
|
|
1045
1194
|
"maxInputTokens": 1000000
|
|
1046
1195
|
},
|
|
1047
1196
|
"claude-opus-4-7@default": {
|
|
1048
1197
|
"input": 5,
|
|
1049
1198
|
"output": 25,
|
|
1199
|
+
"cachedInput": 0.5,
|
|
1200
|
+
"cacheCreationInput": 6.25,
|
|
1050
1201
|
"maxInputTokens": 1000000
|
|
1051
1202
|
},
|
|
1052
1203
|
"claude-sonnet-4-5@20250929": {
|
|
1053
1204
|
"input": 3,
|
|
1054
1205
|
"output": 15,
|
|
1206
|
+
"cachedInput": 0.3,
|
|
1207
|
+
"cacheCreationInput": 3.75,
|
|
1055
1208
|
"maxInputTokens": 200000
|
|
1056
1209
|
},
|
|
1057
1210
|
"claude-opus-4@20250514": {
|
|
1058
1211
|
"input": 15,
|
|
1059
1212
|
"output": 75,
|
|
1213
|
+
"cachedInput": 1.5,
|
|
1214
|
+
"cacheCreationInput": 18.75,
|
|
1060
1215
|
"maxInputTokens": 200000
|
|
1061
1216
|
},
|
|
1062
1217
|
"claude-sonnet-4": {
|
|
1063
1218
|
"input": 3,
|
|
1064
1219
|
"output": 15,
|
|
1220
|
+
"cachedInput": 0.3,
|
|
1221
|
+
"cacheCreationInput": 3.75,
|
|
1065
1222
|
"maxInputTokens": 1000000
|
|
1066
1223
|
},
|
|
1067
1224
|
"claude-sonnet-4@20250514": {
|
|
1068
1225
|
"input": 3,
|
|
1069
1226
|
"output": 15,
|
|
1227
|
+
"cachedInput": 0.3,
|
|
1228
|
+
"cacheCreationInput": 3.75,
|
|
1070
1229
|
"maxInputTokens": 1000000
|
|
1071
1230
|
},
|
|
1072
1231
|
"deepseek-ai/deepseek-v3.1-maas": {
|
|
@@ -1116,6 +1275,7 @@
|
|
|
1116
1275
|
"gpt-realtime-mini-2025-12-15": {
|
|
1117
1276
|
"input": 0.6,
|
|
1118
1277
|
"output": 2.4,
|
|
1278
|
+
"cachedInput": 0.06,
|
|
1119
1279
|
"maxInputTokens": 128000
|
|
1120
1280
|
},
|
|
1121
1281
|
"gemini-2.5-flash-native-audio-latest": {
|
|
@@ -1141,16 +1301,20 @@
|
|
|
1141
1301
|
"gemini-pro-latest": {
|
|
1142
1302
|
"input": 1.25,
|
|
1143
1303
|
"output": 10,
|
|
1304
|
+
"cachedInput": 0.125,
|
|
1144
1305
|
"maxInputTokens": 1048576
|
|
1145
1306
|
},
|
|
1146
1307
|
"gemini-exp-1206": {
|
|
1147
1308
|
"input": 0.3,
|
|
1148
1309
|
"output": 2.5,
|
|
1310
|
+
"cachedInput": 0.03,
|
|
1149
1311
|
"maxInputTokens": 1048576
|
|
1150
1312
|
},
|
|
1151
1313
|
"claude-sonnet-4-6@default": {
|
|
1152
1314
|
"input": 3,
|
|
1153
1315
|
"output": 15,
|
|
1316
|
+
"cachedInput": 0.3,
|
|
1317
|
+
"cacheCreationInput": 3.75,
|
|
1154
1318
|
"maxInputTokens": 1000000
|
|
1155
1319
|
}
|
|
1156
1320
|
}
|