openclaw - ✅(Solved) Fix [Bug]: Model "openai-codex/gpt-5.4-mini" not found. Fell back to "openai-codex/gpt-5.4". [5 comments, 6 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#51432Fetched 2026-04-08 01:11:19
View on GitHub
Comments
5
Participants
6
Timeline
13
Reactions
2
Timeline (top)
commented ×5subscribed ×3labeled ×2closed ×1

it is not picking gpt-5.4-mini from openai-codex

Root Cause

it is not picking gpt-5.4-mini from openai-codex

PR fix notes

It seems like you're encountering an issue where OpenClaw is not picking the gpt-5.4-mini model from the OpenAI Codex provider, even though the model should exist.


Issue

When trying to set up and select the openai-codex/gpt-5.4-mini model from OpenAI Codex, you receive the error:

Model "openai-codex/gpt-5.4-mini" not found.

This issue prevents you from using the expected model.


Possible Causes

  1. Model Name or Version Mismatch: There could be a discrepancy between the model name you're using and the actual model name on OpenAI Codex. If the name has been updated or changed, OpenClaw won't be able to locate it.

  2. Model Availability on OpenAI Codex: The model gpt-5.4-mini might not be available or properly registered in OpenAI Codex. There could be an issue on OpenAI's end regarding the model's deployment.

  3. OpenClaw Version Incompatibility: The version of OpenClaw you're using (v2026.3.13) may have compatibility issues with newer models. If OpenClaw's routing chain hasn't been updated to include this model, it may not be able to find it.


Suggested Fixes

  1. Verify the Model Name: Double-check the model name on the OpenAI Codex platform to ensure it is correct. Visit OpenAI's official documentation or your OpenAI Codex account to confirm the exact model name. Ensure there are no typos or version mismatches.

  2. Update OpenClaw: Ensure you are using the latest version of OpenClaw. If there are any updates or patches that address this issue, they should be available in a newer version. You can check for updates using the following command:

    openclaw update
  3. Check Model Availability: Check if gpt-5.4-mini is listed and available on the OpenAI Codex dashboard. If it isn’t available or has been deprecated, you may need to use a different model or version.

  4. Ensure Correct Configuration: Make sure your OpenClaw configuration is set up correctly for connecting to OpenAI Codex. This includes verifying the routing chain and the model paths. Ensure that the openai-codex provider is properly configured in OpenClaw.

  5. Test with Another Model: Try using a different model from OpenAI Codex (e.g., gpt-5.3-mini or another available model) to see if the issue is specific to gpt-5.4-mini. If other models work, this would indicate that the issue is specific to the availability or registration of gpt-5.4-mini.

  6. Contact OpenAI Support: If everything seems correct on your side, but the model still isn't found, contact OpenAI support to verify whether there is an issue with the model's deployment or registration in Codex.


Conclusion

This issue is most likely caused by a mismatch in the model name, model availability, or OpenClaw compatibility with OpenAI Codex. Verifying the model name, updating OpenClaw, and ensuring the model's availability should resolve the issue. If the problem persists, contacting OpenAI support for further clarification is recommended.

RAW_BUFFERClick to expand / collapse

Bug type

Behavior bug (incorrect output/state without crash)

Summary

it is not picking gpt-5.4-mini from openai-codex

Steps to reproduce

setup custom model to openai-codex/gpt-5.4-mini and select this from chat

Expected behavior

it should work as model already exist in codex

Actual behavior

Model "openai-codex/gpt-5.4-mini" not found.

OpenClaw version

v2026.3.13

Operating system

Windows 10

Install method

No response

Model

openai-codex/gpt-5.4-mini

Provider / routing chain

openai-codex

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

extent analysis

Fix Plan

To resolve the issue of the model "openai-codex/gpt-5.4-mini" not being found, follow these steps:

  • Update OpenClaw version: Ensure you are running the latest version of OpenClaw. The current version is v2026.3.13, but check for any updates.
  • Check model availability: Verify that the "gpt-5.4-mini" model is available in the OpenAI Codex. You can do this by checking the OpenAI Codex documentation or using the OpenAI API to list available models.
  • Update model configuration: Update your custom model configuration to use the correct model name and provider.

Example configuration update:

model_config = {
    "model_name": "openai-codex/gpt-5.4-mini",
    "provider": "openai-codex"
}
  • Restart OpenClaw: After updating the configuration, restart OpenClaw to apply the changes.

Verification

To verify that the fix worked, try selecting the "openai-codex/gpt-5.4-mini" model from the chat again. If the model is found, the issue is resolved.

Extra Tips

  • Always check the OpenAI Codex documentation for the latest available models and their names.
  • Ensure that your OpenClaw version is up-to-date to avoid compatibility issues with the OpenAI Codex API.

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…

FAQ

Expected behavior

it should work as model already exist in codex

Still need to ship something?

×6

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

Back to top recommendations

TRENDING

openclaw - ✅(Solved) Fix [Bug]: Model "openai-codex/gpt-5.4-mini" not found. Fell back to "openai-codex/gpt-5.4". [5 comments, 6 participants]