@mariozechner/pi-ai 0.19.0 → 0.19.1

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.
@@ -5747,34 +5747,34 @@ export const MODELS = {
5747
5747
  contextWindow: 32768,
5748
5748
  maxTokens: 4096,
5749
5749
  },
5750
- "cohere/command-r-plus-08-2024": {
5751
- id: "cohere/command-r-plus-08-2024",
5752
- name: "Cohere: Command R+ (08-2024)",
5750
+ "cohere/command-r-08-2024": {
5751
+ id: "cohere/command-r-08-2024",
5752
+ name: "Cohere: Command R (08-2024)",
5753
5753
  api: "openai-completions",
5754
5754
  provider: "openrouter",
5755
5755
  baseUrl: "https://openrouter.ai/api/v1",
5756
5756
  reasoning: false,
5757
5757
  input: ["text"],
5758
5758
  cost: {
5759
- input: 2.5,
5760
- output: 10,
5759
+ input: 0.15,
5760
+ output: 0.6,
5761
5761
  cacheRead: 0,
5762
5762
  cacheWrite: 0,
5763
5763
  },
5764
5764
  contextWindow: 128000,
5765
5765
  maxTokens: 4000,
5766
5766
  },
5767
- "cohere/command-r-08-2024": {
5768
- id: "cohere/command-r-08-2024",
5769
- name: "Cohere: Command R (08-2024)",
5767
+ "cohere/command-r-plus-08-2024": {
5768
+ id: "cohere/command-r-plus-08-2024",
5769
+ name: "Cohere: Command R+ (08-2024)",
5770
5770
  api: "openai-completions",
5771
5771
  provider: "openrouter",
5772
5772
  baseUrl: "https://openrouter.ai/api/v1",
5773
5773
  reasoning: false,
5774
5774
  input: ["text"],
5775
5775
  cost: {
5776
- input: 0.15,
5777
- output: 0.6,
5776
+ input: 2.5,
5777
+ output: 10,
5778
5778
  cacheRead: 0,
5779
5779
  cacheWrite: 0,
5780
5780
  },
@@ -5849,38 +5849,38 @@ export const MODELS = {
5849
5849
  contextWindow: 131072,
5850
5850
  maxTokens: 16384,
5851
5851
  },
5852
- "meta-llama/llama-3.1-70b-instruct": {
5853
- id: "meta-llama/llama-3.1-70b-instruct",
5854
- name: "Meta: Llama 3.1 70B Instruct",
5852
+ "meta-llama/llama-3.1-405b-instruct": {
5853
+ id: "meta-llama/llama-3.1-405b-instruct",
5854
+ name: "Meta: Llama 3.1 405B Instruct",
5855
5855
  api: "openai-completions",
5856
5856
  provider: "openrouter",
5857
5857
  baseUrl: "https://openrouter.ai/api/v1",
5858
5858
  reasoning: false,
5859
5859
  input: ["text"],
5860
5860
  cost: {
5861
- input: 0.39999999999999997,
5862
- output: 0.39999999999999997,
5861
+ input: 3.5,
5862
+ output: 3.5,
5863
5863
  cacheRead: 0,
5864
5864
  cacheWrite: 0,
5865
5865
  },
5866
- contextWindow: 131072,
5866
+ contextWindow: 130815,
5867
5867
  maxTokens: 4096,
5868
5868
  },
5869
- "meta-llama/llama-3.1-405b-instruct": {
5870
- id: "meta-llama/llama-3.1-405b-instruct",
5871
- name: "Meta: Llama 3.1 405B Instruct",
5869
+ "meta-llama/llama-3.1-70b-instruct": {
5870
+ id: "meta-llama/llama-3.1-70b-instruct",
5871
+ name: "Meta: Llama 3.1 70B Instruct",
5872
5872
  api: "openai-completions",
5873
5873
  provider: "openrouter",
5874
5874
  baseUrl: "https://openrouter.ai/api/v1",
5875
5875
  reasoning: false,
5876
5876
  input: ["text"],
5877
5877
  cost: {
5878
- input: 3.5,
5879
- output: 3.5,
5878
+ input: 0.39999999999999997,
5879
+ output: 0.39999999999999997,
5880
5880
  cacheRead: 0,
5881
5881
  cacheWrite: 0,
5882
5882
  },
5883
- contextWindow: 130815,
5883
+ contextWindow: 131072,
5884
5884
  maxTokens: 4096,
5885
5885
  },
5886
5886
  "mistralai/mistral-nemo": {
@@ -5900,9 +5900,9 @@ export const MODELS = {
5900
5900
  contextWindow: 131072,
5901
5901
  maxTokens: 16384,
5902
5902
  },
5903
- "openai/gpt-4o-mini": {
5904
- id: "openai/gpt-4o-mini",
5905
- name: "OpenAI: GPT-4o-mini",
5903
+ "openai/gpt-4o-mini-2024-07-18": {
5904
+ id: "openai/gpt-4o-mini-2024-07-18",
5905
+ name: "OpenAI: GPT-4o-mini (2024-07-18)",
5906
5906
  api: "openai-completions",
5907
5907
  provider: "openrouter",
5908
5908
  baseUrl: "https://openrouter.ai/api/v1",
@@ -5917,9 +5917,9 @@ export const MODELS = {
5917
5917
  contextWindow: 128000,
5918
5918
  maxTokens: 16384,
5919
5919
  },
5920
- "openai/gpt-4o-mini-2024-07-18": {
5921
- id: "openai/gpt-4o-mini-2024-07-18",
5922
- name: "OpenAI: GPT-4o-mini (2024-07-18)",
5920
+ "openai/gpt-4o-mini": {
5921
+ id: "openai/gpt-4o-mini",
5922
+ name: "OpenAI: GPT-4o-mini",
5923
5923
  api: "openai-completions",
5924
5924
  provider: "openrouter",
5925
5925
  baseUrl: "https://openrouter.ai/api/v1",
@@ -6291,9 +6291,9 @@ export const MODELS = {
6291
6291
  contextWindow: 16385,
6292
6292
  maxTokens: 4096,
6293
6293
  },
6294
- "openai/gpt-4": {
6295
- id: "openai/gpt-4",
6296
- name: "OpenAI: GPT-4",
6294
+ "openai/gpt-4-0314": {
6295
+ id: "openai/gpt-4-0314",
6296
+ name: "OpenAI: GPT-4 (older v0314)",
6297
6297
  api: "openai-completions",
6298
6298
  provider: "openrouter",
6299
6299
  baseUrl: "https://openrouter.ai/api/v1",
@@ -6308,38 +6308,38 @@ export const MODELS = {
6308
6308
  contextWindow: 8191,
6309
6309
  maxTokens: 4096,
6310
6310
  },
6311
- "openai/gpt-3.5-turbo": {
6312
- id: "openai/gpt-3.5-turbo",
6313
- name: "OpenAI: GPT-3.5 Turbo",
6311
+ "openai/gpt-4": {
6312
+ id: "openai/gpt-4",
6313
+ name: "OpenAI: GPT-4",
6314
6314
  api: "openai-completions",
6315
6315
  provider: "openrouter",
6316
6316
  baseUrl: "https://openrouter.ai/api/v1",
6317
6317
  reasoning: false,
6318
6318
  input: ["text"],
6319
6319
  cost: {
6320
- input: 0.5,
6321
- output: 1.5,
6320
+ input: 30,
6321
+ output: 60,
6322
6322
  cacheRead: 0,
6323
6323
  cacheWrite: 0,
6324
6324
  },
6325
- contextWindow: 16385,
6325
+ contextWindow: 8191,
6326
6326
  maxTokens: 4096,
6327
6327
  },
6328
- "openai/gpt-4-0314": {
6329
- id: "openai/gpt-4-0314",
6330
- name: "OpenAI: GPT-4 (older v0314)",
6328
+ "openai/gpt-3.5-turbo": {
6329
+ id: "openai/gpt-3.5-turbo",
6330
+ name: "OpenAI: GPT-3.5 Turbo",
6331
6331
  api: "openai-completions",
6332
6332
  provider: "openrouter",
6333
6333
  baseUrl: "https://openrouter.ai/api/v1",
6334
6334
  reasoning: false,
6335
6335
  input: ["text"],
6336
6336
  cost: {
6337
- input: 30,
6338
- output: 60,
6337
+ input: 0.5,
6338
+ output: 1.5,
6339
6339
  cacheRead: 0,
6340
6340
  cacheWrite: 0,
6341
6341
  },
6342
- contextWindow: 8191,
6342
+ contextWindow: 16385,
6343
6343
  maxTokens: 4096,
6344
6344
  },
6345
6345
  "openrouter/auto": {