Skip to content

Disabling models

Take a model out of routing manually — completely, until you enable it back:

llms.disable_llm("groq-llama")
# ... later ...
llms.enable_llm("groq-llama")

The verdict survives a preset sync and does not touch the model's accumulated quality history.

A pool state snapshot — one entry per model:

for name, entry in llms.snapshot().items():
    print(name, entry.disabled, entry.has_key, entry.cooldown_until, entry.demoted_operations)

Fields — in LLMSnapshot.