@mariozechner/pi-ai 0.31.0 → 0.32.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.
@@ -1334,6 +1334,195 @@ export const MODELS = {
1334
1334
  maxTokens: 65535,
1335
1335
  },
1336
1336
  },
1337
+ "google-vertex": {
1338
+ "gemini-1.5-flash": {
1339
+ id: "gemini-1.5-flash",
1340
+ name: "Gemini 1.5 Flash (Vertex)",
1341
+ api: "google-vertex",
1342
+ provider: "google-vertex",
1343
+ baseUrl: "https://{location}-aiplatform.googleapis.com",
1344
+ reasoning: false,
1345
+ input: ["text", "image"],
1346
+ cost: {
1347
+ input: 0.075,
1348
+ output: 0.3,
1349
+ cacheRead: 0.01875,
1350
+ cacheWrite: 0,
1351
+ },
1352
+ contextWindow: 1000000,
1353
+ maxTokens: 8192,
1354
+ },
1355
+ "gemini-1.5-flash-8b": {
1356
+ id: "gemini-1.5-flash-8b",
1357
+ name: "Gemini 1.5 Flash-8B (Vertex)",
1358
+ api: "google-vertex",
1359
+ provider: "google-vertex",
1360
+ baseUrl: "https://{location}-aiplatform.googleapis.com",
1361
+ reasoning: false,
1362
+ input: ["text", "image"],
1363
+ cost: {
1364
+ input: 0.0375,
1365
+ output: 0.15,
1366
+ cacheRead: 0.01,
1367
+ cacheWrite: 0,
1368
+ },
1369
+ contextWindow: 1000000,
1370
+ maxTokens: 8192,
1371
+ },
1372
+ "gemini-1.5-pro": {
1373
+ id: "gemini-1.5-pro",
1374
+ name: "Gemini 1.5 Pro (Vertex)",
1375
+ api: "google-vertex",
1376
+ provider: "google-vertex",
1377
+ baseUrl: "https://{location}-aiplatform.googleapis.com",
1378
+ reasoning: false,
1379
+ input: ["text", "image"],
1380
+ cost: {
1381
+ input: 1.25,
1382
+ output: 5,
1383
+ cacheRead: 0.3125,
1384
+ cacheWrite: 0,
1385
+ },
1386
+ contextWindow: 1000000,
1387
+ maxTokens: 8192,
1388
+ },
1389
+ "gemini-2.0-flash": {
1390
+ id: "gemini-2.0-flash",
1391
+ name: "Gemini 2.0 Flash (Vertex)",
1392
+ api: "google-vertex",
1393
+ provider: "google-vertex",
1394
+ baseUrl: "https://{location}-aiplatform.googleapis.com",
1395
+ reasoning: false,
1396
+ input: ["text", "image"],
1397
+ cost: {
1398
+ input: 0.15,
1399
+ output: 0.6,
1400
+ cacheRead: 0.0375,
1401
+ cacheWrite: 0,
1402
+ },
1403
+ contextWindow: 1048576,
1404
+ maxTokens: 8192,
1405
+ },
1406
+ "gemini-2.0-flash-lite": {
1407
+ id: "gemini-2.0-flash-lite",
1408
+ name: "Gemini 2.0 Flash Lite (Vertex)",
1409
+ api: "google-vertex",
1410
+ provider: "google-vertex",
1411
+ baseUrl: "https://{location}-aiplatform.googleapis.com",
1412
+ reasoning: true,
1413
+ input: ["text", "image"],
1414
+ cost: {
1415
+ input: 0.075,
1416
+ output: 0.3,
1417
+ cacheRead: 0.01875,
1418
+ cacheWrite: 0,
1419
+ },
1420
+ contextWindow: 1048576,
1421
+ maxTokens: 65536,
1422
+ },
1423
+ "gemini-2.5-flash": {
1424
+ id: "gemini-2.5-flash",
1425
+ name: "Gemini 2.5 Flash (Vertex)",
1426
+ api: "google-vertex",
1427
+ provider: "google-vertex",
1428
+ baseUrl: "https://{location}-aiplatform.googleapis.com",
1429
+ reasoning: true,
1430
+ input: ["text", "image"],
1431
+ cost: {
1432
+ input: 0.3,
1433
+ output: 2.5,
1434
+ cacheRead: 0.03,
1435
+ cacheWrite: 0,
1436
+ },
1437
+ contextWindow: 1048576,
1438
+ maxTokens: 65536,
1439
+ },
1440
+ "gemini-2.5-flash-lite": {
1441
+ id: "gemini-2.5-flash-lite",
1442
+ name: "Gemini 2.5 Flash Lite (Vertex)",
1443
+ api: "google-vertex",
1444
+ provider: "google-vertex",
1445
+ baseUrl: "https://{location}-aiplatform.googleapis.com",
1446
+ reasoning: true,
1447
+ input: ["text", "image"],
1448
+ cost: {
1449
+ input: 0.1,
1450
+ output: 0.4,
1451
+ cacheRead: 0.01,
1452
+ cacheWrite: 0,
1453
+ },
1454
+ contextWindow: 1048576,
1455
+ maxTokens: 65536,
1456
+ },
1457
+ "gemini-2.5-flash-lite-preview-09-2025": {
1458
+ id: "gemini-2.5-flash-lite-preview-09-2025",
1459
+ name: "Gemini 2.5 Flash Lite Preview 09-25 (Vertex)",
1460
+ api: "google-vertex",
1461
+ provider: "google-vertex",
1462
+ baseUrl: "https://{location}-aiplatform.googleapis.com",
1463
+ reasoning: true,
1464
+ input: ["text", "image"],
1465
+ cost: {
1466
+ input: 0.1,
1467
+ output: 0.4,
1468
+ cacheRead: 0.01,
1469
+ cacheWrite: 0,
1470
+ },
1471
+ contextWindow: 1048576,
1472
+ maxTokens: 65536,
1473
+ },
1474
+ "gemini-2.5-pro": {
1475
+ id: "gemini-2.5-pro",
1476
+ name: "Gemini 2.5 Pro (Vertex)",
1477
+ api: "google-vertex",
1478
+ provider: "google-vertex",
1479
+ baseUrl: "https://{location}-aiplatform.googleapis.com",
1480
+ reasoning: true,
1481
+ input: ["text", "image"],
1482
+ cost: {
1483
+ input: 1.25,
1484
+ output: 10,
1485
+ cacheRead: 0.125,
1486
+ cacheWrite: 0,
1487
+ },
1488
+ contextWindow: 1048576,
1489
+ maxTokens: 65536,
1490
+ },
1491
+ "gemini-3-flash-preview": {
1492
+ id: "gemini-3-flash-preview",
1493
+ name: "Gemini 3 Flash Preview (Vertex)",
1494
+ api: "google-vertex",
1495
+ provider: "google-vertex",
1496
+ baseUrl: "https://{location}-aiplatform.googleapis.com",
1497
+ reasoning: true,
1498
+ input: ["text", "image"],
1499
+ cost: {
1500
+ input: 0.5,
1501
+ output: 3,
1502
+ cacheRead: 0.05,
1503
+ cacheWrite: 0,
1504
+ },
1505
+ contextWindow: 1048576,
1506
+ maxTokens: 65536,
1507
+ },
1508
+ "gemini-3-pro-preview": {
1509
+ id: "gemini-3-pro-preview",
1510
+ name: "Gemini 3 Pro Preview (Vertex)",
1511
+ api: "google-vertex",
1512
+ provider: "google-vertex",
1513
+ baseUrl: "https://{location}-aiplatform.googleapis.com",
1514
+ reasoning: true,
1515
+ input: ["text", "image"],
1516
+ cost: {
1517
+ input: 2,
1518
+ output: 12,
1519
+ cacheRead: 0.2,
1520
+ cacheWrite: 0,
1521
+ },
1522
+ contextWindow: 1000000,
1523
+ maxTokens: 64000,
1524
+ },
1525
+ },
1337
1526
  "groq": {
1338
1527
  "deepseek-r1-distill-llama-70b": {
1339
1528
  id: "deepseek-r1-distill-llama-70b",