mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
feat(models): added latest mistral models (#2159)
This commit is contained in:
+169
-18
@@ -1029,7 +1029,14 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
|
||||
name: 'Mistral AI',
|
||||
description: "Mistral AI's language models",
|
||||
defaultModel: 'mistral-large-latest',
|
||||
modelPatterns: [/^mistral/, /^magistral/, /^open-mistral/, /^codestral/, /^ministral/],
|
||||
modelPatterns: [
|
||||
/^mistral/,
|
||||
/^magistral/,
|
||||
/^open-mistral/,
|
||||
/^codestral/,
|
||||
/^ministral/,
|
||||
/^devstral/,
|
||||
],
|
||||
icon: MistralIcon,
|
||||
capabilities: {
|
||||
toolUsageControl: true,
|
||||
@@ -1038,14 +1045,26 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
|
||||
{
|
||||
id: 'mistral-large-latest',
|
||||
pricing: {
|
||||
input: 2.0,
|
||||
output: 6.0,
|
||||
updatedAt: '2025-10-11',
|
||||
input: 0.5,
|
||||
output: 1.5,
|
||||
updatedAt: '2025-12-02',
|
||||
},
|
||||
capabilities: {
|
||||
temperature: { min: 0, max: 1 },
|
||||
},
|
||||
contextWindow: 128000,
|
||||
contextWindow: 256000,
|
||||
},
|
||||
{
|
||||
id: 'mistral-large-2512',
|
||||
pricing: {
|
||||
input: 0.5,
|
||||
output: 1.5,
|
||||
updatedAt: '2025-12-02',
|
||||
},
|
||||
capabilities: {
|
||||
temperature: { min: 0, max: 1 },
|
||||
},
|
||||
contextWindow: 256000,
|
||||
},
|
||||
{
|
||||
id: 'mistral-large-2411',
|
||||
@@ -1076,7 +1095,31 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
|
||||
pricing: {
|
||||
input: 2.0,
|
||||
output: 5.0,
|
||||
updatedAt: '2025-10-11',
|
||||
updatedAt: '2025-12-02',
|
||||
},
|
||||
capabilities: {
|
||||
temperature: { min: 0, max: 1 },
|
||||
},
|
||||
contextWindow: 128000,
|
||||
},
|
||||
{
|
||||
id: 'magistral-small-latest',
|
||||
pricing: {
|
||||
input: 0.5,
|
||||
output: 1.5,
|
||||
updatedAt: '2025-12-02',
|
||||
},
|
||||
capabilities: {
|
||||
temperature: { min: 0, max: 1 },
|
||||
},
|
||||
contextWindow: 128000,
|
||||
},
|
||||
{
|
||||
id: 'magistral-small-2509',
|
||||
pricing: {
|
||||
input: 0.5,
|
||||
output: 1.5,
|
||||
updatedAt: '2025-12-02',
|
||||
},
|
||||
capabilities: {
|
||||
temperature: { min: 0, max: 1 },
|
||||
@@ -1088,7 +1131,7 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
|
||||
pricing: {
|
||||
input: 0.4,
|
||||
output: 2.0,
|
||||
updatedAt: '2025-10-11',
|
||||
updatedAt: '2025-12-02',
|
||||
},
|
||||
capabilities: {
|
||||
temperature: { min: 0, max: 1 },
|
||||
@@ -1107,12 +1150,24 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
|
||||
},
|
||||
contextWindow: 128000,
|
||||
},
|
||||
{
|
||||
id: 'mistral-medium-2505',
|
||||
pricing: {
|
||||
input: 0.4,
|
||||
output: 2.0,
|
||||
updatedAt: '2025-05-07',
|
||||
},
|
||||
capabilities: {
|
||||
temperature: { min: 0, max: 1 },
|
||||
},
|
||||
contextWindow: 128000,
|
||||
},
|
||||
{
|
||||
id: 'mistral-small-latest',
|
||||
pricing: {
|
||||
input: 0.2,
|
||||
output: 0.6,
|
||||
updatedAt: '2025-10-11',
|
||||
input: 0.1,
|
||||
output: 0.3,
|
||||
updatedAt: '2025-12-02',
|
||||
},
|
||||
capabilities: {
|
||||
temperature: { min: 0, max: 1 },
|
||||
@@ -1122,9 +1177,9 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
|
||||
{
|
||||
id: 'mistral-small-2506',
|
||||
pricing: {
|
||||
input: 0.2,
|
||||
output: 0.6,
|
||||
updatedAt: '2025-10-11',
|
||||
input: 0.1,
|
||||
output: 0.3,
|
||||
updatedAt: '2025-12-02',
|
||||
},
|
||||
capabilities: {
|
||||
temperature: { min: 0, max: 1 },
|
||||
@@ -1168,23 +1223,95 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
|
||||
contextWindow: 256000,
|
||||
},
|
||||
{
|
||||
id: 'ministral-8b-latest',
|
||||
id: 'devstral-small-latest',
|
||||
pricing: {
|
||||
input: 0.1,
|
||||
output: 0.1,
|
||||
updatedAt: '2025-10-11',
|
||||
output: 0.3,
|
||||
updatedAt: '2025-12-02',
|
||||
},
|
||||
capabilities: {
|
||||
temperature: { min: 0, max: 1 },
|
||||
},
|
||||
contextWindow: 128000,
|
||||
},
|
||||
{
|
||||
id: 'devstral-small-2507',
|
||||
pricing: {
|
||||
input: 0.1,
|
||||
output: 0.3,
|
||||
updatedAt: '2025-07-10',
|
||||
},
|
||||
capabilities: {
|
||||
temperature: { min: 0, max: 1 },
|
||||
},
|
||||
contextWindow: 128000,
|
||||
},
|
||||
{
|
||||
id: 'devstral-medium-2507',
|
||||
pricing: {
|
||||
input: 0.5,
|
||||
output: 1.5,
|
||||
updatedAt: '2025-07-10',
|
||||
},
|
||||
capabilities: {
|
||||
temperature: { min: 0, max: 1 },
|
||||
},
|
||||
contextWindow: 128000,
|
||||
},
|
||||
{
|
||||
id: 'ministral-14b-latest',
|
||||
pricing: {
|
||||
input: 0.2,
|
||||
output: 0.2,
|
||||
updatedAt: '2025-12-02',
|
||||
},
|
||||
capabilities: {
|
||||
temperature: { min: 0, max: 1 },
|
||||
},
|
||||
contextWindow: 256000,
|
||||
},
|
||||
{
|
||||
id: 'ministral-14b-2512',
|
||||
pricing: {
|
||||
input: 0.2,
|
||||
output: 0.2,
|
||||
updatedAt: '2025-12-02',
|
||||
},
|
||||
capabilities: {
|
||||
temperature: { min: 0, max: 1 },
|
||||
},
|
||||
contextWindow: 256000,
|
||||
},
|
||||
{
|
||||
id: 'ministral-8b-latest',
|
||||
pricing: {
|
||||
input: 0.15,
|
||||
output: 0.15,
|
||||
updatedAt: '2025-12-02',
|
||||
},
|
||||
capabilities: {
|
||||
temperature: { min: 0, max: 1 },
|
||||
},
|
||||
contextWindow: 256000,
|
||||
},
|
||||
{
|
||||
id: 'ministral-8b-2512',
|
||||
pricing: {
|
||||
input: 0.15,
|
||||
output: 0.15,
|
||||
updatedAt: '2025-12-02',
|
||||
},
|
||||
capabilities: {
|
||||
temperature: { min: 0, max: 1 },
|
||||
},
|
||||
contextWindow: 256000,
|
||||
},
|
||||
{
|
||||
id: 'ministral-8b-2410',
|
||||
pricing: {
|
||||
input: 0.1,
|
||||
output: 0.1,
|
||||
updatedAt: '2025-10-11',
|
||||
updatedAt: '2025-10-09',
|
||||
},
|
||||
capabilities: {
|
||||
temperature: { min: 0, max: 1 },
|
||||
@@ -1193,10 +1320,34 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
|
||||
},
|
||||
{
|
||||
id: 'ministral-3b-latest',
|
||||
pricing: {
|
||||
input: 0.1,
|
||||
output: 0.1,
|
||||
updatedAt: '2025-12-02',
|
||||
},
|
||||
capabilities: {
|
||||
temperature: { min: 0, max: 1 },
|
||||
},
|
||||
contextWindow: 256000,
|
||||
},
|
||||
{
|
||||
id: 'ministral-3b-2512',
|
||||
pricing: {
|
||||
input: 0.1,
|
||||
output: 0.1,
|
||||
updatedAt: '2025-12-02',
|
||||
},
|
||||
capabilities: {
|
||||
temperature: { min: 0, max: 1 },
|
||||
},
|
||||
contextWindow: 256000,
|
||||
},
|
||||
{
|
||||
id: 'ministral-3b-2410',
|
||||
pricing: {
|
||||
input: 0.04,
|
||||
output: 0.04,
|
||||
updatedAt: '2025-10-11',
|
||||
updatedAt: '2025-10-09',
|
||||
},
|
||||
capabilities: {
|
||||
temperature: { min: 0, max: 1 },
|
||||
|
||||
Reference in New Issue
Block a user