@mariozechner/pi-ai 0.67.2 → 0.67.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.
@@ -257,6 +257,23 @@ export const MODELS = {
257
257
  contextWindow: 1000000,
258
258
  maxTokens: 128000,
259
259
  },
260
+ "anthropic.claude-opus-4-7": {
261
+ id: "anthropic.claude-opus-4-7",
262
+ name: "Claude Opus 4.7",
263
+ api: "bedrock-converse-stream",
264
+ provider: "amazon-bedrock",
265
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
266
+ reasoning: true,
267
+ input: ["text", "image"],
268
+ cost: {
269
+ input: 5,
270
+ output: 25,
271
+ cacheRead: 0.5,
272
+ cacheWrite: 6.25,
273
+ },
274
+ contextWindow: 1000000,
275
+ maxTokens: 128000,
276
+ },
260
277
  "anthropic.claude-sonnet-4-20250514-v1:0": {
261
278
  id: "anthropic.claude-sonnet-4-20250514-v1:0",
262
279
  name: "Claude Sonnet 4",
@@ -410,6 +427,23 @@ export const MODELS = {
410
427
  contextWindow: 1000000,
411
428
  maxTokens: 128000,
412
429
  },
430
+ "eu.anthropic.claude-opus-4-7": {
431
+ id: "eu.anthropic.claude-opus-4-7",
432
+ name: "Claude Opus 4.7 (EU)",
433
+ api: "bedrock-converse-stream",
434
+ provider: "amazon-bedrock",
435
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
436
+ reasoning: true,
437
+ input: ["text", "image"],
438
+ cost: {
439
+ input: 5,
440
+ output: 25,
441
+ cacheRead: 0.5,
442
+ cacheWrite: 6.25,
443
+ },
444
+ contextWindow: 1000000,
445
+ maxTokens: 128000,
446
+ },
413
447
  "eu.anthropic.claude-sonnet-4-20250514-v1:0": {
414
448
  id: "eu.anthropic.claude-sonnet-4-20250514-v1:0",
415
449
  name: "Claude Sonnet 4 (EU)",
@@ -512,6 +546,23 @@ export const MODELS = {
512
546
  contextWindow: 1000000,
513
547
  maxTokens: 128000,
514
548
  },
549
+ "global.anthropic.claude-opus-4-7": {
550
+ id: "global.anthropic.claude-opus-4-7",
551
+ name: "Claude Opus 4.7 (Global)",
552
+ api: "bedrock-converse-stream",
553
+ provider: "amazon-bedrock",
554
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
555
+ reasoning: true,
556
+ input: ["text", "image"],
557
+ cost: {
558
+ input: 5,
559
+ output: 25,
560
+ cacheRead: 0.5,
561
+ cacheWrite: 6.25,
562
+ },
563
+ contextWindow: 1000000,
564
+ maxTokens: 128000,
565
+ },
515
566
  "global.anthropic.claude-sonnet-4-20250514-v1:0": {
516
567
  id: "global.anthropic.claude-sonnet-4-20250514-v1:0",
517
568
  name: "Claude Sonnet 4 (Global)",
@@ -1345,6 +1396,23 @@ export const MODELS = {
1345
1396
  contextWindow: 1000000,
1346
1397
  maxTokens: 128000,
1347
1398
  },
1399
+ "us.anthropic.claude-opus-4-7": {
1400
+ id: "us.anthropic.claude-opus-4-7",
1401
+ name: "Claude Opus 4.7 (US)",
1402
+ api: "bedrock-converse-stream",
1403
+ provider: "amazon-bedrock",
1404
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1405
+ reasoning: true,
1406
+ input: ["text", "image"],
1407
+ cost: {
1408
+ input: 5,
1409
+ output: 25,
1410
+ cacheRead: 0.5,
1411
+ cacheWrite: 6.25,
1412
+ },
1413
+ contextWindow: 1000000,
1414
+ maxTokens: 128000,
1415
+ },
1348
1416
  "us.anthropic.claude-sonnet-4-20250514-v1:0": {
1349
1417
  id: "us.anthropic.claude-sonnet-4-20250514-v1:0",
1350
1418
  name: "Claude Sonnet 4 (US)",
@@ -1772,6 +1840,23 @@ export const MODELS = {
1772
1840
  contextWindow: 1000000,
1773
1841
  maxTokens: 128000,
1774
1842
  },
1843
+ "claude-opus-4-7": {
1844
+ id: "claude-opus-4-7",
1845
+ name: "Claude Opus 4.7",
1846
+ api: "anthropic-messages",
1847
+ provider: "anthropic",
1848
+ baseUrl: "https://api.anthropic.com",
1849
+ reasoning: true,
1850
+ input: ["text", "image"],
1851
+ cost: {
1852
+ input: 5,
1853
+ output: 25,
1854
+ cacheRead: 0.5,
1855
+ cacheWrite: 6.25,
1856
+ },
1857
+ contextWindow: 1000000,
1858
+ maxTokens: 128000,
1859
+ },
1775
1860
  "claude-sonnet-4-0": {
1776
1861
  id: "claude-sonnet-4-0",
1777
1862
  name: "Claude Sonnet 4 (latest)",
@@ -4682,9 +4767,9 @@ export const MODELS = {
4682
4767
  },
4683
4768
  },
4684
4769
  "kimi-coding": {
4685
- "k2p5": {
4686
- id: "k2p5",
4687
- name: "Kimi K2.5",
4770
+ "kimi-for-coding": {
4771
+ id: "kimi-for-coding",
4772
+ name: "Kimi For Coding",
4688
4773
  api: "anthropic-messages",
4689
4774
  provider: "kimi-coding",
4690
4775
  baseUrl: "https://api.kimi.com/coding",
@@ -6190,6 +6275,23 @@ export const MODELS = {
6190
6275
  contextWindow: 1000000,
6191
6276
  maxTokens: 128000,
6192
6277
  },
6278
+ "claude-opus-4-7": {
6279
+ id: "claude-opus-4-7",
6280
+ name: "Claude Opus 4.7",
6281
+ api: "anthropic-messages",
6282
+ provider: "opencode",
6283
+ baseUrl: "https://opencode.ai/zen",
6284
+ reasoning: true,
6285
+ input: ["text", "image"],
6286
+ cost: {
6287
+ input: 5,
6288
+ output: 25,
6289
+ cacheRead: 0.5,
6290
+ cacheWrite: 6.25,
6291
+ },
6292
+ contextWindow: 1000000,
6293
+ maxTokens: 128000,
6294
+ },
6193
6295
  "claude-sonnet-4": {
6194
6296
  id: "claude-sonnet-4",
6195
6297
  name: "Claude Sonnet 4",
@@ -6615,6 +6717,40 @@ export const MODELS = {
6615
6717
  contextWindow: 204800,
6616
6718
  maxTokens: 128000,
6617
6719
  },
6720
+ "qwen3.5-plus": {
6721
+ id: "qwen3.5-plus",
6722
+ name: "Qwen3.5 Plus",
6723
+ api: "openai-completions",
6724
+ provider: "opencode",
6725
+ baseUrl: "https://opencode.ai/zen/v1",
6726
+ reasoning: true,
6727
+ input: ["text", "image"],
6728
+ cost: {
6729
+ input: 0.2,
6730
+ output: 1.2,
6731
+ cacheRead: 0.02,
6732
+ cacheWrite: 0.25,
6733
+ },
6734
+ contextWindow: 262144,
6735
+ maxTokens: 65536,
6736
+ },
6737
+ "qwen3.6-plus": {
6738
+ id: "qwen3.6-plus",
6739
+ name: "Qwen3.6 Plus",
6740
+ api: "openai-completions",
6741
+ provider: "opencode",
6742
+ baseUrl: "https://opencode.ai/zen/v1",
6743
+ reasoning: true,
6744
+ input: ["text", "image"],
6745
+ cost: {
6746
+ input: 0.5,
6747
+ output: 3,
6748
+ cacheRead: 0.05,
6749
+ cacheWrite: 0.625,
6750
+ },
6751
+ contextWindow: 262144,
6752
+ maxTokens: 65536,
6753
+ },
6618
6754
  },
6619
6755
  "opencode-go": {
6620
6756
  "glm-5": {
@@ -6736,6 +6872,40 @@ export const MODELS = {
6736
6872
  contextWindow: 204800,
6737
6873
  maxTokens: 131072,
6738
6874
  },
6875
+ "qwen3.5-plus": {
6876
+ id: "qwen3.5-plus",
6877
+ name: "Qwen3.5 Plus",
6878
+ api: "openai-completions",
6879
+ provider: "opencode-go",
6880
+ baseUrl: "https://opencode.ai/zen/go/v1",
6881
+ reasoning: true,
6882
+ input: ["text", "image"],
6883
+ cost: {
6884
+ input: 0.2,
6885
+ output: 1.2,
6886
+ cacheRead: 0.02,
6887
+ cacheWrite: 0.25,
6888
+ },
6889
+ contextWindow: 262144,
6890
+ maxTokens: 65536,
6891
+ },
6892
+ "qwen3.6-plus": {
6893
+ id: "qwen3.6-plus",
6894
+ name: "Qwen3.6 Plus",
6895
+ api: "openai-completions",
6896
+ provider: "opencode-go",
6897
+ baseUrl: "https://opencode.ai/zen/go/v1",
6898
+ reasoning: true,
6899
+ input: ["text", "image"],
6900
+ cost: {
6901
+ input: 0.5,
6902
+ output: 3,
6903
+ cacheRead: 0.05,
6904
+ cacheWrite: 0.625,
6905
+ },
6906
+ contextWindow: 262144,
6907
+ maxTokens: 65536,
6908
+ },
6739
6909
  },
6740
6910
  "openrouter": {
6741
6911
  "ai21/jamba-large-1.7": {
@@ -7044,6 +7214,23 @@ export const MODELS = {
7044
7214
  contextWindow: 1000000,
7045
7215
  maxTokens: 128000,
7046
7216
  },
7217
+ "anthropic/claude-opus-4.7": {
7218
+ id: "anthropic/claude-opus-4.7",
7219
+ name: "Anthropic: Claude Opus 4.7",
7220
+ api: "openai-completions",
7221
+ provider: "openrouter",
7222
+ baseUrl: "https://openrouter.ai/api/v1",
7223
+ reasoning: true,
7224
+ input: ["text", "image"],
7225
+ cost: {
7226
+ input: 5,
7227
+ output: 25,
7228
+ cacheRead: 0.5,
7229
+ cacheWrite: 6.25,
7230
+ },
7231
+ contextWindow: 1000000,
7232
+ maxTokens: 128000,
7233
+ },
7047
7234
  "anthropic/claude-sonnet-4": {
7048
7235
  id: "anthropic/claude-sonnet-4",
7049
7236
  name: "Anthropic: Claude Sonnet 4",
@@ -7682,13 +7869,13 @@ export const MODELS = {
7682
7869
  reasoning: true,
7683
7870
  input: ["text", "image"],
7684
7871
  cost: {
7685
- input: 0.08,
7686
- output: 0.35,
7687
- cacheRead: 0.01,
7872
+ input: 0.07,
7873
+ output: 0.39999999999999997,
7874
+ cacheRead: 0.04,
7688
7875
  cacheWrite: 0,
7689
7876
  },
7690
7877
  contextWindow: 262144,
7691
- maxTokens: 4096,
7878
+ maxTokens: 262144,
7692
7879
  },
7693
7880
  "google/gemma-4-26b-a4b-it:free": {
7694
7881
  id: "google/gemma-4-26b-a4b-it:free",
@@ -7741,23 +7928,6 @@ export const MODELS = {
7741
7928
  contextWindow: 262144,
7742
7929
  maxTokens: 32768,
7743
7930
  },
7744
- "inception/mercury": {
7745
- id: "inception/mercury",
7746
- name: "Inception: Mercury",
7747
- api: "openai-completions",
7748
- provider: "openrouter",
7749
- baseUrl: "https://openrouter.ai/api/v1",
7750
- reasoning: false,
7751
- input: ["text"],
7752
- cost: {
7753
- input: 0.25,
7754
- output: 0.75,
7755
- cacheRead: 0.024999999999999998,
7756
- cacheWrite: 0,
7757
- },
7758
- contextWindow: 128000,
7759
- maxTokens: 32000,
7760
- },
7761
7931
  "inception/mercury-2": {
7762
7932
  id: "inception/mercury-2",
7763
7933
  name: "Inception: Mercury 2",
@@ -7775,23 +7945,6 @@ export const MODELS = {
7775
7945
  contextWindow: 128000,
7776
7946
  maxTokens: 50000,
7777
7947
  },
7778
- "inception/mercury-coder": {
7779
- id: "inception/mercury-coder",
7780
- name: "Inception: Mercury Coder",
7781
- api: "openai-completions",
7782
- provider: "openrouter",
7783
- baseUrl: "https://openrouter.ai/api/v1",
7784
- reasoning: false,
7785
- input: ["text"],
7786
- cost: {
7787
- input: 0.25,
7788
- output: 0.75,
7789
- cacheRead: 0.024999999999999998,
7790
- cacheWrite: 0,
7791
- },
7792
- contextWindow: 128000,
7793
- maxTokens: 32000,
7794
- },
7795
7948
  "kwaipilot/kat-coder-pro-v2": {
7796
7949
  id: "kwaipilot/kat-coder-pro-v2",
7797
7950
  name: "Kwaipilot: KAT-Coder-Pro V2",
@@ -8419,7 +8572,7 @@ export const MODELS = {
8419
8572
  cacheWrite: 0,
8420
8573
  },
8421
8574
  contextWindow: 131072,
8422
- maxTokens: 131072,
8575
+ maxTokens: 32768,
8423
8576
  },
8424
8577
  "moonshotai/kimi-k2-0905": {
8425
8578
  id: "moonshotai/kimi-k2-0905",
@@ -11415,6 +11568,23 @@ export const MODELS = {
11415
11568
  contextWindow: 1000000,
11416
11569
  maxTokens: 128000,
11417
11570
  },
11571
+ "anthropic/claude-opus-4.7": {
11572
+ id: "anthropic/claude-opus-4.7",
11573
+ name: "Claude Opus 4.7",
11574
+ api: "anthropic-messages",
11575
+ provider: "vercel-ai-gateway",
11576
+ baseUrl: "https://ai-gateway.vercel.sh",
11577
+ reasoning: true,
11578
+ input: ["text", "image"],
11579
+ cost: {
11580
+ input: 5,
11581
+ output: 25,
11582
+ cacheRead: 0.5,
11583
+ cacheWrite: 6.25,
11584
+ },
11585
+ contextWindow: 1000000,
11586
+ maxTokens: 128000,
11587
+ },
11418
11588
  "anthropic/claude-sonnet-4": {
11419
11589
  id: "anthropic/claude-sonnet-4",
11420
11590
  name: "Claude Sonnet 4",