mycode-sdk 0.11.1__tar.gz → 0.11.2__tar.gz

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.
Files changed (23) hide show
  1. {mycode_sdk-0.11.1 → mycode_sdk-0.11.2}/PKG-INFO +1 -1
  2. {mycode_sdk-0.11.1 → mycode_sdk-0.11.2}/pyproject.toml +1 -1
  3. {mycode_sdk-0.11.1 → mycode_sdk-0.11.2}/src/mycode/models_catalog.json +245 -161
  4. {mycode_sdk-0.11.1 → mycode_sdk-0.11.2}/src/mycode/providers/anthropic_like.py +3 -3
  5. {mycode_sdk-0.11.1 → mycode_sdk-0.11.2}/src/mycode/providers/gemini.py +1 -1
  6. {mycode_sdk-0.11.1 → mycode_sdk-0.11.2}/.gitignore +0 -0
  7. {mycode_sdk-0.11.1 → mycode_sdk-0.11.2}/LICENSE +0 -0
  8. {mycode_sdk-0.11.1 → mycode_sdk-0.11.2}/README.md +0 -0
  9. {mycode_sdk-0.11.1 → mycode_sdk-0.11.2}/src/mycode/__init__.py +0 -0
  10. {mycode_sdk-0.11.1 → mycode_sdk-0.11.2}/src/mycode/agent.py +0 -0
  11. {mycode_sdk-0.11.1 → mycode_sdk-0.11.2}/src/mycode/attachments.py +0 -0
  12. {mycode_sdk-0.11.1 → mycode_sdk-0.11.2}/src/mycode/compact.py +0 -0
  13. {mycode_sdk-0.11.1 → mycode_sdk-0.11.2}/src/mycode/hooks.py +0 -0
  14. {mycode_sdk-0.11.1 → mycode_sdk-0.11.2}/src/mycode/messages.py +0 -0
  15. {mycode_sdk-0.11.1 → mycode_sdk-0.11.2}/src/mycode/models.py +0 -0
  16. {mycode_sdk-0.11.1 → mycode_sdk-0.11.2}/src/mycode/providers/__init__.py +0 -0
  17. {mycode_sdk-0.11.1 → mycode_sdk-0.11.2}/src/mycode/providers/base.py +0 -0
  18. {mycode_sdk-0.11.1 → mycode_sdk-0.11.2}/src/mycode/providers/openai_chat.py +0 -0
  19. {mycode_sdk-0.11.1 → mycode_sdk-0.11.2}/src/mycode/providers/openai_responses.py +0 -0
  20. {mycode_sdk-0.11.1 → mycode_sdk-0.11.2}/src/mycode/py.typed +0 -0
  21. {mycode_sdk-0.11.1 → mycode_sdk-0.11.2}/src/mycode/session.py +0 -0
  22. {mycode_sdk-0.11.1 → mycode_sdk-0.11.2}/src/mycode/tools.py +0 -0
  23. {mycode_sdk-0.11.1 → mycode_sdk-0.11.2}/src/mycode/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mycode-sdk
3
- Version: 0.11.1
3
+ Version: 0.11.2
4
4
  Summary: Lightweight Python SDK for building AI agents.
5
5
  Project-URL: Homepage, https://github.com/legibet/mycode
6
6
  Project-URL: Repository, https://github.com/legibet/mycode
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "mycode-sdk"
7
- version = "0.11.1"
7
+ version = "0.11.2"
8
8
  description = "Lightweight Python SDK for building AI agents."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -70,6 +70,13 @@
70
70
  "supports_pdf_input": true,
71
71
  "supports_reasoning": true
72
72
  },
73
+ "claude-opus-5": {
74
+ "context_window": 1000000,
75
+ "max_output_tokens": 128000,
76
+ "supports_image_input": true,
77
+ "supports_pdf_input": true,
78
+ "supports_reasoning": true
79
+ },
73
80
  "claude-sonnet-4-5": {
74
81
  "context_window": 1000000,
75
82
  "max_output_tokens": 64000,
@@ -130,6 +137,20 @@
130
137
  }
131
138
  },
132
139
  "google": {
140
+ "deep-research-max-preview-04-2026": {
141
+ "context_window": 131072,
142
+ "max_output_tokens": 65536,
143
+ "supports_image_input": true,
144
+ "supports_pdf_input": true,
145
+ "supports_reasoning": true
146
+ },
147
+ "deep-research-preview-04-2026": {
148
+ "context_window": 131072,
149
+ "max_output_tokens": 65536,
150
+ "supports_image_input": true,
151
+ "supports_pdf_input": true,
152
+ "supports_reasoning": true
153
+ },
133
154
  "gemini-2.0-flash": {
134
155
  "context_window": 1048576,
135
156
  "max_output_tokens": 8192,
@@ -144,6 +165,13 @@
144
165
  "supports_pdf_input": true,
145
166
  "supports_reasoning": false
146
167
  },
168
+ "gemini-2.5-computer-use-preview-10-2025": {
169
+ "context_window": 131072,
170
+ "max_output_tokens": 65536,
171
+ "supports_image_input": true,
172
+ "supports_pdf_input": false,
173
+ "supports_reasoning": true
174
+ },
147
175
  "gemini-2.5-flash": {
148
176
  "context_window": 1048576,
149
177
  "max_output_tokens": 65536,
@@ -193,6 +221,13 @@
193
221
  "supports_pdf_input": true,
194
222
  "supports_reasoning": true
195
223
  },
224
+ "gemini-3-pro-image": {
225
+ "context_window": 131072,
226
+ "max_output_tokens": 32768,
227
+ "supports_image_input": true,
228
+ "supports_pdf_input": false,
229
+ "supports_reasoning": true
230
+ },
196
231
  "gemini-3-pro-image-preview": {
197
232
  "context_window": 131072,
198
233
  "max_output_tokens": 32768,
@@ -207,6 +242,13 @@
207
242
  "supports_pdf_input": true,
208
243
  "supports_reasoning": true
209
244
  },
245
+ "gemini-3.1-flash-image": {
246
+ "context_window": 65536,
247
+ "max_output_tokens": 65536,
248
+ "supports_image_input": true,
249
+ "supports_pdf_input": true,
250
+ "supports_reasoning": true
251
+ },
210
252
  "gemini-3.1-flash-image-preview": {
211
253
  "context_window": 65536,
212
254
  "max_output_tokens": 65536,
@@ -221,6 +263,13 @@
221
263
  "supports_pdf_input": true,
222
264
  "supports_reasoning": true
223
265
  },
266
+ "gemini-3.1-flash-lite-image": {
267
+ "context_window": 65536,
268
+ "max_output_tokens": 65536,
269
+ "supports_image_input": true,
270
+ "supports_pdf_input": false,
271
+ "supports_reasoning": true
272
+ },
224
273
  "gemini-3.1-flash-lite-preview": {
225
274
  "context_window": 1048576,
226
275
  "max_output_tokens": 65536,
@@ -228,6 +277,20 @@
228
277
  "supports_pdf_input": true,
229
278
  "supports_reasoning": true
230
279
  },
280
+ "gemini-3.1-flash-live-preview": {
281
+ "context_window": 131072,
282
+ "max_output_tokens": 65536,
283
+ "supports_image_input": true,
284
+ "supports_pdf_input": false,
285
+ "supports_reasoning": true
286
+ },
287
+ "gemini-3.1-flash-tts-preview": {
288
+ "context_window": 8192,
289
+ "max_output_tokens": 16384,
290
+ "supports_image_input": false,
291
+ "supports_pdf_input": false,
292
+ "supports_reasoning": true
293
+ },
231
294
  "gemini-3.1-pro-preview": {
232
295
  "context_window": 1048576,
233
296
  "max_output_tokens": 65536,
@@ -249,6 +312,27 @@
249
312
  "supports_pdf_input": true,
250
313
  "supports_reasoning": true
251
314
  },
315
+ "gemini-3.5-flash-lite": {
316
+ "context_window": 1048576,
317
+ "max_output_tokens": 65536,
318
+ "supports_image_input": true,
319
+ "supports_pdf_input": true,
320
+ "supports_reasoning": true
321
+ },
322
+ "gemini-3.5-live-translate-preview": {
323
+ "context_window": 16384,
324
+ "max_output_tokens": 32768,
325
+ "supports_image_input": false,
326
+ "supports_pdf_input": false,
327
+ "supports_reasoning": false
328
+ },
329
+ "gemini-3.6-flash": {
330
+ "context_window": 1048576,
331
+ "max_output_tokens": 65536,
332
+ "supports_image_input": true,
333
+ "supports_pdf_input": true,
334
+ "supports_reasoning": true
335
+ },
252
336
  "gemini-embedding-001": {
253
337
  "context_window": 2048,
254
338
  "max_output_tokens": 1,
@@ -256,6 +340,13 @@
256
340
  "supports_pdf_input": false,
257
341
  "supports_reasoning": false
258
342
  },
343
+ "gemini-embedding-2": {
344
+ "context_window": 8192,
345
+ "max_output_tokens": 1,
346
+ "supports_image_input": true,
347
+ "supports_pdf_input": true,
348
+ "supports_reasoning": false
349
+ },
259
350
  "gemini-flash-latest": {
260
351
  "context_window": 1048576,
261
352
  "max_output_tokens": 65536,
@@ -277,6 +368,13 @@
277
368
  "supports_pdf_input": false,
278
369
  "supports_reasoning": true
279
370
  },
371
+ "gemini-robotics-er-1.6-preview": {
372
+ "context_window": 131072,
373
+ "max_output_tokens": 65536,
374
+ "supports_image_input": true,
375
+ "supports_pdf_input": false,
376
+ "supports_reasoning": true
377
+ },
280
378
  "gemma-4-26b-a4b-it": {
281
379
  "context_window": 262144,
282
380
  "max_output_tokens": 32768,
@@ -290,6 +388,41 @@
290
388
  "supports_image_input": true,
291
389
  "supports_pdf_input": false,
292
390
  "supports_reasoning": true
391
+ },
392
+ "lyria-3-clip-preview": {
393
+ "context_window": 1048576,
394
+ "max_output_tokens": 65536,
395
+ "supports_image_input": true,
396
+ "supports_pdf_input": false,
397
+ "supports_reasoning": false
398
+ },
399
+ "lyria-3-pro-preview": {
400
+ "context_window": 1048576,
401
+ "max_output_tokens": 65536,
402
+ "supports_image_input": true,
403
+ "supports_pdf_input": false,
404
+ "supports_reasoning": false
405
+ },
406
+ "veo-3.1-fast-generate-preview": {
407
+ "context_window": 480,
408
+ "max_output_tokens": 8192,
409
+ "supports_image_input": true,
410
+ "supports_pdf_input": false,
411
+ "supports_reasoning": false
412
+ },
413
+ "veo-3.1-generate-preview": {
414
+ "context_window": 480,
415
+ "max_output_tokens": 8192,
416
+ "supports_image_input": true,
417
+ "supports_pdf_input": false,
418
+ "supports_reasoning": false
419
+ },
420
+ "veo-3.1-lite-generate-preview": {
421
+ "context_window": 480,
422
+ "max_output_tokens": 8192,
423
+ "supports_image_input": true,
424
+ "supports_pdf_input": false,
425
+ "supports_reasoning": false
293
426
  }
294
427
  },
295
428
  "minimax": {
@@ -507,20 +640,6 @@
507
640
  "supports_pdf_input": false,
508
641
  "supports_reasoning": true
509
642
  },
510
- "gpt-5-chat-latest": {
511
- "context_window": 400000,
512
- "max_output_tokens": 128000,
513
- "supports_image_input": true,
514
- "supports_pdf_input": false,
515
- "supports_reasoning": true
516
- },
517
- "gpt-5-codex": {
518
- "context_window": 400000,
519
- "max_output_tokens": 128000,
520
- "supports_image_input": true,
521
- "supports_pdf_input": false,
522
- "supports_reasoning": true
523
- },
524
643
  "gpt-5-mini": {
525
644
  "context_window": 400000,
526
645
  "max_output_tokens": 128000,
@@ -549,34 +668,6 @@
549
668
  "supports_pdf_input": false,
550
669
  "supports_reasoning": true
551
670
  },
552
- "gpt-5.1-chat-latest": {
553
- "context_window": 128000,
554
- "max_output_tokens": 16384,
555
- "supports_image_input": true,
556
- "supports_pdf_input": false,
557
- "supports_reasoning": true
558
- },
559
- "gpt-5.1-codex": {
560
- "context_window": 400000,
561
- "max_output_tokens": 128000,
562
- "supports_image_input": true,
563
- "supports_pdf_input": false,
564
- "supports_reasoning": true
565
- },
566
- "gpt-5.1-codex-max": {
567
- "context_window": 400000,
568
- "max_output_tokens": 128000,
569
- "supports_image_input": true,
570
- "supports_pdf_input": false,
571
- "supports_reasoning": true
572
- },
573
- "gpt-5.1-codex-mini": {
574
- "context_window": 400000,
575
- "max_output_tokens": 128000,
576
- "supports_image_input": true,
577
- "supports_pdf_input": false,
578
- "supports_reasoning": true
579
- },
580
671
  "gpt-5.2": {
581
672
  "context_window": 400000,
582
673
  "max_output_tokens": 128000,
@@ -591,13 +682,6 @@
591
682
  "supports_pdf_input": false,
592
683
  "supports_reasoning": true
593
684
  },
594
- "gpt-5.2-codex": {
595
- "context_window": 400000,
596
- "max_output_tokens": 128000,
597
- "supports_image_input": true,
598
- "supports_pdf_input": true,
599
- "supports_reasoning": true
600
- },
601
685
  "gpt-5.2-pro": {
602
686
  "context_window": 400000,
603
687
  "max_output_tokens": 128000,
@@ -752,13 +836,6 @@
752
836
  "supports_pdf_input": true,
753
837
  "supports_reasoning": true
754
838
  },
755
- "o3-deep-research": {
756
- "context_window": 200000,
757
- "max_output_tokens": 100000,
758
- "supports_image_input": true,
759
- "supports_pdf_input": false,
760
- "supports_reasoning": true
761
- },
762
839
  "o3-mini": {
763
840
  "context_window": 200000,
764
841
  "max_output_tokens": 100000,
@@ -780,13 +857,6 @@
780
857
  "supports_pdf_input": false,
781
858
  "supports_reasoning": true
782
859
  },
783
- "o4-mini-deep-research": {
784
- "context_window": 200000,
785
- "max_output_tokens": 100000,
786
- "supports_image_input": true,
787
- "supports_pdf_input": false,
788
- "supports_reasoning": true
789
- },
790
860
  "text-embedding-3-large": {
791
861
  "context_window": 8191,
792
862
  "max_output_tokens": 3072,
@@ -888,7 +958,7 @@
888
958
  "supports_reasoning": false
889
959
  },
890
960
  "anthracite-org/magnum-v4-72b": {
891
- "context_window": 32768,
961
+ "context_window": 16384,
892
962
  "max_output_tokens": 2048,
893
963
  "supports_image_input": false,
894
964
  "supports_pdf_input": false,
@@ -971,6 +1041,20 @@
971
1041
  "supports_pdf_input": true,
972
1042
  "supports_reasoning": true
973
1043
  },
1044
+ "anthropic/claude-opus-5": {
1045
+ "context_window": 1000000,
1046
+ "max_output_tokens": 128000,
1047
+ "supports_image_input": true,
1048
+ "supports_pdf_input": true,
1049
+ "supports_reasoning": true
1050
+ },
1051
+ "anthropic/claude-opus-5-fast": {
1052
+ "context_window": 1000000,
1053
+ "max_output_tokens": 128000,
1054
+ "supports_image_input": true,
1055
+ "supports_pdf_input": true,
1056
+ "supports_reasoning": true
1057
+ },
974
1058
  "anthropic/claude-sonnet-4": {
975
1059
  "context_window": 1000000,
976
1060
  "max_output_tokens": 64000,
@@ -1014,7 +1098,7 @@
1014
1098
  "supports_reasoning": false
1015
1099
  },
1016
1100
  "baidu/ernie-4.5-vl-424b-a47b": {
1017
- "context_window": 131072,
1101
+ "context_window": 123000,
1018
1102
  "max_output_tokens": 16000,
1019
1103
  "supports_image_input": true,
1020
1104
  "supports_pdf_input": false,
@@ -1062,13 +1146,6 @@
1062
1146
  "supports_pdf_input": false,
1063
1147
  "supports_reasoning": false
1064
1148
  },
1065
- "cognitivecomputations/dolphin-mistral-24b-venice-edition:free": {
1066
- "context_window": 32768,
1067
- "max_output_tokens": 32768,
1068
- "supports_image_input": false,
1069
- "supports_pdf_input": false,
1070
- "supports_reasoning": false
1071
- },
1072
1149
  "cohere/command-a": {
1073
1150
  "context_window": 256000,
1074
1151
  "max_output_tokens": 8192,
@@ -1112,7 +1189,7 @@
1112
1189
  "supports_reasoning": true
1113
1190
  },
1114
1191
  "deepseek/deepseek-chat": {
1115
- "context_window": 131072,
1192
+ "context_window": 163840,
1116
1193
  "max_output_tokens": 16000,
1117
1194
  "supports_image_input": false,
1118
1195
  "supports_pdf_input": false,
@@ -1147,14 +1224,14 @@
1147
1224
  "supports_reasoning": true
1148
1225
  },
1149
1226
  "deepseek/deepseek-r1-distill-llama-70b": {
1150
- "context_window": 128000,
1227
+ "context_window": 8192,
1151
1228
  "max_output_tokens": 8192,
1152
1229
  "supports_image_input": false,
1153
1230
  "supports_pdf_input": false,
1154
1231
  "supports_reasoning": true
1155
1232
  },
1156
1233
  "deepseek/deepseek-v3.1-terminus": {
1157
- "context_window": 131072,
1234
+ "context_window": 163840,
1158
1235
  "max_output_tokens": 32768,
1159
1236
  "supports_image_input": false,
1160
1237
  "supports_pdf_input": false,
@@ -1238,7 +1315,7 @@
1238
1315
  "supports_reasoning": true
1239
1316
  },
1240
1317
  "google/gemini-3-pro-image": {
1241
- "context_window": 65536,
1318
+ "context_window": 131072,
1242
1319
  "max_output_tokens": 32768,
1243
1320
  "supports_image_input": true,
1244
1321
  "supports_pdf_input": false,
@@ -1260,7 +1337,7 @@
1260
1337
  },
1261
1338
  "google/gemini-3.1-flash-image-preview": {
1262
1339
  "context_window": 131072,
1263
- "max_output_tokens": 32768,
1340
+ "max_output_tokens": 65536,
1264
1341
  "supports_image_input": true,
1265
1342
  "supports_pdf_input": false,
1266
1343
  "supports_reasoning": true
@@ -1274,7 +1351,7 @@
1274
1351
  },
1275
1352
  "google/gemini-3.1-flash-lite-image": {
1276
1353
  "context_window": 65536,
1277
- "max_output_tokens": 65536,
1354
+ "max_output_tokens": 66000,
1278
1355
  "supports_image_input": true,
1279
1356
  "supports_pdf_input": false,
1280
1357
  "supports_reasoning": true
@@ -1294,7 +1371,7 @@
1294
1371
  "supports_reasoning": true
1295
1372
  },
1296
1373
  "google/gemini-3.1-pro-preview-customtools": {
1297
- "context_window": 1048756,
1374
+ "context_window": 1048576,
1298
1375
  "max_output_tokens": 65536,
1299
1376
  "supports_image_input": true,
1300
1377
  "supports_pdf_input": true,
@@ -1307,6 +1384,20 @@
1307
1384
  "supports_pdf_input": true,
1308
1385
  "supports_reasoning": true
1309
1386
  },
1387
+ "google/gemini-3.5-flash-lite": {
1388
+ "context_window": 1048576,
1389
+ "max_output_tokens": 65536,
1390
+ "supports_image_input": true,
1391
+ "supports_pdf_input": true,
1392
+ "supports_reasoning": true
1393
+ },
1394
+ "google/gemini-3.6-flash": {
1395
+ "context_window": 1048576,
1396
+ "max_output_tokens": 65536,
1397
+ "supports_image_input": true,
1398
+ "supports_pdf_input": true,
1399
+ "supports_reasoning": true
1400
+ },
1310
1401
  "google/gemma-2-27b-it": {
1311
1402
  "context_window": 8192,
1312
1403
  "max_output_tokens": 2048,
@@ -1322,7 +1413,7 @@
1322
1413
  "supports_reasoning": false
1323
1414
  },
1324
1415
  "google/gemma-3-27b-it": {
1325
- "context_window": 131072,
1416
+ "context_window": 262144,
1326
1417
  "max_output_tokens": 131072,
1327
1418
  "supports_image_input": true,
1328
1419
  "supports_pdf_input": false,
@@ -1344,7 +1435,7 @@
1344
1435
  },
1345
1436
  "google/gemma-4-26b-a4b-it": {
1346
1437
  "context_window": 262144,
1347
- "max_output_tokens": 16384,
1438
+ "max_output_tokens": 262144,
1348
1439
  "supports_image_input": true,
1349
1440
  "supports_pdf_input": false,
1350
1441
  "supports_reasoning": true
@@ -1385,7 +1476,7 @@
1385
1476
  "supports_reasoning": false
1386
1477
  },
1387
1478
  "gryphe/mythomax-l2-13b": {
1388
- "context_window": 4096,
1479
+ "context_window": 8192,
1389
1480
  "max_output_tokens": 4096,
1390
1481
  "supports_image_input": false,
1391
1482
  "supports_pdf_input": false,
@@ -1426,6 +1517,13 @@
1426
1517
  "supports_pdf_input": false,
1427
1518
  "supports_reasoning": false
1428
1519
  },
1520
+ "inclusionai/ling-3.0-flash:free": {
1521
+ "context_window": 262144,
1522
+ "max_output_tokens": 32768,
1523
+ "supports_image_input": false,
1524
+ "supports_pdf_input": false,
1525
+ "supports_reasoning": true
1526
+ },
1429
1527
  "inclusionai/ring-2.6-1t": {
1430
1528
  "context_window": 262144,
1431
1529
  "max_output_tokens": 65536,
@@ -1455,7 +1553,7 @@
1455
1553
  "supports_reasoning": false
1456
1554
  },
1457
1555
  "kwaipilot/kat-coder-pro-v2": {
1458
- "context_window": 256000,
1556
+ "context_window": 262144,
1459
1557
  "max_output_tokens": 80000,
1460
1558
  "supports_image_input": false,
1461
1559
  "supports_pdf_input": false,
@@ -1475,6 +1573,13 @@
1475
1573
  "supports_pdf_input": false,
1476
1574
  "supports_reasoning": false
1477
1575
  },
1576
+ "meituan/longcat-2.0": {
1577
+ "context_window": 1048756,
1578
+ "max_output_tokens": 262144,
1579
+ "supports_image_input": false,
1580
+ "supports_pdf_input": false,
1581
+ "supports_reasoning": true
1582
+ },
1478
1583
  "meta-llama/llama-3.1-70b-instruct": {
1479
1584
  "context_window": 131072,
1480
1585
  "max_output_tokens": 16384,
@@ -1490,20 +1595,13 @@
1490
1595
  "supports_reasoning": false
1491
1596
  },
1492
1597
  "meta-llama/llama-3.2-1b-instruct": {
1493
- "context_window": 131072,
1598
+ "context_window": 60000,
1494
1599
  "max_output_tokens": 60000,
1495
1600
  "supports_image_input": false,
1496
1601
  "supports_pdf_input": false,
1497
1602
  "supports_reasoning": false
1498
1603
  },
1499
1604
  "meta-llama/llama-3.2-3b-instruct": {
1500
- "context_window": 131072,
1501
- "max_output_tokens": 80000,
1502
- "supports_image_input": false,
1503
- "supports_pdf_input": false,
1504
- "supports_reasoning": false
1505
- },
1506
- "meta-llama/llama-3.2-3b-instruct:free": {
1507
1605
  "context_window": 131072,
1508
1606
  "max_output_tokens": 131072,
1509
1607
  "supports_image_input": false,
@@ -1517,13 +1615,6 @@
1517
1615
  "supports_pdf_input": false,
1518
1616
  "supports_reasoning": false
1519
1617
  },
1520
- "meta-llama/llama-3.3-70b-instruct:free": {
1521
- "context_window": 131072,
1522
- "max_output_tokens": 131072,
1523
- "supports_image_input": false,
1524
- "supports_pdf_input": false,
1525
- "supports_reasoning": false
1526
- },
1527
1618
  "meta-llama/llama-4-maverick": {
1528
1619
  "context_window": 1048576,
1529
1620
  "max_output_tokens": 16384,
@@ -1532,14 +1623,14 @@
1532
1623
  "supports_reasoning": false
1533
1624
  },
1534
1625
  "meta-llama/llama-4-scout": {
1535
- "context_window": 10000000,
1626
+ "context_window": 1310720,
1536
1627
  "max_output_tokens": 16384,
1537
1628
  "supports_image_input": true,
1538
1629
  "supports_pdf_input": false,
1539
1630
  "supports_reasoning": false
1540
1631
  },
1541
1632
  "meta-llama/llama-guard-4-12b": {
1542
- "context_window": 163840,
1633
+ "context_window": 1048576,
1543
1634
  "max_output_tokens": 16384,
1544
1635
  "supports_image_input": true,
1545
1636
  "supports_pdf_input": false,
@@ -1560,7 +1651,7 @@
1560
1651
  "supports_reasoning": false
1561
1652
  },
1562
1653
  "microsoft/wizardlm-2-8x22b": {
1563
- "context_window": 65536,
1654
+ "context_window": 65535,
1564
1655
  "max_output_tokens": 8000,
1565
1656
  "supports_image_input": false,
1566
1657
  "supports_pdf_input": false,
@@ -1735,7 +1826,7 @@
1735
1826
  "supports_reasoning": false
1736
1827
  },
1737
1828
  "mistralai/mistral-small-3.2-24b-instruct": {
1738
- "context_window": 131072,
1829
+ "context_window": 256000,
1739
1830
  "max_output_tokens": 16384,
1740
1831
  "supports_image_input": true,
1741
1832
  "supports_pdf_input": false,
@@ -1839,13 +1930,6 @@
1839
1930
  "supports_pdf_input": false,
1840
1931
  "supports_reasoning": false
1841
1932
  },
1842
- "nousresearch/hermes-3-llama-3.1-405b:free": {
1843
- "context_window": 131072,
1844
- "max_output_tokens": 131072,
1845
- "supports_image_input": false,
1846
- "supports_pdf_input": false,
1847
- "supports_reasoning": false
1848
- },
1849
1933
  "nousresearch/hermes-3-llama-3.1-70b": {
1850
1934
  "context_window": 131072,
1851
1935
  "max_output_tokens": 16384,
@@ -1896,14 +1980,14 @@
1896
1980
  "supports_reasoning": true
1897
1981
  },
1898
1982
  "nvidia/nemotron-3-super-120b-a12b:free": {
1899
- "context_window": 1000000,
1983
+ "context_window": 262144,
1900
1984
  "max_output_tokens": 262144,
1901
1985
  "supports_image_input": false,
1902
1986
  "supports_pdf_input": false,
1903
1987
  "supports_reasoning": true
1904
1988
  },
1905
1989
  "nvidia/nemotron-3-ultra-550b-a55b": {
1906
- "context_window": 1000000,
1990
+ "context_window": 512288,
1907
1991
  "max_output_tokens": 16384,
1908
1992
  "supports_image_input": false,
1909
1993
  "supports_pdf_input": false,
@@ -2497,6 +2581,20 @@
2497
2581
  "supports_pdf_input": false,
2498
2582
  "supports_reasoning": true
2499
2583
  },
2584
+ "poolside/laguna-s-2.1": {
2585
+ "context_window": 1048576,
2586
+ "max_output_tokens": 131072,
2587
+ "supports_image_input": false,
2588
+ "supports_pdf_input": false,
2589
+ "supports_reasoning": true
2590
+ },
2591
+ "poolside/laguna-s-2.1:free": {
2592
+ "context_window": 262144,
2593
+ "max_output_tokens": 32768,
2594
+ "supports_image_input": false,
2595
+ "supports_pdf_input": false,
2596
+ "supports_reasoning": true
2597
+ },
2500
2598
  "poolside/laguna-xs-2.1": {
2501
2599
  "context_window": 262144,
2502
2600
  "max_output_tokens": 32768,
@@ -2512,21 +2610,21 @@
2512
2610
  "supports_reasoning": true
2513
2611
  },
2514
2612
  "qwen/qwen-2.5-72b-instruct": {
2515
- "context_window": 131072,
2613
+ "context_window": 32768,
2516
2614
  "max_output_tokens": 16384,
2517
2615
  "supports_image_input": false,
2518
2616
  "supports_pdf_input": false,
2519
2617
  "supports_reasoning": false
2520
2618
  },
2521
2619
  "qwen/qwen-2.5-7b-instruct": {
2522
- "context_window": 131072,
2620
+ "context_window": 32768,
2523
2621
  "max_output_tokens": 32768,
2524
2622
  "supports_image_input": false,
2525
2623
  "supports_pdf_input": false,
2526
2624
  "supports_reasoning": false
2527
2625
  },
2528
2626
  "qwen/qwen-2.5-coder-32b-instruct": {
2529
- "context_window": 128000,
2627
+ "context_window": 32768,
2530
2628
  "max_output_tokens": 32768,
2531
2629
  "supports_image_input": false,
2532
2630
  "supports_pdf_input": false,
@@ -2554,14 +2652,14 @@
2554
2652
  "supports_reasoning": true
2555
2653
  },
2556
2654
  "qwen/qwen2.5-vl-72b-instruct": {
2557
- "context_window": 131072,
2655
+ "context_window": 128000,
2558
2656
  "max_output_tokens": 128000,
2559
2657
  "supports_image_input": true,
2560
2658
  "supports_pdf_input": false,
2561
2659
  "supports_reasoning": false
2562
2660
  },
2563
2661
  "qwen/qwen3-14b": {
2564
- "context_window": 131702,
2662
+ "context_window": 131072,
2565
2663
  "max_output_tokens": 8192,
2566
2664
  "supports_image_input": false,
2567
2665
  "supports_pdf_input": false,
@@ -2583,7 +2681,7 @@
2583
2681
  },
2584
2682
  "qwen/qwen3-235b-a22b-thinking-2507": {
2585
2683
  "context_window": 262144,
2586
- "max_output_tokens": 262144,
2684
+ "max_output_tokens": 32768,
2587
2685
  "supports_image_input": false,
2588
2686
  "supports_pdf_input": false,
2589
2687
  "supports_reasoning": true
@@ -2603,7 +2701,7 @@
2603
2701
  "supports_reasoning": false
2604
2702
  },
2605
2703
  "qwen/qwen3-30b-a3b-thinking-2507": {
2606
- "context_window": 131072,
2704
+ "context_window": 81920,
2607
2705
  "max_output_tokens": 32768,
2608
2706
  "supports_image_input": false,
2609
2707
  "supports_pdf_input": false,
@@ -2624,14 +2722,14 @@
2624
2722
  "supports_reasoning": true
2625
2723
  },
2626
2724
  "qwen/qwen3-coder": {
2627
- "context_window": 1048576,
2725
+ "context_window": 262144,
2628
2726
  "max_output_tokens": 65536,
2629
2727
  "supports_image_input": false,
2630
2728
  "supports_pdf_input": false,
2631
2729
  "supports_reasoning": false
2632
2730
  },
2633
2731
  "qwen/qwen3-coder-30b-a3b-instruct": {
2634
- "context_window": 160000,
2732
+ "context_window": 262144,
2635
2733
  "max_output_tokens": 32768,
2636
2734
  "supports_image_input": false,
2637
2735
  "supports_pdf_input": false,
@@ -2658,13 +2756,6 @@
2658
2756
  "supports_pdf_input": false,
2659
2757
  "supports_reasoning": false
2660
2758
  },
2661
- "qwen/qwen3-coder:free": {
2662
- "context_window": 1048576,
2663
- "max_output_tokens": 262000,
2664
- "supports_image_input": false,
2665
- "supports_pdf_input": false,
2666
- "supports_reasoning": false
2667
- },
2668
2759
  "qwen/qwen3-max": {
2669
2760
  "context_window": 262144,
2670
2761
  "max_output_tokens": 32768,
@@ -2686,13 +2777,6 @@
2686
2777
  "supports_pdf_input": false,
2687
2778
  "supports_reasoning": false
2688
2779
  },
2689
- "qwen/qwen3-next-80b-a3b-instruct:free": {
2690
- "context_window": 262144,
2691
- "max_output_tokens": 262144,
2692
- "supports_image_input": false,
2693
- "supports_pdf_input": false,
2694
- "supports_reasoning": false
2695
- },
2696
2780
  "qwen/qwen3-next-80b-a3b-thinking": {
2697
2781
  "context_window": 262144,
2698
2782
  "max_output_tokens": 32768,
@@ -2701,7 +2785,7 @@
2701
2785
  "supports_reasoning": true
2702
2786
  },
2703
2787
  "qwen/qwen3-vl-235b-a22b-instruct": {
2704
- "context_window": 131072,
2788
+ "context_window": 262144,
2705
2789
  "max_output_tokens": 32768,
2706
2790
  "supports_image_input": true,
2707
2791
  "supports_pdf_input": false,
@@ -2716,34 +2800,34 @@
2716
2800
  },
2717
2801
  "qwen/qwen3-vl-30b-a3b-instruct": {
2718
2802
  "context_window": 262144,
2719
- "max_output_tokens": 32768,
2803
+ "max_output_tokens": 16384,
2720
2804
  "supports_image_input": true,
2721
2805
  "supports_pdf_input": false,
2722
2806
  "supports_reasoning": false
2723
2807
  },
2724
2808
  "qwen/qwen3-vl-30b-a3b-thinking": {
2725
- "context_window": 131072,
2809
+ "context_window": 262144,
2726
2810
  "max_output_tokens": 32768,
2727
2811
  "supports_image_input": true,
2728
2812
  "supports_pdf_input": false,
2729
2813
  "supports_reasoning": true
2730
2814
  },
2731
2815
  "qwen/qwen3-vl-32b-instruct": {
2732
- "context_window": 262144,
2816
+ "context_window": 131072,
2733
2817
  "max_output_tokens": 32768,
2734
2818
  "supports_image_input": true,
2735
2819
  "supports_pdf_input": false,
2736
2820
  "supports_reasoning": false
2737
2821
  },
2738
2822
  "qwen/qwen3-vl-8b-instruct": {
2739
- "context_window": 256000,
2823
+ "context_window": 262144,
2740
2824
  "max_output_tokens": 32768,
2741
2825
  "supports_image_input": true,
2742
2826
  "supports_pdf_input": false,
2743
2827
  "supports_reasoning": false
2744
2828
  },
2745
2829
  "qwen/qwen3-vl-8b-thinking": {
2746
- "context_window": 256000,
2830
+ "context_window": 131072,
2747
2831
  "max_output_tokens": 32768,
2748
2832
  "supports_image_input": true,
2749
2833
  "supports_pdf_input": false,
@@ -2758,7 +2842,7 @@
2758
2842
  },
2759
2843
  "qwen/qwen3.5-27b": {
2760
2844
  "context_window": 262144,
2761
- "max_output_tokens": 81920,
2845
+ "max_output_tokens": 65536,
2762
2846
  "supports_image_input": true,
2763
2847
  "supports_pdf_input": false,
2764
2848
  "supports_reasoning": true
@@ -2807,7 +2891,7 @@
2807
2891
  },
2808
2892
  "qwen/qwen3.6-27b": {
2809
2893
  "context_window": 262144,
2810
- "max_output_tokens": 65536,
2894
+ "max_output_tokens": 131072,
2811
2895
  "supports_image_input": true,
2812
2896
  "supports_pdf_input": false,
2813
2897
  "supports_reasoning": true
@@ -2918,7 +3002,7 @@
2918
3002
  "supports_reasoning": true
2919
3003
  },
2920
3004
  "stepfun/step-3.7-flash": {
2921
- "context_window": 256000,
3005
+ "context_window": 262144,
2922
3006
  "max_output_tokens": 256000,
2923
3007
  "supports_image_input": true,
2924
3008
  "supports_pdf_input": false,
@@ -2933,7 +3017,7 @@
2933
3017
  },
2934
3018
  "tencent/hy3": {
2935
3019
  "context_window": 262144,
2936
- "max_output_tokens": 131072,
3020
+ "max_output_tokens": 128000,
2937
3021
  "supports_image_input": false,
2938
3022
  "supports_pdf_input": false,
2939
3023
  "supports_reasoning": true
@@ -2945,13 +3029,6 @@
2945
3029
  "supports_pdf_input": false,
2946
3030
  "supports_reasoning": true
2947
3031
  },
2948
- "tencent/hy3:free": {
2949
- "context_window": 262144,
2950
- "max_output_tokens": 262144,
2951
- "supports_image_input": false,
2952
- "supports_pdf_input": false,
2953
- "supports_reasoning": true
2954
- },
2955
3032
  "thedrummer/cydonia-24b-v4.1": {
2956
3033
  "context_window": 131072,
2957
3034
  "max_output_tokens": 131072,
@@ -2989,7 +3066,7 @@
2989
3066
  },
2990
3067
  "undi95/remm-slerp-l2-13b": {
2991
3068
  "context_window": 6144,
2992
- "max_output_tokens": 4096,
3069
+ "max_output_tokens": 2048,
2993
3070
  "supports_image_input": false,
2994
3071
  "supports_pdf_input": false,
2995
3072
  "supports_reasoning": false
@@ -3044,14 +3121,14 @@
3044
3121
  "supports_reasoning": true
3045
3122
  },
3046
3123
  "xiaomi/mimo-v2.5": {
3047
- "context_window": 1048576,
3124
+ "context_window": 1050000,
3048
3125
  "max_output_tokens": 131072,
3049
3126
  "supports_image_input": true,
3050
3127
  "supports_pdf_input": false,
3051
3128
  "supports_reasoning": true
3052
3129
  },
3053
3130
  "xiaomi/mimo-v2.5-pro": {
3054
- "context_window": 1048576,
3131
+ "context_window": 1050000,
3055
3132
  "max_output_tokens": 131072,
3056
3133
  "supports_image_input": false,
3057
3134
  "supports_pdf_input": false,
@@ -3079,7 +3156,7 @@
3079
3156
  "supports_reasoning": true
3080
3157
  },
3081
3158
  "z-ai/glm-4.6": {
3082
- "context_window": 202752,
3159
+ "context_window": 204800,
3083
3160
  "max_output_tokens": 131072,
3084
3161
  "supports_image_input": false,
3085
3162
  "supports_pdf_input": false,
@@ -3093,22 +3170,22 @@
3093
3170
  "supports_reasoning": true
3094
3171
  },
3095
3172
  "z-ai/glm-4.7": {
3096
- "context_window": 202752,
3173
+ "context_window": 204800,
3097
3174
  "max_output_tokens": 131072,
3098
3175
  "supports_image_input": false,
3099
3176
  "supports_pdf_input": false,
3100
3177
  "supports_reasoning": true
3101
3178
  },
3102
3179
  "z-ai/glm-4.7-flash": {
3103
- "context_window": 200000,
3104
- "max_output_tokens": 131072,
3180
+ "context_window": 202752,
3181
+ "max_output_tokens": 16384,
3105
3182
  "supports_image_input": false,
3106
3183
  "supports_pdf_input": false,
3107
3184
  "supports_reasoning": true
3108
3185
  },
3109
3186
  "z-ai/glm-5": {
3110
- "context_window": 202752,
3111
- "max_output_tokens": 202752,
3187
+ "context_window": 204800,
3188
+ "max_output_tokens": 131072,
3112
3189
  "supports_image_input": false,
3113
3190
  "supports_pdf_input": false,
3114
3191
  "supports_reasoning": true
@@ -3121,7 +3198,7 @@
3121
3198
  "supports_reasoning": true
3122
3199
  },
3123
3200
  "z-ai/glm-5.1": {
3124
- "context_window": 202752,
3201
+ "context_window": 204800,
3125
3202
  "max_output_tokens": 128000,
3126
3203
  "supports_image_input": false,
3127
3204
  "supports_pdf_input": false,
@@ -3275,6 +3352,13 @@
3275
3352
  "supports_image_input": true,
3276
3353
  "supports_pdf_input": true,
3277
3354
  "supports_reasoning": false
3355
+ },
3356
+ "grok-imagine-video-1.5": {
3357
+ "context_window": 1024,
3358
+ "max_output_tokens": 0,
3359
+ "supports_image_input": true,
3360
+ "supports_pdf_input": true,
3361
+ "supports_reasoning": false
3278
3362
  }
3279
3363
  },
3280
3364
  "zai": {
@@ -313,7 +313,7 @@ class AnthropicAdapter(AnthropicLikeAdapter):
313
313
  label = "Anthropic"
314
314
  default_base_url = "https://api.anthropic.com"
315
315
  env_api_key_names = ("ANTHROPIC_API_KEY",)
316
- default_models = ("claude-sonnet-5", "claude-opus-4-8")
316
+ default_models = ("claude-sonnet-5", "claude-opus-5")
317
317
  supports_reasoning_effort = True
318
318
 
319
319
  @override
@@ -325,7 +325,7 @@ class AnthropicAdapter(AnthropicLikeAdapter):
325
325
  return {"type": "disabled"}
326
326
  normalized = request.model.lower()
327
327
  thinking: dict[str, Any] = {"type": "adaptive"}
328
- if normalized.startswith(("claude-opus-4-7", "claude-opus-4-8")):
328
+ if normalized.startswith(("claude-opus-4-7", "claude-opus-4-8", "claude-opus-5")):
329
329
  thinking["display"] = "summarized"
330
330
  return thinking
331
331
 
@@ -336,7 +336,7 @@ class AnthropicAdapter(AnthropicLikeAdapter):
336
336
  return None
337
337
 
338
338
  normalized = request.model.lower()
339
- if normalized.startswith(("claude-opus-4-7", "claude-opus-4-8")):
339
+ if normalized.startswith(("claude-opus-4-7", "claude-opus-4-8", "claude-opus-5")):
340
340
  return {"effort": effort}
341
341
 
342
342
  if normalized.startswith("claude-opus-4-6"):
@@ -49,7 +49,7 @@ class GoogleGeminiAdapter(ProviderAdapter):
49
49
  label = "Google Gemini"
50
50
  default_base_url = "https://generativelanguage.googleapis.com"
51
51
  env_api_key_names = ("GEMINI_API_KEY", "GOOGLE_API_KEY")
52
- default_models = ("gemini-3.5-flash", "gemini-3.1-pro-preview")
52
+ default_models = ("gemini-3.6-flash", "gemini-3.5-flash", "gemini-3.1-pro-preview")
53
53
  supports_reasoning_effort = True
54
54
 
55
55
  @override
File without changes
File without changes
File without changes