xhigh ThinkingWho benefits: Backend and platform engineering teams auditing concurrency, payment retry queues, or multi-file TypeScript/Python migrations where Hydrogen lacks deep verification and Carbon is slower than needed.
Pattern: Call gemini-4-neon via the Interactions API in @google/genai v3.6.1 with thinking_level: "xhigh" so the model performs deep multi-step verification (leveraging Neon’s 2.45% shortcut rate and 99.2% honesty score) before writing surgical diffs:
import { GoogleGenAI } from "@google/genai";
// @google/genai v3.6.1 adds "gemini-4-neon" to the Interactions Model enum
const client = new GoogleGenAI({});
const interaction = await client.interactions.create({
model: "gemini-4-neon",
input: "Audit this payment retry queue for race conditions and rewrite the lock acquisition logic.",
generation_config: {
thinking_level: "xhigh",
},
});
console.log(interaction.output_text);
Who benefits: Enterprise modernization teams generating complete multi-module specifications, OpenAPI contracts, and end-to-end test suites in a single coherent pass.
Pattern: Combine background: true with max_output_tokens: 262144 (up to Neon’s 1,048,576 unified context ceiling) so server-side 64K-token continuation hops assemble a complete deliverable without truncation:
import time
from google import genai
# google-genai v3.6.1 supports "gemini-4-neon" natively
client = genai.Client()
interaction = client.interactions.create(
model="gemini-4-neon",
input="Generate a complete multi-module migration specification and test suite for this service.",
background=True,
generation_config={
"max_output_tokens": 262144,
"thinking_level": "high",
},
)
while interaction.status in ("in_progress", "queued"):
time.sleep(5)
interaction = client.interactions.get(id=interaction.id)
text = "".join(
content.text
for step in interaction.steps
if step.type == "model_output"
for content in step.content
if content.type == "text"
)
print(text)
Who benefits: Engineering teams running multi-agent swarms on large monorepos or 1M-token knowledge graphs.
Pattern: Pin gemini-4-neon as the Orchestrator to plan architecture, manage context compaction, and review pull requests (39.0% SWE-sweep in Antigravity; #2 on Agent Arena steerability), while dispatching parallel gemini-4-hydrogen workers ($1.50/$7.50) for isolated unit tests, component edits, and file searches.
Who benefits: Legal, accounting, and AppSec teams operating on dense spreadsheets, charts, and repositories.
Pattern: Pair Neon’s #1 rankings on Legal Research Bench, Tax Agent Bench, and Surge AI finance/spreadsheet benchmarks with November 18’s native spreadsheet_options and page_options slicing so Neon inspects only exact sheet ranges and formulas at $0.15/1M implicit cache rates—or deploy Gemini 4 Neon for cyber via the Fairwind Program (90.5% SEC-bench Pro, 70.7% CWE-Bench v2, 0.0% Gray Swan IPI attack success rate at xhigh).
Test Neon vs. Hydrogen vs. Carbon cost-per-task economics, thinking levels, and SDK v3.6.1 snippets in your browser:
Launch Gemini 4 Neon Studio [SIMULATED DEMO] →