fix: correct Codex context window (266K) and default fallback order#5
Merged
dorukardahan merged 1 commit intomainfrom Feb 15, 2026
Merged
fix: correct Codex context window (266K) and default fallback order#5dorukardahan merged 1 commit intomainfrom
dorukardahan merged 1 commit intomainfrom
Conversation
- Codex context window: 200K → 266K in benchmarks.json and SKILL.md - Default fallback order: Opus → Codex → Pro (was Pro → Codex) Codex has higher Intelligence score (51.5 vs 48.4), making it a better general-purpose fallback than Pro - Updated in: full-stack example, provider-config reference, SKILL.md fallback table, README fallback table
dorukardahan
commented
Feb 15, 2026
Owner
Author
dorukardahan
left a comment
There was a problem hiding this comment.
Thanks for the factual corrections — this PR improves reliability docs materially. I reviewed diff scope for README.md, SKILL.md, benchmarks.json, examples/full-stack/openclaw.json, and references/provider-config.md.
What looks good:
- Codex context window is now consistently 266K in both SKILL.md and benchmarks.json.
- Main-agent fallback order (Opus -> Codex -> Gemini Pro -> K2.5) is now aligned across README table, SKILL full-stack routing table, examples/full-stack/openclaw.json, and references/provider-config.md.
- No secrets/private paths/credentials introduced (good for public repo).
Detailed consistency check:
- benchmarks.json: openai-codex context_window updated to 266000
- SKILL.md model catalog: Codex context updated to 266K
- README.md fallback matrix: main row reordered to Codex before Gemini Pro
- examples/full-stack/openclaw.json defaults + main agent fallbacks reordered
- references/provider-config.md recommended config reordered
Potential follow-up (non-blocking):
- There may still be stale fallback-order wording in narrative prose outside the changed blocks (if any). I did not see contradictions in this PRs touched lines, but a repo-wide grep for the old order string (Gemini Pro before Codex in reasoning/main fallbacks) could prevent future drift.
Overall: LGTM from a factual accuracy + cross-file consistency perspective.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Codex context window: 200K → 266K
The Codex 5.3 context window was listed as 200,000 tokens across benchmarks.json and SKILL.md. The actual value is 266,000 tokens (per OpenAI docs and confirmed in production configs).
Updated in:
benchmarks.json—context_windowfieldSKILL.md— model tier tableDefault fallback order: Codex before Pro
The default fallback chain was Opus → Pro → Codex → Kimi. Reordered to Opus → Codex → Pro → Kimi.
Rationale: Codex has a higher Intelligence score (51.5) than Pro (48.4), making it a better general-purpose fallback. Pro is a specialist (GPQA 0.908, 1M context) — great when you specifically need research or long context, but Codex is the safer all-rounder when Opus is unavailable.
Updated in:
examples/full-stack/openclaw.json— defaults and main agentreferences/provider-config.md— reference config blockSKILL.md— Full Stack fallback tableREADME.md— Cross-Provider Fallback Chains tableImpact
No behavioral change for users with custom fallback chains. Only affects the default/example configs.