Feat: Kilo Gateway: Add MiniMax M2.7#1414
Merged
rekram1-node merged 1 commit intoanomalyco:devfrom Apr 10, 2026
Merged
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
feat: Add MiniMax M2.7 to Kilo Gateway
Summary
Adds
providers/kilo/models/minimax/minimax-m2.7.toml— the MiniMax M2.7 model is available on the Kilo gateway API but was missing from the models.dev database for the Kilo provider.File created
providers/kilo/models/minimax/minimax-m2.7.tomlField-by-field rationale
name"MiniMax: MiniMax M2.7""MiniMax: MiniMax M2.5","MiniMax: MiniMax M2.1"). The prefix"MiniMax: "is Kilo-specific and differs from other providers.family"minimax-m2.7"packages/core/src/family.ts.release_date"2026-03-18"last_updated"2026-03-18"attachmentfalsereasoningtruereasoningandinclude_reasoningas supported parameters for this model.temperaturetruetemperatureas a supported parameter.tool_calltruetoolsandtool_choiceas supported parameters. Confirmed by official MiniMax M2.7 function-calling documentation.open_weightstruecost.input0.3cost.output1.2cost.cache_read0.06limit.context204_800limit.output131_072modalities.input["text"]modalities.output["text"]Fields intentionally omitted
structured_output— Kilo's API surface listsresponse_formatas a parameter, but the official MiniMax API documentation explicitly states thatresponse_format(JSON schema structured output) is "only supported by MiniMax-Text-01", not M2.7. No other Kilo MiniMax model carries this field, and the two other providers with M2.7 (opencode-go, ollama-cloud) also omit it. The field was removed to stay consistent and avoid claiming a capability the model does not formally support.interleaved— novita-ai setsinterleaved.field = "reasoning_content"for M2.7, reflecting MiniMax's native API behaviour. Kilo exposes reasoning via aninclude_reasoningparameter rather than a named field, and no other Kilo MiniMax model usesinterleaved. Omitted until Kilo's reasoning output field name is confirmed.knowledge— Not reported by the Kilo API for this model. Omitted to avoid guessing.Verification
Exits with code 0. The new model appears correctly in the generated output: