--- title: GridSimEnv Replays emoji: 🔋 colorFrom: green colorTo: blue sdk: static app_file: index.html pinned: false license: apache-2.0 short_description: Every benchmark run of 15 AI models, replayed in 3D --- # GridSimEnv Replays **Fifteen models in native agent harnesses (Claude Code, Codex CLI, Gemini CLI, and OpenCode for the open Beam-⁠1.0, GLM-⁠5.3, GLM-⁠5.3-⁠Flash, Kimi K3, Qwen3.8 Max, DeepSeek V4.1 Flash, Qwen3.5-⁠9B, Qwen3.5-⁠9B + desk SFT and Qwen3-⁠4B) run a real ERCOT battery's trading desk for three days at a time across 8 real Texas weather fronts, graded in dollars against the hindsight optimum and the battery's real operator.** **[Replay the lead run](https://earakely-scale-gridsimenv-agentenv.static.hf.space/index.html?v=bench&m=sol&task=desk-v4-2026-08-18-S02).** GPT-6.1 Sol in Codex CLI trades Battery S02 (Houston, 100 MW / 206 MWh) over 18 to 20 August 2026, through a heat wave, after every reported training cutoff. It settles at ⁠$85,771, hindsight capture C 71.1%; the real operator's own bids, replayed, earn ⁠$17,102. | Model | Harness · settings | C, all 32 windows | Jan–May 2026
may be in training data | Jul–Aug 2026
after every reported cutoff | Cost | The lead window | |---|---|---:|---:|---:|---:|---| | **GPT-6.1 Sol** | Codex CLI · effort high | 27.0% [9.5, 43.8] | 37.6% [26.7, 55.0] | 16.4% [−9.7, 42.7] | $4.12 a window · $140 in all | [replay](https://earakely-scale-gridsimenv-agentenv.static.hf.space/index.html?v=bench&m=sol&task=desk-v4-2026-08-18-S02) | | **DeepSeek V4.1 Flash** | OpenCode · effort high | 24.6% [10.7, 41.7] | 30.6% [9.5, 58.8] | 18.5% [3.3, 33.7] | $0.38 a window · $12.16 in all | [replay](https://earakely-scale-gridsimenv-agentenv.static.hf.space/index.html?v=bench&m=dsflash&task=desk-v4-2026-08-18-S02) | | **Qwen3.5-9B + desk SFT** | OpenCode · thinking on | 20.3% [6.9, 37.4] | 24.9% [3.0, 56.2] | 15.8% [1.6, 30.0] | $0.56 a window, GPU time · $18.00 in all | [replay](https://earakely-scale-gridsimenv-agentenv.static.hf.space/index.html?v=bench&m=qwen9bsft&task=desk-v4-2026-08-18-S02) | | **Gemini 4 Argon** | Gemini CLI · thinking high | 19.9% [5.1, 33.5] | 28.2% [15.5, 41.4] | 11.5% [−10.1, 31.7] | $6.69 a window · $306 in all | [replay](https://earakely-scale-gridsimenv-agentenv.static.hf.space/index.html?v=bench&m=argon&task=desk-v4-2026-08-18-S02) | | **GLM-5.3** | OpenCode · effort high | 18.4% [4.5, 32.4] | 24.8% [11.7, 41.9] | 12.0% [−9.2, 33.1] | $3.29 a window · $108 in all | [replay](https://earakely-scale-gridsimenv-agentenv.static.hf.space/index.html?v=bench&m=glm&task=desk-v4-2026-08-18-S02) | | **GPT-6.1 Terra** | Codex CLI · effort high | 18.0% [6.6, 28.6] | 22.4% [15.4, 29.4] | 13.5% [−4.9, 32.3] | $1.97 a window · $66.47 in all | [replay](https://earakely-scale-gridsimenv-agentenv.static.hf.space/index.html?v=bench&m=terra&task=desk-v4-2026-08-18-S02) | | **Kimi K3**
28 of 32 windows | OpenCode · effort high | 17.2% [7.7, 27.8] | 22.1% [12.1, 39.5] | 12.3% [−0.2, 21.8] | $3.71 a window · $193 in all | [replay](https://earakely-scale-gridsimenv-agentenv.static.hf.space/index.html?v=bench&m=kimi&task=desk-v4-2026-08-18-S02) | | **GLM-5.3-Flash** | OpenCode · effort high | 16.9% [7.2, 30.3] | 24.5% [10.6, 47.8] | 9.3% [1.2, 18.0] | $0.15 a window · $4.88 in all | [replay](https://earakely-scale-gridsimenv-agentenv.static.hf.space/index.html?v=bench&m=glmflash&task=desk-v4-2026-08-18-S02) | | **Claude Opus 5.5** | Claude Code · effort high | 16.8% [8.6, 26.5] | 22.9% [12.7, 37.6] | 10.7% [1.6, 19.9] | $2.00 a window · $63.91 in all | [replay](https://earakely-scale-gridsimenv-agentenv.static.hf.space/index.html?v=bench&m=opus&task=desk-v4-2026-08-18-S02) | | **Qwen3.8 Max** | OpenCode · effort high | 13.8% [5.3, 22.4] | 16.5% [5.5, 27.5] | 11.1% [−0.8, 23.0] | $3.97 a window · $129 in all | [replay](https://earakely-scale-gridsimenv-agentenv.static.hf.space/index.html?v=bench&m=qwenmax&task=desk-v4-2026-08-18-S02) | | **GPT-6 Luna** | Codex CLI · effort high | 13.7% [5.7, 22.3] | 18.7% [10.7, 28.6] | 8.6% [−0.7, 21.5] | $0.32 a window · $10.99 in all | [replay](https://earakely-scale-gridsimenv-agentenv.static.hf.space/index.html?v=bench&m=luna&task=desk-v4-2026-08-18-S02) | | **Claude Haiku 5.5** | Claude Code · effort high | 11.1% [7.0, 15.0] | 13.2% [9.1, 17.2] | 9.0% [2.8, 15.3] | $0.40 a window · $12.74 in all | [replay](https://earakely-scale-gridsimenv-agentenv.static.hf.space/index.html?v=bench&m=haiku&task=desk-v4-2026-08-18-S02) | | **Qwen3.5-9B** | OpenCode · thinking on | 7.3% [−2.4, 19.3] | 13.2% [2.7, 32.1] | 1.4% [−9.0, 15.3] | $3.20 a window, no maker price: metered rate · $106 in all | [replay](https://earakely-scale-gridsimenv-agentenv.static.hf.space/index.html?v=bench&m=qwen9b&task=desk-v4-2026-08-18-S02) | | **Beam-1.0** | OpenCode · effort high | 6.7% [0.5, 12.0] | 10.5% [5.6, 15.5] | 3.0% [−5.9, 10.9] | $0.31 a window · $10.44 in all | [replay](https://earakely-scale-gridsimenv-agentenv.static.hf.space/index.html?v=bench&m=beam&task=desk-v4-2026-08-18-S02) | | **Qwen3-4B** | OpenCode · thinking on | −2.1% [−5.9, 1.4] | 1.0% [−1.1, 4.9] | −5.2% [−10.8, −0.9] | $0.16 a window, GPU time · $5.19 in all | [replay](https://earakely-scale-gridsimenv-agentenv.static.hf.space/index.html?v=bench&m=qwen&task=desk-v4-2026-08-18-S02) | | *The real operator's bids, replayed* | | *7.4%* | *8.4%* | *6.4%* | | | | *The anchor, the desk's own optimiser* | | *20.9%* | *25.0%* | *16.9%* | | | C, hindsight capture, %. Brackets: 95% CIs, a block bootstrap over the 8 weather fronts (four within each side of the cutoffs). Cost a window: the graded attempt's tokens in its harness's own trajectory at the model maker's list price; Qwen3.5-9B + desk SFT's is GPU time: 4.00 box-hours on EC2 GPU boxes (g7e.8xlarge at $4.5013/h, the EC2 spot price paid, us-east-1), each run's share of its box's time while it ran; Qwen3-4B's is GPU time: 4.64 box-hours on EC2 GPU boxes (g5.xlarge at $1.006/h, g5.2xlarge at $1.212/h, EC2 on-demand, us-west-2), each run's share of its box's time while it ran; in all: every attempt, retries and stalls included. Interrupted attempts are costed from the proxy meter, because their last turn never reaches the trajectory; a meter that ran at another price than the one used here is scaled by the two prices' ratio on the attempt's trajectory tokens. The anchor is the desk's own optimiser re-planning at every wake on the same information; the operator row replays the real operator's bids, disclosed by ERCOT 60 days later, through the same clearing and settlement. DeepSeek V4.1 Flash ran through Fireworks, on agentenv-framework 0.9.1396; OpenCode's 32,768-token output limit ended 2 of its attempts, retried as infrastructure. Qwen3.5-9B + desk SFT ran on agentenv-framework 0.9.1396; served by our own vLLM 0.29.0 on g7e.8xlarge boxes, unlike base Qwen3.5-9B's Fireworks deployment, with a 262,144-token context and a 20-step cap a turn; the desk-distill pre-registration's secondary comparison, whose primary test, 18 held-out windows, it did not pass (+3.8 points [−3.4, +10.6] over base); OpenCode's output limit ended 1 of its attempts, retried as infrastructure. Gemini 4 Argon ran on agentenv-framework 0.9.1383. GLM-5.3 ran through Fireworks, on agentenv-framework 0.9.1396; OpenCode's 32,000-token output limit ended 11 of its attempts, retried as infrastructure. GPT-6.1 Terra ran on agentenv-framework 0.9.1396; the provider's token rate limit ended 6 of its attempts, retried as infrastructure. Kimi K3 ran through Fireworks, on agentenv-framework 0.9.1396; 4 of its windows stopped at the pre-registered $20 window cap and are unscored, so it is scored on 28 of the 32. GLM-5.3-Flash ran through Fireworks, on agentenv-framework 0.9.1396. Qwen3.8 Max ran through Fireworks, on agentenv-framework 0.9.1396; OpenCode's 32,000-token output limit ended 3 of its attempts, retried as infrastructure. Claude Haiku 5.5 ran on agentenv-framework 0.9.1396. Qwen3.5-9B ran through Fireworks, on agentenv-framework 0.9.1396; a Fireworks dedicated deployment, its 262,143-token maximum context and a 20-step cap a turn (Qwen3-4B's harness had 32,768 tokens and no step cap); OpenCode's 8,192-token output limit ended 4 of its attempts, retried as infrastructure. Beam-1.0 ran through the Hugging Face router, on agentenv-framework 0.9.1396; its account ran out of credits mid-run, and the four attempts the router's HTTP 402 ended were retried as infrastructure. Qwen3.5-9B: no maker price; at the metered Fireworks rate, $0.20 per 1M tokens, cached reads included. Beam-1.0: Reflection publishes no price; at Together AI's list price including its $0.04 cached-read rate. See the [deviations](https://github.com/earakely-scale/agentenv-gridsim-plugin/blob/desk-v4-bench-results-7/docs/prereg/v4-bench.md#deviations). An agent works as the battery trader at a QSE for one real ERCOT battery at its own node. It submits ERCOT's own objects: day-ahead and real-time energy offer curves, ancillary-service offers and its current operating plan. The clock moves on its own: the agent wakes at the market's milestones, at ERCOT notices, NWS alerts and outages, and at reminders it sets. The day settles on ERCOT's rules. **[Replays](https://earakely-scale-gridsimenv-agentenv.static.hf.space/index.html).** Each recorded episode plays on the battery site in 3D, in the day's real light and the weather observed at the region's airport. The containers' light strips fill with the state of charge, power runs along the line as the battery charges or discharges, and the co-located solar tracks the sun on the days that have it. Beside the scene, the desk shows prices only as they posted, and every tool call as the model made it. The clock stops at each of the agent's turns. The episode browser lists the benchmark's 476 runs first, by model, side of the cutoffs, front and battery, then the development runs. Kimi K3's 4 windows stopped at the window cap are listed as capped and unscored. **[Results](https://earakely-scale-gridsimenv-agentenv.static.hf.space/results.html?v=bench).** The benchmark's hindsight capture either side of the training cutoffs, the table with its CIs, capture against cost, the cost frontier, paired gaps, how it runs, its limitations and deviations, and every run as a replay. ## The development ladder Before the benchmark, GPT-6.1 Sol and GPT-6 Luna at high reasoning effort and an untrained Qwen3-4B with thinking off climbed a ladder on the desk's own runner ([results](https://earakely-scale-gridsimenv-agentenv.static.hf.space/results.html?v=v4)). It adds one kind of realism a version: - **v2, The Live Grid:** energy only: the DAM and real time at a real battery's own node, with ERCOT notices, NWS alerts and the battery's outages at their real minutes (96 replays). - **v3, Sun, Storage and Reserves:** ERCOT's five ancillary services in the DAM and real time, with state-of-charge duration rules, deployments and capacity-short charges; a co-located solar option (modelled) (72 replays). - **v4, Weather Front:** three operating days across a weather front, on ERCOT's forecasts as each was issued (48 replays). Apart from the ladder, **v5 · price-impact check** plays v3's battery-days again with each day-ahead market re-cleared against the desk's own offers in ERCOT's disclosed offer stack ([results](https://earakely-scale-gridsimenv-agentenv.static.hf.space/results.html?v=v5), 72 replays). For one 100–150 MW battery the price moves by cents, and every paired v5 − v3 gap is within noise; a fleet desk, a QSE trading a portfolio of batteries, is where price impact would matter. **Across the ladder.** Paired by task, GPT-6.1 Sol and GPT-6 Luna are within noise on single days (v2, v3) and Sol is clearly ahead on 3-day weather fronts (v4: +23.1 pts of hindsight capture, 95% CI [9.0, 48.0]). The untrained Qwen3-4B has the lowest capture throughout. There are 764 replays: every benchmark run, and every model on every task of each version's eval pack. Each replay is a recorded episode (`gridsim.desk.episode/v1`) converted for the viewer, and nothing here calls a model. The running statement is the desk's shadow settlement, recomputed from the episode and checked against the environment's own. ## Models and settings **The benchmark.** GPT-6.1 Sol and GPT-6 Luna in Codex CLI 0.147.0 with OpenAI's catalog entries for the GPT-6 models; DeepSeek V4.1 Flash, Qwen3.5-9B + desk SFT, GLM-5.3, Kimi K3, GLM-5.3-Flash, Qwen3.8 Max, Qwen3.5-9B, Beam-1.0 and Qwen3-4B in OpenCode 1.17.18; Gemini 4 Argon in Gemini CLI 0.38.2; GPT-6.1 Terra in Codex CLI 0.147.0 with OpenAI's catalog entries for the GPT-6 models and one for Terra copied from Sol's; Claude Opus 5.5 and Claude Haiku 5.5 in Claude Code 2.1.280. The open-weight models: DeepSeek V4.1 Flash, Z.ai's GLM-5.3, Moonshot AI's Kimi K3, Z.ai's GLM-5.3-Flash, Qwen3.8 Max and Qwen3.5-9B, served by Fireworks; Qwen3.5-9B + desk SFT, served by vLLM 0.29.0 on EC2 GPU boxes (g7e.8xlarge); Reflection's Beam-1.0, served by Baseten through the Hugging Face router; Qwen3-4B, served by vLLM 0.29.0 on EC2 GPU boxes (g5.2xlarge, g5.xlarge). **At high effort:** GPT-6.1 Sol effort high; DeepSeek V4.1 Flash effort high; Qwen3.5-9B + desk SFT thinking on; Gemini 4 Argon thinking high; GLM-5.3 effort high; GPT-6.1 Terra effort high; Kimi K3 effort high; GLM-5.3-Flash effort high; Claude Opus 5.5 effort high; Qwen3.8 Max effort high; GPT-6 Luna effort high; Claude Haiku 5.5 effort high; Qwen3.5-9B thinking on; Beam-1.0 effort high; Qwen3-4B thinking on. **The development ladder.** One sampled run per model per task, with the same system prompt, the same 11 tools and the same turn budget. - **GPT-6.1 Sol · effort high** and **GPT-6 Luna · effort high** (`openai/gpt-6.1-sol`, `openai/gpt-6-luna`): reasoning effort high, through the Responses API. - **Qwen3-4B (untrained) · thinking off** (`Qwen/Qwen3-4B`): thinking off, temperature 0.7, top_p 0.8; served by vLLM 0.29 in bf16 with a 32,768-token context and the hermes tool parser; prompts compacted to about 24k tokens, with up to 4,096 output tokens a call. ## Links - One benchmark run: `index.html?v=bench&m=sol&task=desk-v4-2026-08-18-S02`, with `m` one of `sol`, `dsflash`, `qwen9bsft`, `argon`, `glm`, `terra`, `kimi`, `glmflash`, `opus`, `qwenmax`, `luna`, `haiku`, `qwen9b`, `beam`, `qwen`. Add `&t=` for a moment, in minutes from the first operating day's midnight (CPT). With no parameters, the Space opens on that run. - The benchmark's results: `results.html?v=bench`, the results landing; `desk.html` is the same page. - One development run: `index.html?v=v4&m=sol&task=desk-v4-2026-05-08-S04`; one version's results, `results.html?v=v4`; the price-impact check's, `results.html?v=v5`. - The pre-registration: [docs/prereg/v4-bench.md](https://github.com/earakely-scale/agentenv-gridsim-plugin/blob/desk-v4-bench-run1/docs/prereg/v4-bench.md) at `desk-v4-bench-run1`, its [deviations](https://github.com/earakely-scale/agentenv-gridsim-plugin/blob/desk-v4-bench-results-7/docs/prereg/v4-bench.md#deviations), and the [results folder](https://github.com/earakely-scale/agentenv-gridsim-plugin/tree/desk-v4-bench-results-7/results/desk-v4-bench) at `desk-v4-bench-results-7`. - The episodes, tasks and results are in the dataset [earakely-scale/GridSimEnv-AgentEnv](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv). - The write-up is the article Space [earakely-scale/GridSimEnv](https://huggingface.co/spaces/earakely-scale/GridSimEnv). - The environment and this viewer are in [agentenv-gridsim-plugin](https://github.com/earakely-scale/agentenv-gridsim-plugin). - The earlier viewer (v1 and the previews) is archived at [this Space's revision cd4a17e](https://huggingface.co/spaces/earakely-scale/GridSimEnv-AgentEnv/tree/cd4a17ed32275a93328ef286ad4f88cc3c3f7216). ## Data and attribution - Prices, awards, notices and disclosures come from ERCOT's public reports. This Space is not affiliated with or endorsed by ERCOT. - Alerts come from the National Weather Service. The scene's weather is IEM ASOS observations at the region's main airport, from the Iowa Environmental Mesonet, Iowa State University (public domain). - These are modelled, and labelled so: the desk price forecast, the co-located PV, degradation, warranty, the end-of-window energy and capacity-short charges. - The sites are anonymised as Battery S01 to S04, by region. ## Licences - Viewer code: Apache-2.0. three.js 0.180.0 (`vendor/`): MIT. IBM Plex (`fonts/`): SIL Open Font License 1.1. - Scene and art: procedural geometry and canvas-drawn textures, CC0. No ERCOT logo or trademark is used, and the battery enclosures carry no brand.