跪拜 Guibai
← All articles
Gemini · Agent · OpenAI

Gemini 4 Neon Codes Three.js Scenes Near Flagship Quality; Antigravity Gets Token-Saving Playbook and 50% Off

By 沉默王二 ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

Gemini 4 Neon's coding output now rivals pricier flagships, and Antigravity's granular token controls let developers stretch quotas on routine tasks. A 50% discount on plans through November 26 lowers the barrier to trying it.

Summary

Hands-on tests show Gemini 4 Neon generating polished Three.js visuals: a road cyclist with accurate geometry, a 57-minute particle animation with consistent transitions, and a solar punk pixel city that cost $3.5 and 20 minutes versus Opus 5.5's $7.2 and 18 minutes. It also produced an interactive 1784 frigate simulator and a V12 engine from single prompts, with the engine orchestrating a team of Hydrogen agents over 2.5 hours.

Antigravity's token management gets a detailed playbook: separate Planner and Executor models (Neon plans, Hydrogen executes at half price), four thinking effort levels for different task types, a /context command that groups token usage into active dialogue, system overhead, and checkpoint buffer, and /compact to compress history with before/after stats. Rule budgets cap single files at 24 KB and all active rules at 20000 tokens; using @filename instead of @[tag] avoids inlining external docs. CLI extras include /usage for quota tracking, /codesearch and /diff free of token consumption, and headless mode with -p for pipelines.

Google's Black Friday promotion cuts Plus and Pro plan prices up to 50% through November 26, with extra discounts for new users. Antigravity also increases its cache pool size, raising Gemini 4 Neon's cache hit rate by 4%.

Takeaways
— Gemini 4 Neon matches Opus 5.5 on instruction following, per the author's hands-on testing.
— In a Three.js cyclist scene, Neon reproduced rider posture, helmet, disc brakes, and sunset layers, with quality approaching the flagship Carbon.
— A 57-minute particle animation maintained consistent transitions and lighting across multiple editing rounds.
— A solar punk pixel city cost $3.5 and 20 minutes with Neon versus $7.2 and 18 minutes with Opus 5.5; Opus had better depth and clouds, but Neon added extra details like a cat on the railing.
— Antigravity's Orchestrator supports separate Planner and Executor models; Neon plans, Hydrogen executes at half the price, and control returns to the Planner on repeated failures.
— /effort switches thinking levels: low for logs and docs, medium for daily coding, high for refactors and troubleshooting, extra for complex concurrency or 3D engineering.
— /context displays token usage via three symbols: active dialogue, fixed system overhead (including MCP tool schemas), and checkpoint buffer.
— /compact condenses history into a checkpoint with a structured summary and session snapshot, printing comparisons like "142 steps summarized · context 182.4k → ~31.2k".
— Rules have a 24 KB per-file cap and a shared 20000-token budget; over budget, the largest rule is replaced by a path:description reference.
— Writing @filename instead of @[tag] in rules avoids inlining external documents into every request.
— /codesearch and /diff consume no tokens; /codesearch supports regex and literal search, /diff shows per-turn and commit-tree views.
— Headless mode with agy -p outputs to stdout/stderr and supports --output-format json or stream-json for scripting.
— Black Friday: up to 50% off Plus and Pro plans until November 26, plus extra discounts for new users; Antigravity raises cache pool size, boosting Gemini 4 Neon cache hit rate by 4%.
Conclusions

The cost differential (Neon $3.5 vs Opus $7.2 on an equivalent scene) makes Neon a sensible default for most coding work, with Opus reserved for tasks where visual fidelity is the top priority.

Decoupling planning from execution separates reasoning cost from mechanical edits, a pattern likely to spread beyond Antigravity as token-efficient agent design becomes table stakes.

The article's emphasis on context as a billable resource signals that agent tooling is maturing from 'just get it done' to 'get it done within a budget'.

Concepts & terms
Orchestrator/Executor split
In Antigravity, the Orchestrator runs a Planner model that reads the codebase and writes a plan, then an Executor model handles searches, edits, and tests; control returns to the Planner when the Executor fails validation or hits unplanned issues.
Checkpoint buffer
A reserved region in Antigravity's context that stores compressed summaries and session snapshots separately from active dialogue and fixed system overhead, allowing context compression without losing state.
model_decision trigger
A YAML frontmatter trigger type for Antigravity rules that injects only a path and description into context, reading the full rule text only when the model decides it's relevant, saving tokens on every request.
Source: juejin.cn ↗ Google Translate ↗ Backup ↗