YiduoChan experiment record · 2026-12-04
MiniMax-M4 and Lantern Crossing: time, tokens and repairs
The task was to produce a self-contained HTML 3D runner from one complete prompt: cross floating lanterns on a night river, with a game understandable and finishable in 30–60 seconds. The fourth attempt produced complete HTML. That original output had a runtime error; three object-reference corrections were needed for the playable version below.
Play Lantern Crossing Read the full prompt
Controls: Space to start, A/D or left/right arrows to move, Space or Up to jump. Desktop keyboard required. The game loads three.js from a CDN and needs network access.
The request that completed
| Model / effort | MiniMax-M4 / max |
|---|---|
| Output limit | 262,144 tokens |
| Start / end (UTC) | 2026-12-04 04:07:03 / 04:29:33 |
| Request duration | 1,350.713 seconds (22 minutes 30.7 seconds) |
| First HTML text | 1,186.096 seconds after request start |
| Total input | 539 = 347 ordinary input + 192 cache reads |
| Total output | 173,461 = 139,370 reasoning + 34,091 final text |
| Total tokens | 174,000 = 539 input + 173,461 output |
| Stop reason | end_turn, with a complete message_stop event |
Measurement boundary: this experiment called MiniMax's Anthropic-compatible upstream directly from the server. It did not use the YiduoChan gateway billing path. The table covers only the completed fourth request, excluding earlier attempts, manual repairs and playtesting. It is not a typical latency, cost or service-level guarantee.
What happened in earlier attempts?
- medium, 65,536 output limit: 641.731 seconds and 66,075 total tokens. All output tokens were reasoning; no final HTML.
- medium, Anthropic streaming: interrupted at roughly 51 seconds at the user's request to change effort. Final output usage was unavailable, not zero.
- max, 131,072 output limit: 1,121.609 seconds and 131,611 total tokens. The limit was reached again without final HTML.
- max, 262,144 output limit: attempt four completed, as recorded above.
This was not a first-try playable result. Nor is 174,000 tokens the total consumption of every attempt.
What was repaired and tested?
The original code accessed a player wrapper as though it were a three.js scene object, causing a runtime error in animatePlayer. Three references were redirected to the wrapper's g property: two rotation accesses and one position access.
The repaired game passed start, movement, jump, fall and crossing checks. A keyboard-driven automated playthrough crossed in approximately 33.05 seconds with 44 jumps, without changing game physics or win conditions. One known minor issue remains: the fallen-screen travelled distance reads zero, while the remaining-distance HUD works.
Download the compact measurement record (JSON). It includes original and playable-output SHA-256 hashes, counting definitions and repair details, with no API keys, personal data or model chain of thought.
The complete prompt
Download the prompt as plain text. The request used this exact text:
Create a single, self-contained index.html file for a playable browser game. No other files, no build step, no placeholders, and no external assets except a CDN for three.js if needed. Opening the file in a browser must work immediately. Output ONLY the complete HTML file: no preamble, no tutorial, no design notes.
Game title: 千灯渡 (Lantern Crossing).
It is a third-person or over-the-shoulder 3D runner that can be understood and finished in 30–60 seconds. On a night river during a lantern festival, the player hops forward across giant floating river lanterns. The lanterns drift, sway, and sometimes sink or pull apart. The player must keep moving forward without falling into the dark water. Show a clear countdown or distance meter. Include a short end screen for 渡过 (crossed) or 落水 (fell).
Controls must be obvious in one second: A/D or arrow keys to shift left and right, Space or Up to jump. Show a start card with the title 千灯渡 and “按空格开始”.
Scope: one continuous river-and-lantern sequence, no extra rooms, no extra modes, no menus beyond the start card and end screen. Do not make a static scene, an island, a bird, a shooter, or a voxel sandbox.
Put the effort into camera and atmosphere: a low camera skimming the water, sense of speed and height, warm lantern glow, reflections on the river, light mist, drifting petals or sparks, and a festival shoreline in the distance. It should feel like a short game trailer the player can actually control, and it must be immediately playable when the file is opened.
What does this experiment establish?
M4 produced a substantial single-file game for this particular prompt, but greater effort and output limits did not guarantee correctness. Reasoning tokens, final text, manual repairs and gateway charges need to be kept distinct, and output needs a real execution check. This is one experiment, not a controlled comparison with other models.
Return to M4 API setup and pricing · MiniMax upstream protocol reference