Home / Claude Code mods / Interface / mixture-of-models

mixture-of-models

mixture-of-models is a Claude Code mod by alinaqi that routes each prompt to the cheapest capable model. Simple and coding work runs in a headless child Claude Code on an Anthropic-compatible gateway (GLM 5.3, Kimi K3, ...); critical work.

Updated 2026-10-11

What is mixture-of-models?

mixture-of-models is a Claude Code mod by alinaqi that routes each prompt to the cheapest capable model. Simple and coding work runs in a headless child Claude Code on an Anthropic-compatible gateway (GLM 5.3, Kimi K3, ...); critical work. It is listed under Interface and has 1 GitHub stars.

TypeClaude code mod
Authoralinaqi
Repositoryalinaqi/mixture-of-models-claude-mod
Popularity1 GitHub stars
CategoryInterface
SecurityHigh risk (48/100)
Rank#1,472 of 5,272 Claude Code mods; #584 in Interface
LicenseMIT
Last commit2026-10-11
Hooks7 events
Seesevery prompt
Draws onAbovePrompt, AssistantMessage, Pane, Spinner

Is mixture-of-models safe to install?

mixture-of-models scores 48/100 on the MCPMods security check: High risk. Things to review: sends data over the network; starts processes outside the sandbox; reads environment variables; watches every prompt or event. It passed 3 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
Sends data over the networkReview
Starts processes outside the sandboxReview
Writes no files or configPass
Reads environment variablesReview
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.command.register
$.env.getreads env vars
$.fs.readreads files
$.http.fetchnetwork requests
$.model.classifydrives Claude
$.process.runruns processes
$.session.cwd
$.session.messagesreads the transcript
$.session.model
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.askdraws interface
$.ui.invalidatedraws interface
$.ui.logdraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface

How do I install mixture-of-models?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/alinaqi/mixture-of-models-claude-mod
    claude plugin validate ./mixture-of-models-claude-mod/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add alinaqi/mixture-of-models-claude-mod && claude plugin install mixture-of-models@mixture-of-models-claude-mod

Or ask Claude to set it up

Paste this into Claude Code and it installs mixture-of-models for you:

Install the "mixture-of-models" Claude Code mod from https://github.com/alinaqi/mixture-of-models-claude-mod. Run claude plugin validate on it first and show me what it can access before you enable it.