glean/models/minimax
MiniMax models.
MiniMax documents temperature and top_p as having no effect, so this
builder doesn’t offer them.
Types
Values
pub fn configure(
m: MiniMax,
f: fn(config.ProviderConfig) -> config.ProviderConfig,
) -> MiniMax
Change the provider configuration: base URL, timeout, headers, retries.
|> configure(config.timeout(_, 120_000))
pub fn custom(
api_key key: String,
model model_id: String,
) -> MiniMax
Any other model ID served by this API, such as one released after this version of glean. Only this module’s setters are available, so check the model accepts them.
pub fn m2_5(api_key key: String) -> MiniMax
Deprecated: MiniMax-M2.5 retires for pay-as-you-go on Nov 18, 2026. Use minimax.m3() instead.
MiniMax M2.5. Model ID: MiniMax-M2.5.
pub fn m2_7(api_key key: String) -> MiniMax
Deprecated: MiniMax-M2.7 retires for pay-as-you-go on Nov 18, 2026. Use minimax.m3() instead.
MiniMax M2.7. Model ID: MiniMax-M2.7.
pub fn m3_1_flash(api_key key: String) -> MiniMax
MiniMax M3.1 Flash. Model ID: MiniMax-M3.1-Flash.