---
title: Model Switcher — OpenCode V2 Plugin by Jad Madi (@jadmadi)
description: >-
  Slash commands that switch provider and model mid-session, resolved against
  the live model catalog.
href: /project/opencode-plugins/model-switcher/
category: Models
version: 2026.9.0
builtUnder: 2.0.16
license: MIT
repo: 'https://github.com/jadmadi/opencode-model-switcher'
author: Jad Madi
runtime: OpenCode V2
telemetry: 0% (Local First)
installCommand: 'opencode plugin add github:jadmadi/opencode-model-switcher'
tags:
  - models
  - providers
  - commands
---
# Model Switcher — OpenCode V2 Plugin

Slash commands that switch provider and model mid-session, resolved against the live model catalog.

- **Website**: https://jadmadi.net/project/opencode-plugins/model-switcher/
- **Repository**: https://github.com/jadmadi/opencode-model-switcher
- **Category**: Models
- **Version**: v2026.9.0 (CalVer)
- **Tested Runtime**: OpenCode v2.0.16
- **License**: MIT
- **Artifact**: `model-switcher.ts`
- **Updated**: 2026-09-25
- **Author**: [@JadMadi](https://x.com/jadmadi)

## Quick Install

Install with a single command in OpenCode V2:

```bash
opencode plugin add github:jadmadi/opencode-model-switcher
```

### Manual / Local Install

Copy model-switcher.ts into ~/.config/opencode/plugins/ and restart the TUI.

## The Problem It Solves

Mid-session model choice is manual: you need the exact provider and model id, and there is no quick view of what fits an intent such as free, cheap, fast, or vision.

## What It Does

Slash commands that switch provider and model mid-session, resolved against the live model catalog.

## Slash Commands

| Command | Description |
| :--- | :--- |
| `/model` | Show the current model and switch by reference or group. |
| `/free` | Cycle models that cost nothing. |
| `/cheap` | Cycle paid models, cheapest first. |
| `/think` | Cycle reasoning models. |
| `/vision` | Cycle models that accept images. |
| `/long` | Cycle models with a 400k+ context window. |
| `/newest` | Cycle the newest models. |
| `/muse` | Cycle Muse models. |
| `/glm` | Cycle GLM models. |
| `/nvid` | Cycle NVIDIA models. |

## Limitations & Safety Rules

The command set and pins come from ~/.config/opencode/model-switcher.json. No model ids are hard-coded.

## Frequently Asked Questions (Agent Q&A)

### Q: What problem does Model Switcher solve?
Mid-session model choice is manual: you need the exact provider and model id, and there is no quick view of what fits an intent such as free, cheap, fast, or vision.

### Q: How do I install and run Model Switcher?
Run `opencode plugin add github:jadmadi/opencode-model-switcher` in your terminal.

### Q: Does this plugin transmit telemetry or code externally?
No. It operates with 0% telemetry, local-first in ~/.config/opencode/plugins/.

## Links & Resources

- Dedicated Page: https://jadmadi.net/project/opencode-plugins/model-switcher/
- All OpenCode Plugins: https://jadmadi.net/project/opencode-plugins/
- GitHub Repository: https://github.com/jadmadi/opencode-model-switcher
- Changelog: https://github.com/jadmadi/opencode-model-switcher/blob/main/CHANGELOG.md
- Author Profile: https://jadmadi.net/about/
