# Model Selector Prompt

> A benchmark-informed prompt composer with an advanced LLM model selector for comparing frontier models across capability, speed, context, and cost. The model dropdown is searchable; hovering a model opens a preview card with animated metric bars (intelligence, speed, context, cost) and inline reasoning/speed configuration that adjusts the metrics live. Includes provider marks, per-model configuration badges, a scroll-faded list, and a Send action. Built on Base UI Combobox + Preview Card.

- Author: [dqnamo](https://21st.dev/@dqnamo)
- License: mit
- Tags: Select, Combobox, AI, Prompt, Llm
- npm dependencies: @base-ui/react, @phosphor-icons/react
- Live preview: https://21st.dev/@dqnamo/components/model-selector

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/dqnamo/model-selector?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt · More like this: https://21st.dev/community/components/s/select.md
