From 1ae3707f0e8b4de2ff1dff7ce65f05b7987a9291 Mon Sep 17 00:00:00 2001 From: dorukardahan Date: Sun, 15 Feb 2026 20:43:57 +0300 Subject: [PATCH] fix: correct Codex context window (266K) and default fallback order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- README.md | 2 +- SKILL.md | 4 ++-- benchmarks.json | 2 +- examples/full-stack/openclaw.json | 4 ++-- references/provider-config.md | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 2108699..a312938 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ Every agent must have fallbacks spanning **multiple providers**. Same-provider f | Agent | Primary | Fallback 1 | Fallback 2 | Fallback 3 | |-------|---------|------------|------------|------------| -| main | Opus (Anthropic) | Pro (Google) | Codex (OpenAI) | K2.5 (Kimi) | +| main | Opus (Anthropic) | Codex (OpenAI) | Pro (Google) | K2.5 (Kimi) | | codex | Codex (OpenAI) | Opus (Anthropic) | Pro (Google) | K2.5 (Kimi) | | gemini-researcher | Pro (Google) | Flash (Google) | Opus (Anthropic) | Codex (OpenAI) | | gemini-fast | Flash (Google) | Pro (Google) | Opus (Anthropic) | Codex (OpenAI) | diff --git a/SKILL.md b/SKILL.md index 0600c79..5837340 100644 --- a/SKILL.md +++ b/SKILL.md @@ -43,7 +43,7 @@ For full provider configuration details, consult `references/provider-config.md` | SIMPLE | Gemini 2.5 Flash-Lite | `google-gemini-cli/gemini-2.5-flash-lite` | 495 tok/s | 0.23s | 21.6 | 1M | Low-latency pings, trivial format tasks | | FAST | Gemini 3 Flash | `google-gemini-cli/gemini-3-flash-preview` | 206 tok/s | 12.75s | 46.4 | 1M | Instruction following, structured output, heartbeats | | RESEARCH | Gemini 3 Pro | `google-gemini-cli/gemini-3-pro-preview` | 131 tok/s | 29.59s | 48.4 | 1M | Scientific research, long context analysis | -| CODE | GPT-5.3 Codex | `openai-codex/gpt-5.3-codex` | 113 tok/s | 20.00s | 51.5 | 200K | Code generation, math (99.0) | +| CODE | GPT-5.3 Codex | `openai-codex/gpt-5.3-codex` | 113 tok/s | 20.00s | 51.5 | 266K | Code generation, math (99.0) | | DEEP | Claude Opus 4.6 | `anthropic/claude-opus-4-6` | 67 tok/s | 1.76s | 53.0 | 200K | Reasoning, planning, judgment | | ORCHESTRATE | Kimi K2.5 | `kimi-coding/k2p5` | 39 tok/s | 1.65s | 46.7 | 128K | Multi-agent orchestration (TAU-2: 0.959) | @@ -219,7 +219,7 @@ When a model is unavailable or rate-limited, fall through in reliability order. ### Full Stack (4 providers) | Task Type | Primary | Fallback 1 | Fallback 2 | Fallback 3 | |-----------|---------|------------|------------|------------| -| Reasoning | Opus | Gemini Pro | Codex | Kimi K2.5 | +| Reasoning | Opus | Codex | Gemini Pro | Kimi K2.5 | | Code | Codex | Opus | Gemini Pro | Kimi K2.5 | | Research | Gemini Pro | Opus | Codex | Kimi K2.5 | | Fast tasks | Flash-Lite | Flash | Opus | Codex | diff --git a/benchmarks.json b/benchmarks.json index 7e4ee22..c282051 100644 --- a/benchmarks.json +++ b/benchmarks.json @@ -72,7 +72,7 @@ "speed_tok_s": 113, "ttft_s": 20.00, "intelligence": 51.5, - "context_window": 200000, + "context_window": 266000, "best_at": ["code generation", "math", "debugging"], "benchmarks": { "ifbench": 0.590, diff --git a/examples/full-stack/openclaw.json b/examples/full-stack/openclaw.json index 252f765..8e25eb2 100644 --- a/examples/full-stack/openclaw.json +++ b/examples/full-stack/openclaw.json @@ -19,8 +19,8 @@ "model": { "primary": "anthropic/claude-opus-4-6", "fallbacks": [ - "google-gemini-cli/gemini-3-pro-preview", "openai-codex/gpt-5.3-codex", + "google-gemini-cli/gemini-3-pro-preview", "kimi-coding/k2p5" ] }, @@ -35,8 +35,8 @@ "model": { "primary": "anthropic/claude-opus-4-6", "fallbacks": [ - "google-gemini-cli/gemini-3-pro-preview", "openai-codex/gpt-5.3-codex", + "google-gemini-cli/gemini-3-pro-preview", "kimi-coding/k2p5" ] }, diff --git a/references/provider-config.md b/references/provider-config.md index 9d060f5..e9195cc 100644 --- a/references/provider-config.md +++ b/references/provider-config.md @@ -13,8 +13,8 @@ To use routing, agents must be defined in `openclaw.json`. Here is the recommend "model": { "primary": "anthropic/claude-opus-4-6", "fallbacks": [ - "google-gemini-cli/gemini-3-pro-preview", "openai-codex/gpt-5.3-codex", + "google-gemini-cli/gemini-3-pro-preview", "kimi-coding/k2p5" ] },