---
title: "Model router animated icon"
description: "Model router animated icon (AI · Agents). The switch arm pivots on its hub from the middle port to the selected top port and holds that setting."
canonical: https://generativeicons.com/icons/model-router/
---

# Model router animated icon

The switch arm pivots on its hub from the middle port to the selected top port and holds that setting.

- Id: `model-router`
- Category: AI · Agents
- Search terms: model routing, llm router, route request, model selection, choose model, smart routing, dispatcher, selector switch, rotary switch
- Two states: prepared to result, played forward and back
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.com/assets/model-router.lottie (dotLottie, 7314 bytes, sha256 f0cc12907b36fc37cb032f5f12ad5d17478e4e8547817cb2e4eff416f600f309)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add model-router
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/model-router.mjs';

export function ModelRouterIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/model-router.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.com/icons/model-router/ · https://generativeicons.com/api/icons/model-router
