{% extends "base.html" %} {% block title %}Models - ai-mcp ui{% endblock %} {% block content %}

Models

手動新增 model(適用於不提供 /v1/models 的 API)

可用 capability: {{ all_capabilities|join(', ') }};別名支援 tts / stt / asr。

可用 capability: {{ all_capabilities|join(', ') }}

共 {{ items|length }} 個 model

{% for it in items %} {% endfor %}
endpointmodel_idctxcapabilities近3天調用成功avg首字節(ms)avg promptavg output操作
{{ it.endpoint }} {{ it.model_id }} {{ it.context_length or '-' }} {% for cap, cv in it.capabilities.items() %} {% if cv.value %}{{ cap }}{% endif %} {% if not cv.value and cv.source == 'probe' %}{{ cap }}=false{% endif %} {% endfor %} {{ it.performance.get('call_count') if it.performance.get('call_count') is not none else '-' }} {{ it.performance.get('success_count') if it.performance.get('success_count') is not none else '-' }} {{ it.performance.get('avg_first_byte_ms')|round(0)|int if it.performance.get('avg_first_byte_ms') is not none else '-' }} {{ it.performance.get('avg_prompt_tokens')|round(0)|int if it.performance.get('avg_prompt_tokens') is not none else '-' }} {{ it.performance.get('avg_output_tokens')|round(0)|int if it.performance.get('avg_output_tokens') is not none else '-' }}
{% endblock %}