You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add deepseek-v4-pro and deepseek-v4-flash (1M context, verified against DeepSeek pricing docs)
Add mistral-medium-2604 (Mistral Medium 3.5, 256K context, $1.50/$7.50, verified against Mistral docs)
Fix codestral-latest and codestral-2508 context window 128K → 256K (verified: Codestral 25.08 is 256K)
All values verified against each provider's live docs — cross-checked models.dev but did not treat it as source of truth (it had stale data for gpt-5-chat-latest, Ministral, and several -latest aliases, which were left unchanged because ours were already correct).
Type of Change
Improvement (data accuracy)
Testing
Tested manually — models.ts parses cleanly and passes file-scoped typecheck.
Low Risk
Declarative catalog-only changes; no runtime logic, auth, or API behavior—only model picker, pricing, and capability metadata.
Overview
Updates the provider model catalog in models.ts with new DeepSeek and Mistral entries and corrects Codestral context limits.
DeepSeek adds deepseek-v4-pro and deepseek-v4-flash ahead of existing chat models, each with 1M context, provider-aligned pricing (including cached input where applicable), and release metadata; flash includes temperature support.
Mistral adds mistral-medium-2604 (Medium 3.5) with 256K context and $1.50 / $7.50 input/output pricing.
Codestral bumps contextWindow from 128K to 256K for codestral-latest and codestral-2508 only; pricing and capabilities are unchanged.
This PR is a data accuracy update to models.ts, adding two new DeepSeek V4 models and one Mistral model, and correcting two Codestral context window values that were stale at 128K.
DeepSeek: Adds deepseek-v4-pro (1M context, $0.435/$0.87, $0.003625 cached) and deepseek-v4-flash (1M context, $0.14/$0.28, $0.0028 cached) — pricing verified exactly against api-docs.deepseek.com. deepseek-v4-pro intentionally omits a temperature capability, matching the existing pattern for reasoning-focused models (deepseek-r1, deepseek-reasoner).
Mistral: Adds mistral-medium-2604 (Mistral Medium 3.5, 256K context, $1.50/$7.50) inserted correctly before the older mistral-medium-2508 entry.
Codestral fix: Bumps codestral-latest and codestral-2508 context window from 128K → 256K, confirmed by the Codestral 25.08 release announcement.
Confidence Score: 5/5
Safe to merge — all changed values are data-only corrections with no logic or API surface changes.
Every pricing value, model ID, and context window in the diff was cross-checked against authoritative sources: DeepSeek's official API docs confirm the V4-Pro and V4-Flash pricing to the cent (including the $0.003625 cached-input figure), the Codestral 25.08 announcement confirms 256K context, and the Mistral model naming convention and 256K context for Medium 3.5 are consistent with Mistral's docs. The temperature capability asymmetry between the two new DeepSeek models follows the established codebase pattern (reasoning-focused models carry empty capabilities objects).
No files require special attention.
Important Files Changed
Filename
Overview
apps/sim/providers/models.ts
Adds deepseek-v4-pro and deepseek-v4-flash (pricing confirmed against official DeepSeek API docs), mistral-medium-2604 (Mistral Medium 3.5), and corrects codestral-latest/codestral-2508 context window from 128K to 256K.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
deepseek-v4-proanddeepseek-v4-flash(1M context, verified against DeepSeek pricing docs)mistral-medium-2604(Mistral Medium 3.5, 256K context, $1.50/$7.50, verified against Mistral docs)codestral-latestandcodestral-2508context window 128K → 256K (verified: Codestral 25.08 is 256K)All values verified against each provider's live docs — cross-checked models.dev but did not treat it as source of truth (it had stale data for
gpt-5-chat-latest, Ministral, and several-latestaliases, which were left unchanged because ours were already correct).Type of Change
Testing
Tested manually —
models.tsparses cleanly and passes file-scoped typecheck.Checklist