Remove unusable models; minor fixes

This commit is contained in:
Saoud Rizwan
2024-08-11 03:24:10 -04:00
parent 3c082e753b
commit 6454163078
4 changed files with 52 additions and 59 deletions

View File

@@ -133,24 +133,25 @@ export const openRouterModels = {
inputPrice: 10,
outputPrice: 30,
},
"meta-llama/llama-3.1-405b-instruct": {
maxTokens: 2048,
supportsImages: false,
inputPrice: 2.7,
outputPrice: 2.7,
},
"meta-llama/llama-3.1-70b-instruct": {
maxTokens: 2048,
supportsImages: false,
inputPrice: 0.52,
outputPrice: 0.75,
},
"meta-llama/llama-3.1-8b-instruct": {
maxTokens: 2048,
supportsImages: false,
inputPrice: 0.06,
outputPrice: 0.06,
},
// llama 3.1 models cannot use tools yet
// "meta-llama/llama-3.1-405b-instruct": {
// maxTokens: 2048,
// supportsImages: false,
// inputPrice: 2.7,
// outputPrice: 2.7,
// },
// "meta-llama/llama-3.1-70b-instruct": {
// maxTokens: 2048,
// supportsImages: false,
// inputPrice: 0.52,
// outputPrice: 0.75,
// },
// "meta-llama/llama-3.1-8b-instruct": {
// maxTokens: 2048,
// supportsImages: false,
// inputPrice: 0.06,
// outputPrice: 0.06,
// },
"google/gemini-pro-1.5": {
maxTokens: 8192,
supportsImages: true,
@@ -163,46 +164,38 @@ export const openRouterModels = {
inputPrice: 0.25,
outputPrice: 0.75,
},
// while deepseek coder can use tools, it may sometimes send tool invocation as a text block
"deepseek/deepseek-coder": {
maxTokens: 4096,
supportsImages: false,
inputPrice: 0.14,
outputPrice: 0.28,
},
// mistral models can use tools but aren't great at going step-by-step and proceeding to the next step
"mistralai/mistral-large": {
maxTokens: 8192,
supportsImages: false,
inputPrice: 3,
outputPrice: 9,
},
"mistralai/mistral-medium": {
maxTokens: 4096,
supportsImages: false,
inputPrice: 2.7,
outputPrice: 8.1,
},
"mistralai/mistral-small": {
maxTokens: 4096,
supportsImages: false,
inputPrice: 2,
outputPrice: 6,
},
"mistralai/mistral-7b-instruct-v0.1": {
maxTokens: 4096,
supportsImages: false,
inputPrice: 0.06,
outputPrice: 0.06,
},
"cohere/command-r-plus": {
maxTokens: 4000,
supportsImages: false,
inputPrice: 3,
outputPrice: 15,
},
"cohere/command-r": {
maxTokens: 4000,
supportsImages: false,
inputPrice: 0.5,
outputPrice: 1.5,
},
// This model is not capable of complex system/tool prompts
// "mistralai/mistral-7b-instruct-v0.1": {
// maxTokens: 4096,
// supportsImages: false,
// inputPrice: 0.06,
// outputPrice: 0.06,
// },
// cohere models are not capable of complex system/tool prompts
// "cohere/command-r-plus": {
// maxTokens: 4000,
// supportsImages: false,
// inputPrice: 3,
// outputPrice: 15,
// },
// "cohere/command-r": {
// maxTokens: 4000,
// supportsImages: false,
// inputPrice: 0.5,
// outputPrice: 1.5,
// },
} as const satisfies Record<string, ModelInfo>