@mariozechner/pi-ai 0.55.0 → 0.55.2

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.
@@ -3495,6 +3495,23 @@ export const MODELS = {
3495
3495
  contextWindow: 1048576,
3496
3496
  maxTokens: 65535,
3497
3497
  },
3498
+ "gemini-3.1-pro-preview": {
3499
+ id: "gemini-3.1-pro-preview",
3500
+ name: "Gemini 3.1 Pro Preview (Cloud Code Assist)",
3501
+ api: "google-gemini-cli",
3502
+ provider: "google-gemini-cli",
3503
+ baseUrl: "https://cloudcode-pa.googleapis.com",
3504
+ reasoning: true,
3505
+ input: ["text", "image"],
3506
+ cost: {
3507
+ input: 0,
3508
+ output: 0,
3509
+ cacheRead: 0,
3510
+ cacheWrite: 0,
3511
+ },
3512
+ contextWindow: 1048576,
3513
+ maxTokens: 65535,
3514
+ },
3498
3515
  },
3499
3516
  "google-vertex": {
3500
3517
  "gemini-1.5-flash": {
@@ -6680,6 +6697,23 @@ export const MODELS = {
6680
6697
  contextWindow: 262144,
6681
6698
  maxTokens: 32768,
6682
6699
  },
6700
+ "bytedance-seed/seed-2.0-mini": {
6701
+ id: "bytedance-seed/seed-2.0-mini",
6702
+ name: "ByteDance Seed: Seed-2.0-Mini",
6703
+ api: "openai-completions",
6704
+ provider: "openrouter",
6705
+ baseUrl: "https://openrouter.ai/api/v1",
6706
+ reasoning: true,
6707
+ input: ["text", "image"],
6708
+ cost: {
6709
+ input: 0.09999999999999999,
6710
+ output: 0.39999999999999997,
6711
+ cacheRead: 0,
6712
+ cacheWrite: 0,
6713
+ },
6714
+ contextWindow: 262144,
6715
+ maxTokens: 131072,
6716
+ },
6683
6717
  "cohere/command-r-08-2024": {
6684
6718
  id: "cohere/command-r-08-2024",
6685
6719
  name: "Cohere: Command R (08-2024)",
@@ -7054,6 +7088,23 @@ export const MODELS = {
7054
7088
  contextWindow: 1048576,
7055
7089
  maxTokens: 65536,
7056
7090
  },
7091
+ "google/gemini-3.1-pro-preview-customtools": {
7092
+ id: "google/gemini-3.1-pro-preview-customtools",
7093
+ name: "Google: Gemini 3.1 Pro Preview Custom Tools",
7094
+ api: "openai-completions",
7095
+ provider: "openrouter",
7096
+ baseUrl: "https://openrouter.ai/api/v1",
7097
+ reasoning: true,
7098
+ input: ["text", "image"],
7099
+ cost: {
7100
+ input: 2,
7101
+ output: 12,
7102
+ cacheRead: 0.19999999999999998,
7103
+ cacheWrite: 0.375,
7104
+ },
7105
+ contextWindow: 1048576,
7106
+ maxTokens: 65536,
7107
+ },
7057
7108
  "google/gemma-3-27b-it": {
7058
7109
  id: "google/gemma-3-27b-it",
7059
7110
  name: "Google: Gemma 3 27B",
@@ -7139,6 +7190,23 @@ export const MODELS = {
7139
7190
  contextWindow: 256000,
7140
7191
  maxTokens: 128000,
7141
7192
  },
7193
+ "meituan/longcat-flash-chat": {
7194
+ id: "meituan/longcat-flash-chat",
7195
+ name: "Meituan: LongCat Flash Chat",
7196
+ api: "openai-completions",
7197
+ provider: "openrouter",
7198
+ baseUrl: "https://openrouter.ai/api/v1",
7199
+ reasoning: false,
7200
+ input: ["text"],
7201
+ cost: {
7202
+ input: 0.19999999999999998,
7203
+ output: 0.7999999999999999,
7204
+ cacheRead: 0.19999999999999998,
7205
+ cacheWrite: 0,
7206
+ },
7207
+ contextWindow: 131072,
7208
+ maxTokens: 32768,
7209
+ },
7142
7210
  "meta-llama/llama-3-8b-instruct": {
7143
7211
  id: "meta-llama/llama-3-8b-instruct",
7144
7212
  name: "Meta: Llama 3 8B Instruct",
@@ -7335,13 +7403,13 @@ export const MODELS = {
7335
7403
  reasoning: true,
7336
7404
  input: ["text"],
7337
7405
  cost: {
7338
- input: 0.3,
7339
- output: 1.1,
7340
- cacheRead: 0.15,
7406
+ input: 0.295,
7407
+ output: 1.2,
7408
+ cacheRead: 0.03,
7341
7409
  cacheWrite: 0,
7342
7410
  },
7343
7411
  contextWindow: 196608,
7344
- maxTokens: 65536,
7412
+ maxTokens: 196608,
7345
7413
  },
7346
7414
  "mistralai/codestral-2508": {
7347
7415
  id: "mistralai/codestral-2508",
@@ -7743,12 +7811,12 @@ export const MODELS = {
7743
7811
  reasoning: false,
7744
7812
  input: ["text"],
7745
7813
  cost: {
7746
- input: 0.5,
7747
- output: 2.4,
7814
+ input: 0.55,
7815
+ output: 2.2,
7748
7816
  cacheRead: 0,
7749
7817
  cacheWrite: 0,
7750
7818
  },
7751
- contextWindow: 131072,
7819
+ contextWindow: 131000,
7752
7820
  maxTokens: 4096,
7753
7821
  },
7754
7822
  "moonshotai/kimi-k2-0905": {
@@ -9176,7 +9244,7 @@ export const MODELS = {
9176
9244
  cacheRead: 0.049999999999999996,
9177
9245
  cacheWrite: 0,
9178
9246
  },
9179
- contextWindow: 32000,
9247
+ contextWindow: 40960,
9180
9248
  maxTokens: 8192,
9181
9249
  },
9182
9250
  "qwen/qwen3-coder": {
@@ -9502,6 +9570,57 @@ export const MODELS = {
9502
9570
  contextWindow: 131072,
9503
9571
  maxTokens: 32768,
9504
9572
  },
9573
+ "qwen/qwen3.5-122b-a10b": {
9574
+ id: "qwen/qwen3.5-122b-a10b",
9575
+ name: "Qwen: Qwen3.5-122B-A10B",
9576
+ api: "openai-completions",
9577
+ provider: "openrouter",
9578
+ baseUrl: "https://openrouter.ai/api/v1",
9579
+ reasoning: true,
9580
+ input: ["text", "image"],
9581
+ cost: {
9582
+ input: 0.39999999999999997,
9583
+ output: 3.1999999999999997,
9584
+ cacheRead: 0,
9585
+ cacheWrite: 0,
9586
+ },
9587
+ contextWindow: 262144,
9588
+ maxTokens: 65536,
9589
+ },
9590
+ "qwen/qwen3.5-27b": {
9591
+ id: "qwen/qwen3.5-27b",
9592
+ name: "Qwen: Qwen3.5-27B",
9593
+ api: "openai-completions",
9594
+ provider: "openrouter",
9595
+ baseUrl: "https://openrouter.ai/api/v1",
9596
+ reasoning: true,
9597
+ input: ["text", "image"],
9598
+ cost: {
9599
+ input: 0.3,
9600
+ output: 2.4,
9601
+ cacheRead: 0,
9602
+ cacheWrite: 0,
9603
+ },
9604
+ contextWindow: 262144,
9605
+ maxTokens: 65536,
9606
+ },
9607
+ "qwen/qwen3.5-35b-a3b": {
9608
+ id: "qwen/qwen3.5-35b-a3b",
9609
+ name: "Qwen: Qwen3.5-35B-A3B",
9610
+ api: "openai-completions",
9611
+ provider: "openrouter",
9612
+ baseUrl: "https://openrouter.ai/api/v1",
9613
+ reasoning: true,
9614
+ input: ["text", "image"],
9615
+ cost: {
9616
+ input: 0.25,
9617
+ output: 2,
9618
+ cacheRead: 0,
9619
+ cacheWrite: 0,
9620
+ },
9621
+ contextWindow: 262144,
9622
+ maxTokens: 65536,
9623
+ },
9505
9624
  "qwen/qwen3.5-397b-a17b": {
9506
9625
  id: "qwen/qwen3.5-397b-a17b",
9507
9626
  name: "Qwen: Qwen3.5 397B A17B",
@@ -9519,6 +9638,23 @@ export const MODELS = {
9519
9638
  contextWindow: 262144,
9520
9639
  maxTokens: 65536,
9521
9640
  },
9641
+ "qwen/qwen3.5-flash-02-23": {
9642
+ id: "qwen/qwen3.5-flash-02-23",
9643
+ name: "Qwen: Qwen3.5-Flash",
9644
+ api: "openai-completions",
9645
+ provider: "openrouter",
9646
+ baseUrl: "https://openrouter.ai/api/v1",
9647
+ reasoning: true,
9648
+ input: ["text", "image"],
9649
+ cost: {
9650
+ input: 0.09999999999999999,
9651
+ output: 0.39999999999999997,
9652
+ cacheRead: 0,
9653
+ cacheWrite: 0,
9654
+ },
9655
+ contextWindow: 1000000,
9656
+ maxTokens: 65536,
9657
+ },
9522
9658
  "qwen/qwen3.5-plus-02-15": {
9523
9659
  id: "qwen/qwen3.5-plus-02-15",
9524
9660
  name: "Qwen: Qwen3.5 Plus 2026-02-15",
@@ -10007,7 +10143,7 @@ export const MODELS = {
10007
10143
  input: 0.3,
10008
10144
  output: 1.4,
10009
10145
  cacheRead: 0.15,
10010
- cacheWrite: 0.6,
10146
+ cacheWrite: 0,
10011
10147
  },
10012
10148
  contextWindow: 202752,
10013
10149
  maxTokens: 4096,
@@ -11444,7 +11580,7 @@ export const MODELS = {
11444
11580
  },
11445
11581
  "openai/gpt-5-chat": {
11446
11582
  id: "openai/gpt-5-chat",
11447
- name: "GPT-5 Chat",
11583
+ name: "GPT 5 Chat",
11448
11584
  api: "anthropic-messages",
11449
11585
  provider: "vercel-ai-gateway",
11450
11586
  baseUrl: "https://ai-gateway.vercel.sh",
@@ -11563,7 +11699,7 @@ export const MODELS = {
11563
11699
  },
11564
11700
  "openai/gpt-5.1-codex-mini": {
11565
11701
  id: "openai/gpt-5.1-codex-mini",
11566
- name: "GPT-5.1 Codex mini",
11702
+ name: "GPT 5.1 Codex Mini",
11567
11703
  api: "anthropic-messages",
11568
11704
  provider: "vercel-ai-gateway",
11569
11705
  baseUrl: "https://ai-gateway.vercel.sh",
@@ -11631,7 +11767,7 @@ export const MODELS = {
11631
11767
  },
11632
11768
  "openai/gpt-5.2-chat": {
11633
11769
  id: "openai/gpt-5.2-chat",
11634
- name: "GPT-5.2 Chat",
11770
+ name: "GPT 5.2 Chat",
11635
11771
  api: "anthropic-messages",
11636
11772
  provider: "vercel-ai-gateway",
11637
11773
  baseUrl: "https://ai-gateway.vercel.sh",
@@ -11648,7 +11784,7 @@ export const MODELS = {
11648
11784
  },
11649
11785
  "openai/gpt-5.2-codex": {
11650
11786
  id: "openai/gpt-5.2-codex",
11651
- name: "GPT-5.2-Codex",
11787
+ name: "GPT 5.2 Codex",
11652
11788
  api: "anthropic-messages",
11653
11789
  provider: "vercel-ai-gateway",
11654
11790
  baseUrl: "https://ai-gateway.vercel.sh",