llm-host/llmhost/catalog.json
Neil Bantoc 623d093b81 Dashboard: a reasoning chooser, offering only what the model accepts
Reasoning effort isn't a backend flag -- vLLM's --reasoning-parser only parses
the output. It's a chat-template kwarg read per request, and the models differ:
Qwen3.8 27B's template takes enable_thinking plus reasoning_effort in
('low','medium','xhigh') and raises on anything else, while Ornith 1.5 9B takes
only enable_thinking. Note 'xhigh', not OpenAI's 'high'.

So the chooser is built from what the loaded model's own template actually reads
(hfcache.template_controls), with the level names from the catalog, which is the
part that can't be inferred -- a level the template doesn't know would make it
raise, so an undeclared or unreadable one is never offered or sent.

The proxy injects the setting into chat completions, with a key the client set
itself always winning, the same precedence mlx_lm gives its own
--chat-template-kwargs. Reading it from config per request (mtime-cached) means
the dashboard changes it with no restart, so the model stays loaded -- the
startup flag would have cost a full reload per change.

vLLM gets no control: llm-host runs it without a proxy, so there is nothing in
the path to inject the kwarg. The panel hides itself rather than pretend.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-11-03 02:15:12 -08:00

237 lines
6.3 KiB
JSON

{
"_comment": "kv_kib_per_token = KV cache cost per token with an fp8 cache, measured on vLLM 0.32 (MLX uses ~2x). Models llm-host knows how to serve. Order = preference for the default model. 'gb' is decimal GB of weights on disk (tools/refresh_catalog.py updates it). Formats: fp8/bf16/nvfp4/awq are vLLM builds for NVIDIA, mlx-* are Apple Silicon builds. 'mtp' marks builds that ship multi-token-prediction weights.",
"models": [
{
"name": "qwen3.8-27b",
"kv_kib_per_token": 37.2,
"title": "Qwen3.8 27B",
"about": "Dense 27B, hybrid attention, strong general coding and tool use.",
"context": 262144,
"hybrid": true,
"reasoning": true,
"vllm": {
"tool_parser": "qwen3_coder",
"reasoning_parser": "qwen3",
"kv_cache_dtype": "fp8",
"mtp_tokens": 3
},
"mlx": {},
"variants": {
"fp8": {
"repo": "Qwen/Qwen3.8-27B-FP8",
"gb": 30.9,
"mtp": true
},
"bf16": {
"repo": "Qwen/Qwen3.8-27B",
"gb": 55.6,
"mtp": true
},
"nvfp4": {
"repo": "nvidia/Qwen3.8-27B-NVFP4",
"gb": 21.9
},
"awq": {
"repo": "cyankiwi/Qwen3.8-27B-AWQ-INT4",
"gb": 21.0
},
"mlx-8bit": {
"repo": "lmstudio-community/Qwen3.8-27B-MLX-8bit",
"gb": 29.5
},
"mlx-6bit": {
"repo": "lmstudio-community/Qwen3.8-27B-MLX-6bit",
"gb": 22.8
},
"mlx-4bit": {
"repo": "lmstudio-community/Qwen3.8-27B-MLX-4bit",
"gb": 16.1
}
},
"effort": {
"levels": [
"low",
"medium",
"xhigh"
],
"default": "xhigh"
}
},
{
"name": "ornith-1.5-35b",
"kv_kib_per_token": 10.6,
"title": "Ornith 1.5 35B A3B",
"about": "35B mixture-of-experts with 3B active: very fast.",
"context": 262144,
"hybrid": true,
"reasoning": true,
"vllm": {
"tool_parser": "qwen3_xml",
"reasoning_parser": "qwen3",
"kv_cache_dtype": "fp8",
"trust_remote_code": true
},
"mlx": {
"trust_remote_code": true
},
"variants": {
"fp8": {
"repo": "ornith-ai/Ornith-1.5-35B-A3B-FP8",
"gb": 39.4
},
"bf16": {
"repo": "ornith-ai/Ornith-1.5-35B-A3B",
"gb": 71.9
},
"nvfp4": {
"repo": "ornith-ai/Ornith-1.5-35B-A3B-NVFP4",
"gb": 23.4
},
"awq": {
"repo": "cyankiwi/Ornith-1.5-35B-A3B-AWQ-INT4",
"gb": 26.1
},
"mlx-8bit": {
"repo": "ornith-ai/Ornith-1.5-35B-A3B-MLX-8bit",
"gb": 36.8
},
"mlx-6bit": {
"repo": "ornith-ai/Ornith-1.5-35B-A3B-MLX-6bit",
"gb": 28.2
},
"mlx-4bit": {
"repo": "ornith-ai/Ornith-1.5-35B-A3B-MLX-4bit",
"gb": 19.5
}
}
},
{
"name": "qwen3-coder",
"kv_kib_per_token": 48.0,
"title": "Qwen3 Coder 30B A3B",
"about": "Coding-tuned mixture-of-experts, no reasoning phase.",
"context": 262144,
"hybrid": false,
"reasoning": false,
"vllm": {
"tool_parser": "qwen3_coder",
"kv_cache_dtype": "fp8"
},
"mlx": {},
"variants": {
"fp8": {
"repo": "Qwen/Qwen3-Coder-30B-A3B-Instruct-FP8",
"gb": 31.2
},
"bf16": {
"repo": "Qwen/Qwen3-Coder-30B-A3B-Instruct",
"gb": 61.1
},
"awq": {
"repo": "cyankiwi/Qwen3-Coder-30B-A3B-Instruct-AWQ-4bit",
"gb": 18.1
},
"mlx-8bit": {
"repo": "lmstudio-community/Qwen3-Coder-30B-A3B-Instruct-MLX-8bit",
"gb": 32.4
},
"mlx-6bit": {
"repo": "lmstudio-community/Qwen3-Coder-30B-A3B-Instruct-MLX-6bit",
"gb": 24.8
},
"mlx-4bit": {
"repo": "lmstudio-community/Qwen3-Coder-30B-A3B-Instruct-MLX-4bit",
"gb": 17.2
}
}
},
{
"name": "ornith-1.5-122b",
"kv_kib_per_token": 13.2,
"title": "Ornith 1.5 122B",
"about": "Largest option; needs ~80 GB of GPU memory even at 4-bit.",
"context": 262144,
"hybrid": true,
"reasoning": true,
"vllm": {
"tool_parser": "qwen3_xml",
"reasoning_parser": "qwen3",
"kv_cache_dtype": "fp8",
"trust_remote_code": true
},
"mlx": {
"trust_remote_code": true
},
"variants": {
"fp8": {
"repo": "ornith-ai/Ornith-1.5-122B-FP8",
"gb": 132.9
},
"bf16": {
"repo": "ornith-ai/Ornith-1.5-122B",
"gb": 250.2
},
"nvfp4": {
"repo": "ornith-ai/Ornith-1.5-122B-NVFP4",
"gb": 77.6
},
"awq": {
"repo": "cyankiwi/Ornith-1.5-122B-AWQ-INT4",
"gb": 85.3
},
"mlx-8bit": {
"repo": "ornith-ai/Ornith-1.5-122B-MLX-8bit",
"gb": 130.6
},
"mlx-4bit": {
"repo": "ornith-ai/Ornith-1.5-122B-MLX-4bit",
"gb": 69.6
}
}
},
{
"name": "ornith-1.5-9b",
"kv_kib_per_token": 17.6,
"title": "Ornith 1.5 9B",
"about": "Small dense model for 16 GB Macs and 12-16 GB GPUs; noticeably weaker at multi-step agentic work.",
"context": 262144,
"hybrid": true,
"reasoning": true,
"vllm": {
"tool_parser": "qwen3_xml",
"reasoning_parser": "qwen3",
"kv_cache_dtype": "fp8",
"trust_remote_code": true
},
"mlx": {
"trust_remote_code": true
},
"variants": {
"bf16": {
"repo": "ornith-ai/Ornith-1.5-9B",
"gb": 19.3
},
"nvfp4": {
"repo": "ornith-ai/Ornith-1.5-9B-NVFP4",
"gb": 8.8
},
"awq": {
"repo": "cyankiwi/Ornith-1.5-9B-AWQ-INT4",
"gb": 9.0
},
"mlx-8bit": {
"repo": "ornith-ai/Ornith-1.5-9B-MLX-8bit",
"gb": 9.5
},
"mlx-6bit": {
"repo": "ornith-ai/Ornith-1.5-9B-MLX-6bit",
"gb": 7.3
},
"mlx-4bit": {
"repo": "ornith-ai/Ornith-1.5-9B-MLX-4bit",
"gb": 5.0
}
}
}
]
}