Skip to content

Commit

Permalink
chore: update model list
Browse files Browse the repository at this point in the history
  • Loading branch information
henrycunh authored and mojo-jojo-bot[bot] committed Jun 26, 2024
1 parent 68a4b89 commit 9939acb
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 2 deletions.
18 changes: 18 additions & 0 deletions model-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
22 changes: 20 additions & 2 deletions src/model-list.ts
Original file line number Diff line number Diff line change
@@ -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'

Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 9939acb

Please sign in to comment.