From 9939acb61493feb6abb9a3fd912be42727496b0f Mon Sep 17 00:00:00 2001 From: henrycunh Date: Wed, 26 Jun 2024 06:04:19 +0000 Subject: [PATCH] chore: update model list --- model-list.json | 18 ++++++++++++++++++ src/model-list.ts | 22 ++++++++++++++++++++-- 2 files changed, 38 insertions(+), 2 deletions(-) diff --git a/model-list.json b/model-list.json index d81acd5..866af70 100644 --- a/model-list.json +++ b/model-list.json @@ -1504,6 +1504,24 @@ "outputCost": 0.00000125, "outputCostUnit": "token" }, + { + "maxTokens": 4096, + "name": "openrouter/anthropic/claude-3-haiku-20240307", + "type": "chat", + "inputCost": 2.5e-7, + "inputCostUnit": "token", + "outputCost": 0.00000125, + "outputCostUnit": "token" + }, + { + "maxTokens": 4096, + "name": "openrouter/anthropic/claude-3.5-sonnet", + "type": "chat", + "inputCost": 0.000003, + "inputCostUnit": "token", + "outputCost": 0.000015, + "outputCostUnit": "token" + }, { "maxTokens": 200000, "name": "openrouter/anthropic/claude-3-sonnet", diff --git a/src/model-list.ts b/src/model-list.ts index 3af67f2..04acab6 100644 --- a/src/model-list.ts +++ b/src/model-list.ts @@ -1,5 +1,5 @@ -// Last updated: 2024-06-26T00:12:33.853Z -// Next update: 2024-06-26T06:12:33.853Z +// Last updated: 2024-06-26T06:04:19.103Z +// Next update: 2024-06-26T12:04:19.103Z export type AICostModelProvider = 'openai' | 'text-completion-openai' | 'azure' | 'anthropic' | 'mistral' | 'deepseek' | 'groq' | 'friendliai' | 'vertex-ai' | 'vertex_ai-code-chat-models' | 'vertex_ai-anthropic_models' | 'cohere_chat' | 'cohere' | 'replicate' | 'openrouter' | 'ai21' | 'nlp_cloud' | 'aleph_alpha' | 'bedrock' | 'sagemaker' | 'ollama' | 'deepinfra' | 'perplexity' | 'anyscale' | 'cloudflare' | 'voyage' | 'databricks' @@ -1510,6 +1510,24 @@ export const AICostModelList = { "outputCost": 0.00000125, "outputCostUnit": "token" }, + { + "maxTokens": 4096, + "name": "openrouter/anthropic/claude-3-haiku-20240307", + "type": "chat", + "inputCost": 2.5e-7, + "inputCostUnit": "token", + "outputCost": 0.00000125, + "outputCostUnit": "token" + }, + { + "maxTokens": 4096, + "name": "openrouter/anthropic/claude-3.5-sonnet", + "type": "chat", + "inputCost": 0.000003, + "inputCostUnit": "token", + "outputCost": 0.000015, + "outputCostUnit": "token" + }, { "maxTokens": 200000, "name": "openrouter/anthropic/claude-3-sonnet",