{% set all_models = [] %} {% for engine in engines %} {% if engine.reachable %} {% for model in engine.models %} {% set _ = all_models.append({'engine': engine.name, 'name': model.name, 'size_vram': model.size_vram, 'size_total': model.size_total, 'format': model.format, 'quantization': model.quantization, 'context_length': model.context_length}) %} {% endfor %} {% endif %} {% endfor %} {% if all_models %}

Models Loaded

{% for m in all_models %} {% endfor %}
Model Engine VRAM Format Quant Context
{{ m.name }} {{ m.engine }} {{ m.size_vram | format_bytes }}{% if m.size_vram > 0 and m.engine not in ['ollama', 'lmstudio'] %} (est.){% endif %} {% if m.size_total > 0 %}
{% set vram_pct = (m.size_vram / m.size_total * 100) | int if m.size_total > 0 else 0 %}
{% endif %}
{{ m.format or '—' }} {{ m.quantization or '—' }} {% if m.context_length > 0 %} {% if m.context_length >= 1024 %} {{ (m.context_length / 1024) | int }}k {% else %} {{ m.context_length }} {% endif %} {% else %} — {% endif %}
{% endif %}