Skip to content

[Performance] /models command slow in v2026.6.1 — catalog loading regression #91809

Description

@syfvb

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

The /models slash command and openclaw models list CLI take 3-4 seconds to respond in v2026.6.1 with ~60 configured models across ~12 providers, compared to near-instant response in v2026.5.27. The --all flag takes 10+ seconds.

Steps to reproduce

  1. Configure ~60 models across ~12 providers (xiaomi, alibaba, deepseek, volcengine, handai, minimax, google, claude-cli, freemodel, etc.) with agents.defaults.models using provider-wide provider/* entries.
  2. Upgrade from v2026.5.27 to v2026.6.1.
  3. Run time openclaw models list — observe ~3.4s response time.
  4. Run time openclaw models list --all — observe ~10.8s response time.
  5. Compare with v2026.5.27 where the same command responds in under 1 second.

Expected behavior

/models default view should respond in under 1 second for typical configurations with fewer than 100 models, consistent with v2026.5.27 behavior.

Actual behavior

openclaw models list takes 3.4s (default), 4.5s (--plain), 5.0s (--json), and 10.8s (--all). The /models slash command in webchat exhibits the same latency. The delay appears to come from provider catalog discovery and model metadata loading happening synchronously on the request path.

OpenClaw version

2026.6.1 (2e08f0f)

Operating system

Linux 6.6.87.2-microsoft-standard-WSL2 (x64)

Install method

npm global

Model

xiaomi/mimo-v2.5

Provider / routing chain

openclaw -> xiaomi/mimo-v2.5 (primary), deepseek/deepseek-v4-flash, alibaba/deepseek-v4-flash (fallbacks)

Additional provider/model setup details

Benchmark results on v2026.6.1:

$ time openclaw models list
3.40s total, 60+ models returned

$ time openclaw models list --all
10.84s total, 100+ models (includes unauthenticated providers)

$ time openclaw models list --json
4.99s total

$ time openclaw models list --plain
4.45s total

Providers configured: xiaomi, alibaba, deepseek, volcengine, handai, minimax, minimax-portal, volcengine-plan, google, claude-cli, freemodel, tencent, zai (~12 providers).

agents.defaults.models uses provider-wide entries like "xiaomi/*": {}, "alibaba/*": {} etc.

Logs, screenshots, and evidence

Impact and severity

Affected: All users with multi-provider model configurations using /models slash command or openclaw models list CLI.
Severity: Annoying (degraded UX, not a workflow blocker).
Frequency: 100% reproducible.
Consequence: 3-10s wait every time the model list is requested; noticeably slower than v2026.5.27.

Additional information

Regression range: last known good v2026.5.27, first known bad v2026.6.1.

Related issues:

v2026.6.1 changelog notes that may contribute:

The delay likely comes from increased model metadata volume and provider catalog enumeration happening synchronously on the listing path. Consider lazy-loading catalog metadata (only on --all or provider filter), caching the default list between invocations, and avoiding full alias index builds for simple list requests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.bugSomething isn't workingclawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions