Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
f16ee59
Add GPT-6.2 Astra's and GPT-6.2 Sol's model cards, list prices and re…
MaxGhenis Nov 17, 2026
26132a2
Tidy the GPT-6.2 cards' comments after their independent check.
MaxGhenis Nov 17, 2026
0062724
Record GPT-6.2 Astra's and GPT-6.2 Sol's onboarding on their cards.
MaxGhenis Nov 19, 2026
8fb3a6b
State the GPT-6.2 cards' gauntlet cost basis with its cache writes.
MaxGhenis Nov 19, 2026
77a991b
Add Gemini 4 Neon's card, list price and release date
MaxGhenis Nov 19, 2026
0eb7b23
Say what Google's pricing page lists for Gemini 4 Neon, and name Hydr…
MaxGhenis Nov 19, 2026
3036f87
Record Gemini 4 Neon's gauntlet on its card and set its timeout from …
MaxGhenis Nov 19, 2026
9040f44
Say Gemini 4 Neon's gauntlet ran under the card's earlier 300s timeout.
MaxGhenis Nov 19, 2026
515c2f8
Say where Gemini 4 Neon's 600s timeout departs from Hydrogen's test a…
MaxGhenis Nov 19, 2026
87f6993
State GPT-6.2's long-context cache-write rates and give the probe's c…
MaxGhenis Nov 20, 2026
1425d68
Reword an ambiguous clause in the GPT-6.2 cards' cost comments.
MaxGhenis Nov 20, 2026
2f71786
Merge gpt-6.2-cards into gemini-4-neon-cards.
MaxGhenis Nov 20, 2026
be7e390
State the full assumed usage behind the GPT-6.2 cards' exact cost exa…
MaxGhenis Nov 20, 2026
28fbd4e
Merge gpt-6.2-cards into gemini-4-neon-cards.
MaxGhenis Nov 20, 2026
018cb77
Merge main into gemini-4-neon-cards.
MaxGhenis Nov 20, 2026
55c63d5
Let a gemini/ model card's completion_token_cap set its starting budget.
MaxGhenis Nov 20, 2026
38f73c8
Start Gemini 4 Neon's requests at its 65,536-token ceiling.
MaxGhenis Nov 20, 2026
7c3c4de
Name the sources of Gemini 4 Neon's 127 to 138 tokens-a-second range …
MaxGhenis Nov 20, 2026
f0e7d28
Correct three card comments that the Gemini starting-budget change ma…
MaxGhenis Nov 20, 2026
11da9d1
Scope Gemini 4 Neon's card to what its smokes showed, and add the sec…
MaxGhenis Nov 21, 2026
6b6c527
State what Gemini 4 Neon's card and tests show about ceiling records …
MaxGhenis Nov 21, 2026
6aa3525
Scope Gemini 4 Neon's ceiling sentences to a request that ends at len…
MaxGhenis Nov 21, 2026
55138ea
Merge main (#275 response-cache key fix, #274) into gemini-4-neon-cards
MaxGhenis Nov 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/src/modelMeta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ export const MODEL_RELEASE_DATES: Record<string, string> = {
"gemini-4-argon": "2026-10-13",
"gemini-4-carbon": "2026-11-10",
"gemini-4-hydrogen": "2026-11-12",
"gemini-4-neon": "2026-11-18",
"gemini-3.1-flash-lite-preview": "2026-03-03",
"gpt-5.4-mini": "2026-03-17",
"gpt-5.4-nano": "2026-03-17",
Expand Down
17 changes: 17 additions & 0 deletions policybench/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,13 @@
# page's one stable version; Google lists no dated snapshot
# (aistudio.google.com/docs/models/gemini-4-hydrogen, read 2026-11-13).
"gemini-4-hydrogen": "gemini/gemini-4-hydrogen",
# Gemini 4 Neon. The Gemini API changelog lists gemini-4-neon as
# generally available on 2026-11-18, on the paid tier
# (aistudio.google.com/docs/changelog, read 2026-11-19). It runs on the
# first-party Gemini API like the other Gemini rows. The id is the model
# page's one stable version; Google lists no dated snapshot
# (aistudio.google.com/docs/models/gemini-4-neon, read 2026-11-19).
"gemini-4-neon": "gemini/gemini-4-neon",
# Cloaked OpenRouter preview listed 2026-08-20 (free window); Z.ai later
# identified it as GLM-5.3-Flash. On the board as a labeled preview row.
"ox-alpha": "openrouter/stealth/ox-alpha",
Expand Down Expand Up @@ -324,6 +331,16 @@
# $1.50 / $7.50; the override prices a request from the rates above
# whether or not the map is available.
"gemini-4-hydrogen": {"input": 1.5, "output": 7.5, "cache_read": 0.075},
# gemini-4-neon: $3 / $15 per 1M input/output tokens (output includes
# thinking tokens) and $0.15 cached input, the paid tier's standard
# rates, with no introductory rate and no dated change
# (aistudio.google.com/docs/pricing, read 2026-11-19). The page lists one
# rate at every prompt length, implicit caching only, and no free tier
# for this model. litellm 1.95.0's bundled price map has no gemini-4 id;
# PolicyBench uses these rates to reconstruct a request's synchronous
# token cost from its reported usage, whether or not litellm's map has
# the id.
"gemini-4-neon": {"input": 3.0, "output": 15.0, "cache_read": 0.15},
# glm-5.3: $1.40 / $4.40 per 1M (OpenRouter list, 2026-09-03).
"glm-5.3": {"input": 1.40, "output": 4.40},
# deepseek dated snapshots via OpenRouter (list prices 2026-09-03).
Expand Down
12 changes: 9 additions & 3 deletions policybench/eval_no_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1061,8 +1061,15 @@ def _uncapped_completion_controls(
include_explanations: bool = True,
variables: list[str] | None = None,
) -> dict:
card = card_for(model_id)
if model_id.startswith("gemini/"):
if model_id == "gemini/gemini-3.1-pro-preview":
cap = GEMINI_MAX_COMPLETION_TOKENS_CAP
if card is not None and card.completion_token_cap is not None:
# A gemini/ card that sets completion_token_cap starts there, as
# a thinking-budget card does in the branch below (base and cap
# both). Every other gemini/ id keeps the family's 16,384.
base_tokens = cap = card.completion_token_cap
elif model_id == "gemini/gemini-3.1-pro-preview":
base_tokens = GEMINI_PRO_JSON_MAX_COMPLETION_TOKENS
else:
base_tokens = GEMINI_JSON_MAX_COMPLETION_TOKENS
Expand All @@ -1071,10 +1078,9 @@ def _uncapped_completion_controls(
base_tokens,
variables,
include_explanations,
cap=GEMINI_MAX_COMPLETION_TOKENS_CAP,
cap=cap,
)
}
card = card_for(model_id)
# A thinking-budget card outranks the legacy xai/ family branch:
# grok-4.5 reasons by default (14k tokens on the 16-variable probe),
# while grok-4.3 has no card and keeps the flat family budget.
Expand Down
236 changes: 225 additions & 11 deletions policybench/model_cards.py

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions policybench/paper_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3637,6 +3637,12 @@ def last_engine_upgrade(self) -> EngineUpgrade:
# gemini-models/introducing-gemini-4-hydrogen (2026-11-12: "Starting
# today" in the Gemini API and the Gemini app), both read 2026-11-13.
"gemini-4-hydrogen": "2026-11-12",
# aistudio.google.com/docs/changelog ("November 18, 2026": Gemini 4 Neon,
# gemini-4-neon, generally available, on the paid tier) and blog.google/
# innovation-and-ai/models-and-research/gemini-models/
# introducing-gemini-4-neon (2026-11-18: "rolling out today in the Gemini
# API in Google AI Studio"), both read 2026-11-19.
"gemini-4-neon": "2026-11-18",
# blog.google gemini-3-1-flash-lite; siliconangle.com 2026-03-03
"gemini-3.1-flash-lite-preview": "2026-03-03",
# openai.com/index/introducing-gpt-5-4-mini-and-nano; 9to5mac 2026-03-17
Expand Down
Loading