Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/types/src/providers/mistral.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ export const mistralDefaultModelId: MistralModelId = "codestral-latest"

export const mistralModels = {
"magistral-medium-latest": {
maxTokens: 41_000,
maxTokens: 131_000,
contextWindow: 41_000,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1: contextWindow remains 41_000 for "magistral-medium-latest" while this PR/issue claim a 128k window. Please update this to match the provider’s documented context window (128_000 per issue) or 131_000 if we intentionally align with other entries here. Keeping maxTokens and contextWindow consistent avoids downstream logic relying on the smaller window.

Suggested change
contextWindow: 41_000,
contextWindow: 128_000,

supportsImages: false,
supportsImages: true,
supportsPromptCache: false,
inputPrice: 2.0,
outputPrice: 5.0,
Expand Down
Loading