openclaw - 💡(How to fix) Fix [Bug] GPT-5.4 nano no longer survives as nano in Codex runtime (2026.4.5) [1 comments, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#62367Fetched 2026-04-08 03:05:25
View on GitHub
Comments
1
Participants
1
Timeline
1
Reactions
0
Author
Participants
Timeline (top)
commented ×1

On OpenClaw 2026.4.5 in our installation, openai-codex/gpt-5.4-nano no longer behaves as a stable/real nano route in the Codex runtime.

We see two distinct behaviors depending on the call path:

  1. In the current runtime, requesting nano can resolve to provider=openai-codex but the runtime reports model=gpt-5.4 instead of nano.
  2. In another production call path (YouTube analysis), Crack observed nano falling through to OpenRouter/Sonnet instead of staying on Codex.

The key point is that nano is not surviving as a real nano route in our installation.

Error Message

  • fail explicitly with a precise unsupported-model error.

Root Cause

On OpenClaw 2026.4.5 in our installation, openai-codex/gpt-5.4-nano no longer behaves as a stable/real nano route in the Codex runtime.

We see two distinct behaviors depending on the call path:

  1. In the current runtime, requesting nano can resolve to provider=openai-codex but the runtime reports model=gpt-5.4 instead of nano.
  2. In another production call path (YouTube analysis), Crack observed nano falling through to OpenRouter/Sonnet instead of staying on Codex.

The key point is that nano is not surviving as a real nano route in our installation.

Code Example

openclaw agent --local --agent crack --session-id 07ed6845-164b-44ff-8cb9-ef3169580945 --json --message 'Responde exactamente OK_NANO y nada más.' --timeout 120
RAW_BUFFERClick to expand / collapse

Summary

On OpenClaw 2026.4.5 in our installation, openai-codex/gpt-5.4-nano no longer behaves as a stable/real nano route in the Codex runtime.

We see two distinct behaviors depending on the call path:

  1. In the current runtime, requesting nano can resolve to provider=openai-codex but the runtime reports model=gpt-5.4 instead of nano.
  2. In another production call path (YouTube analysis), Crack observed nano falling through to OpenRouter/Sonnet instead of staying on Codex.

The key point is that nano is not surviving as a real nano route in our installation.

What is verified in our installation

  • OpenClaw version: 2026.4.5
  • openclaw models list --agent crack --json shows:
    • openai-codex/gpt-5.4-mini => available/configured
    • openai-codex/gpt-5.4-nano => configured/missing
  • Mini works in Codex runtime.

Repro 1: nano request in Codex runtime does not come back as nano

Command (with session override already set to nano on agent:crack:main):

openclaw agent --local --agent crack --session-id 07ed6845-164b-44ff-8cb9-ef3169580945 --json --message 'Responde exactamente OK_NANO y nada más.' --timeout 120

Observed output in our installation:

  • provider=openai-codex
  • model=gpt-5.4
  • response text OK_NANO

So the request does not preserve nano as the model identity.

Repro 2: production call path observed by Crack

In the YouTube analysis runtime path, Crack observed nano still failing and falling through to OpenRouter/Sonnet instead of Codex real.

Expected

If nano is supported, the runtime should either:

  • execute as nano and report nano honestly, or
  • fail explicitly with a precise unsupported-model error.

It should not silently re-route through an unrelated model or provider.

Related history

  • The prior feature work to add mini/nano support is tracked in #50265.
  • This report is about the current runtime behavior/regression in 2026.4.5, not the original feature request.

Ask

Please confirm whether:

  • nano is intentionally no longer a first-class runtime route,
  • the Codex runtime is silently normalizing nano to gpt-5.4, or
  • there is still a bug in model resolution/fallback that can cause nano to drop into OpenRouter/Sonnet.

extent analysis

TL;DR

Verify the model resolution configuration to ensure openai-codex/gpt-5.4-nano is correctly configured and available in the Codex runtime.

Guidance

  • Check the output of openclaw models list --agent crack --json to confirm the status of openai-codex/gpt-5.4-nano and ensure it is not marked as "configured/missing".
  • Investigate the model resolution logic in the Codex runtime to determine why openai-codex/gpt-5.4-nano is being silently normalized to gpt-5.4.
  • Review the feature work tracked in #50265 to understand the original implementation of mini/nano support and potential changes that may have affected the current behavior.
  • Test the Codex runtime with a request for openai-codex/gpt-5.4-nano to see if it produces an explicit unsupported-model error or silently re-routes to an unrelated model or provider.

Example

No code snippet is provided as the issue does not contain sufficient information to generate a relevant example.

Notes

The issue may be related to a regression in the model resolution logic or a configuration issue with openai-codex/gpt-5.4-nano. Further investigation is needed to determine the root cause.

Recommendation

Apply a workaround by explicitly checking the model identity in the Codex runtime and handling the case where openai-codex/gpt-5.4-nano is not supported. This will allow for a more explicit error message or fallback behavior.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING