/ Модель

Характеристики

Контекст
40 960 токенов
Параметры
29,7 млрд
Размер весов
65,5 ГБ
Лицензия
Apache 2.0
Архитектура
qwen3 · dense
Базовая модель
Qwen3-32B
Библиотека
transformers
Опубликована
16 окт 2026

switchboard-router-32b

Генерация текстаТекст → текст3 профессии

Switchboard Router 32B классифицирует текстовый запрос по уровню стоимости модели, чтобы направить его к наиболее дешёвому подходящему классу.

493скачиваний за 30 дней2лайкавеса обновлены27 окт 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Switchboard Router 32B — языковая модель для маршрутизации запросов по уровням стоимости моделей. Разработчик обучил её на базе Qwen3-32B: применил QLoRA с адаптерами ранга 32 на 4-битной NF4-базе и объединил адаптеры с весами BF16. Модель содержит 29,7 млрд параметров, использует архитектуру Qwen3 и принимает текстовые запросы, выдавая одну строку JSON с рекомендуемым уровнем модели — small, mid или frontier — и подсказкой о домене: code, math, writing или general.

Модель предназначена для систем, которые направляют каждый запрос к самому дешёвому классу моделей, ожидаемо способному хорошо с ним справиться. В оценке на 10 000 отложенных запросов она сэкономила 64,3% относительно постоянного использования Claude Opus 5.5; 4,4% запросов были направлены на слишком слабый уровень. Для работы доступна через Transformers и vLLM; автор сообщает, что FP8-версия помещается на одну GPU с 48 ГБ памяти. Лицензия — Apache-2.0.

Оценка проводилась на данных с ответами Mixtral-8x7B 2023 года и оценками GPT-4; набор в основном содержит запросы на английском. Модель обрабатывает только один запрос за раз, учитывает первые 512 токенов и не анализирует всю историю диалога. Она всё ещё ошибается при маршрутизации, а поле domain основано на ключевых словах и служит лишь подсказкой. Модель не следует использовать как границу безопасности.

Сценарии применения

  • выбор уровня модели для входящего запроса
  • снижение расходов на маршрутизацию запросов между LLM
  • направление сложных запросов к frontier-модели
  • классификация запросов по доменам code, math, writing и general

Ограничения

В тесте 4,4% запросов были направлены на слишком слабый уровень; оценка основана преимущественно на англоязычных данных и суждениях GPT-4 о ответах модели 2023 года. Модель рассматривает один запрос и первые 512 токенов, а маршрутизацию и поле domain нельзя использовать как границу безопасности.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Switchboard

switchboard-router-32b

Most prompts don't need a frontier model, the same way a plaster doesn't need a surgeon. Switchboard 32B reads a prompt and answers with one line of JSON: the cheapest tier that can handle it. Open weights, Apache 2.0.

Receipts, on 10,000 held-out prompts:

Switchboard 32BRandom routing
Cost vs. always Claude Opus 5.564.3% less
Sent to a model too small4.4%, the fewest of the three sizes10.0%

Every raw answer is on the evaluation page.

It is the largest of three sizes trained on the same data and tested on the same 10,000 prompts: 0.5B runs in your browser, 4B runs in Ollama, and this one runs on a single 48 GB GPU with vLLM.

Run it

Serve it with vLLM. In FP8 it fits on one 48 GB GPU:

vllm serve switchboardllm/switchboard-router-32b --quantization fp8 --max-model-len 4096

Then ask it about a prompt, with any OpenAI client:

from openai import OpenAI

client = OpenAI(base_url="http://localhost:8000/v1", api_key="unused")
reply = client.chat.completions.create(
    model="switchboardllm/switchboard-router-32b",
    messages=[{"role": "user", "content": "Unscramble the following words: eglar, ngareo, kobo"}],
    max_tokens=24,
    temperature=0,
)
print(reply.choices[0].message.content)
{"tier":"frontier","domain":"general"}

Or let the switchboard-router package do the routing:

from switchboard_router import Router

router = Router(backend="openai", base_url="http://localhost:8000/v1",
                backend_model="switchboardllm/switchboard-router-32b")
router.pick_model("Unscramble the following words: eglar, ngareo, kobo")

switchboard serve puts the same router in front of your app as an OpenAI-compatible proxy: send model="auto".

Use greedy decoding (temperature 0).

What it answers

FieldValues
tiersmall, mid or frontier: the cheapest class of model expected to answer the prompt well
domaincode, math, writing or general: a hint, from keyword labels

If the output isn't valid JSON, send the prompt to frontier. A failed routing call should cost money, never quality.

Three sizes, same test

All three models on the same 10,000 held-out prompts they never saw in training, in their natural mix:

0.5B4B32B
Cost saved vs. always using Claude Opus 5.564.5%67.0%64.3%
Hard prompts sent to frontier59.1%63.2%67.5%
Sent too low (needed frontier, sent cheaper)5.5%5.0%4.4%
Prompts served well (proxy)94.5%95.0%95.6%
Ranking AUC (hard vs. rest)0.7870.8270.840
Tier accuracy60.3%64.0%63.2%
Invalid JSON outputs000

32B minus 4B, paired bootstrap over the 10,000 prompts (2,000 resamples, 95% intervals):

32B minus 4B
Cost saved-2.8 pts (-3.3 to -2.1)
Hard prompts sent to frontier+4.4 pts (+2.3 to +6.4)
Sent too low-0.6 pts (-0.9 to -0.3)

A perfect router on this data would save 76.2%. The labels set that ceiling, not the model size.

How it's measured. Each prompt in routellm/gpt4_dataset comes with a 2023 Mixtral-8x7B answer scored 1-5 by a GPT-4 judge. A prompt counts as served well if Switchboard sent it to frontier, or sent it lower and that answer scored at least 4. Cost uses Surplus output prices per 1M tokens: Claude Haiku 5.5 ($0.50) for small, Claude Sonnet 5.5 ($10) for mid, Claude Opus 5.5 ($20) for frontier.

FP8

In FP8 the 32B fits on one 48 GB GPU. We ran 1,347 prompts through vLLM in BF16 and in FP8: the routing decision was the same on 1,285 of them (95.4%).

The 62 that changed go both ways: FP8 picked a higher tier 32 times and a lower one 30 times. On the 1,000 labelled prompts in that set, FP8 routes as well as BF16:

BF16FP8
Sent too low4.2%4.2%
Cost saved65.1%64.5%

The model

BaseQwen3-32B (Apache-2.0), 32.8B parameters
MethodQLoRA: rank 32 adapters trained on a 4-bit NF4 base, then merged into the BF16 base weights
Training dataroutellm/gpt4_dataset (Apache-2.0, LMSYS), 63,749 rows, the same set as the 0.5B and 4B
LabelsMixtral score 5 → small, 4 → mid, 1-3 → frontier; domain from keywords
Training1 epoch in 4.1 hours on one H100 80GB. Best checkpoint by eval loss (0.0829). Loss on the JSON answer only.
Prompt formatThe same chat template as the 0.5B and 4B, so the three are drop-in replacements for each other
Prompt lengthTrained on prompts cut to 512 tokens

Limitations

  • It still misroutes some prompts: 4.4% of held-out prompts were sent to a cheaper tier than they needed.
  • Labels come from 2023 models and a GPT-4 judge, not from people. Mostly English prompts.
  • It reads one prompt at a time, not the whole conversation, and only the first 512 tokens.
  • A prompt can try to talk it into a cheaper tier. Don't use it as a security boundary.
  • domain comes from keyword labels and is only a hint.
  • Switchboard is an independent project and is not affiliated with Anthropic, Alibaba, Robinhood, Surplus or the Switchboard oracle network.

License

Apache-2.0, inherited from Qwen3-32B and routellm/gpt4_dataset.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
Qwen3ForCausalLM
Ревизия весов
ff9676d

0 моделей