|
|
@@ -670,13 +670,53 @@ export type MistralModelId = keyof typeof mistralModels
|
|
|
export const mistralDefaultModelId: MistralModelId = "codestral-latest"
|
|
|
export const mistralModels = {
|
|
|
"codestral-latest": {
|
|
|
- maxTokens: 32_768,
|
|
|
+ maxTokens: 256_000,
|
|
|
contextWindow: 256_000,
|
|
|
supportsImages: false,
|
|
|
supportsPromptCache: false,
|
|
|
inputPrice: 0.3,
|
|
|
outputPrice: 0.9,
|
|
|
},
|
|
|
+ "mistral-large-latest": {
|
|
|
+ maxTokens: 131_000,
|
|
|
+ contextWindow: 131_000,
|
|
|
+ supportsImages: false,
|
|
|
+ supportsPromptCache: false,
|
|
|
+ inputPrice: 2.0,
|
|
|
+ outputPrice: 6.0,
|
|
|
+ },
|
|
|
+ "ministral-8b-latest": {
|
|
|
+ maxTokens: 131_000,
|
|
|
+ contextWindow: 131_000,
|
|
|
+ supportsImages: false,
|
|
|
+ supportsPromptCache: false,
|
|
|
+ inputPrice: 0.1,
|
|
|
+ outputPrice: 0.1,
|
|
|
+ },
|
|
|
+ "ministral-3b-latest": {
|
|
|
+ maxTokens: 131_000,
|
|
|
+ contextWindow: 131_000,
|
|
|
+ supportsImages: false,
|
|
|
+ supportsPromptCache: false,
|
|
|
+ inputPrice: 0.04,
|
|
|
+ outputPrice: 0.04,
|
|
|
+ },
|
|
|
+ "mistral-small-latest": {
|
|
|
+ maxTokens: 32_000,
|
|
|
+ contextWindow: 32_000,
|
|
|
+ supportsImages: false,
|
|
|
+ supportsPromptCache: false,
|
|
|
+ inputPrice: 0.2,
|
|
|
+ outputPrice: 0.6,
|
|
|
+ },
|
|
|
+ "pixtral-large-latest": {
|
|
|
+ maxTokens: 131_000,
|
|
|
+ contextWindow: 131_000,
|
|
|
+ supportsImages: true,
|
|
|
+ supportsPromptCache: false,
|
|
|
+ inputPrice: 2.0,
|
|
|
+ outputPrice: 6.0,
|
|
|
+ },
|
|
|
} as const satisfies Record<string, ModelInfo>
|
|
|
|
|
|
// Unbound Security
|