Skip to main content

mixtape_core/models/
mistral.rs

1//! Mistral AI models
2
3use super::define_model;
4
5define_model!(
6    /// Mistral Large 3 - Flagship 675B MoE model with 41B active parameters
7    MistralLarge3 {
8        display_name: "Mistral Large 3",
9        bedrock_id: "mistral.mistral-large-3-675b-instruct",
10        context_tokens: 256_000,
11        output_tokens: 8_192
12    }
13);
14
15define_model!(
16    /// Magistral Small - Efficient 24B reasoning model with vision
17    MagistralSmall {
18        display_name: "Magistral Small",
19        bedrock_id: "mistral.magistral-small-2509",
20        context_tokens: 128_000,
21        output_tokens: 8_192
22    }
23);
24
25define_model!(
26    /// Ministral 3B - Compact 3B instruction model
27    Ministral3B {
28        display_name: "Ministral 3B",
29        bedrock_id: "mistral.ministral-3-3b-instruct",
30        context_tokens: 128_000,
31        output_tokens: 8_192
32    }
33);
34
35define_model!(
36    /// Ministral 8B - Efficient 8B instruction model
37    Ministral8B {
38        display_name: "Ministral 8B",
39        bedrock_id: "mistral.ministral-3-8b-instruct",
40        context_tokens: 128_000,
41        output_tokens: 8_192
42    }
43);
44
45define_model!(
46    /// Ministral 14B - Mid-size 14B instruction model
47    Ministral14B {
48        display_name: "Ministral 14B",
49        bedrock_id: "mistral.ministral-3-14b-instruct",
50        context_tokens: 128_000,
51        output_tokens: 8_192
52    }
53);
54
55define_model!(
56    /// Pixtral Large - Vision-capable large model
57    PixtralLarge {
58        display_name: "Pixtral Large",
59        bedrock_id: "mistral.pixtral-large-2502-v1:0",
60        context_tokens: 128_000,
61        output_tokens: 8_192
62    }
63);
64
65define_model!(
66    /// Voxtral Mini 3B - Speech and text input model
67    VoxtralMini3B {
68        display_name: "Voxtral Mini 3B",
69        bedrock_id: "mistral.voxtral-mini-3b-2507",
70        context_tokens: 128_000,
71        output_tokens: 8_192
72    }
73);
74
75define_model!(
76    /// Voxtral Small 24B - Speech and text input model
77    VoxtralSmall24B {
78        display_name: "Voxtral Small 24B",
79        bedrock_id: "mistral.voxtral-small-24b-2507",
80        context_tokens: 128_000,
81        output_tokens: 8_192
82    }
83);