Skip to content

Commit 05fc509

Browse files
committed
added more model endpoints
1 parent cbf47aa commit 05fc509

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

src/shared/api.ts

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,13 +641,45 @@ export type MistralModelId = keyof typeof mistralModels
641641
export const mistralDefaultModelId: MistralModelId = "codestral-latest"
642642
export const mistralModels = {
643643
"codestral-latest": {
644-
maxTokens: 32_768,
644+
maxTokens: 256_000,
645645
contextWindow: 256_000,
646646
supportsImages: false,
647647
supportsPromptCache: false,
648648
inputPrice: 0.3,
649649
outputPrice: 0.9,
650650
},
651+
"mistral-large-latest": {
652+
maxTokens: 131_000,
653+
contextWindow: 131_000,
654+
supportsImages: false,
655+
supportsPromptCache: false,
656+
inputPrice: 2.0,
657+
outputPrice: 6.0,
658+
},
659+
"ministral-8b-latest": {
660+
maxTokens: 131_000,
661+
contextWindow: 131_000,
662+
supportsImages: false,
663+
supportsPromptCache: false,
664+
inputPrice: 0.1,
665+
outputPrice: 0.1,
666+
},
667+
"ministral-3b-latest": {
668+
maxTokens: 131_000,
669+
contextWindow: 131_000,
670+
supportsImages: false,
671+
supportsPromptCache: false,
672+
inputPrice: 0.04,
673+
outputPrice: 0.04,
674+
},
675+
"mistral-small-latest": {
676+
maxTokens: 32_000,
677+
contextWindow: 32_000,
678+
supportsImages: false,
679+
supportsPromptCache: false,
680+
inputPrice: 0.2,
681+
outputPrice: 0.6,
682+
},
651683
} as const satisfies Record<string, ModelInfo>
652684

653685
// Unbound Security

0 commit comments

Comments
 (0)