Skip to content

Commit 7cac64d

Browse files
committed
fix: correct Mistral codestral-latest context window from 256k to 131k
Fixes #9344 - The codestral-latest model had an incorrect context window of 256,000 tokens when it should be 131,000 according to official Mistral documentation.
1 parent f7c2e8d commit 7cac64d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/types/src/providers/mistral.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ export const mistralModels = {
3131
outputPrice: 2.0,
3232
},
3333
"codestral-latest": {
34-
maxTokens: 256_000,
35-
contextWindow: 256_000,
34+
maxTokens: 131_000,
35+
contextWindow: 131_000,
3636
supportsImages: false,
3737
supportsPromptCache: false,
3838
inputPrice: 0.3,

0 commit comments

Comments
 (0)