Skip to content

Official Codebase of 3DCodeVerse

Python

pricing keeps only the current models: gemini-4-argon, Claude 5.5/Fable 5.1, GPT-6; the API adapters follow them

gaoypeng0607a58d651c
diff --git a/eval/llm/README.md b/eval/llm/README.md
index 917a41f6..7325095b 100644
--- a/eval/llm/README.md
+++ b/eval/llm/README.md
@@ -73,11 +73,11 @@ python -m llm.run_eval --backend vllm --model ... --run qwen3_8b_t07 --suites lo
# 4. any OpenAI-compatible endpoint (vLLM server, OpenRouter, GPT…) or Claude
vllm serve ~/3dcodeverse_data/models/Qwen3-8B --port 8000 &
python -m llm.run_eval --backend openai --base-url http://localhost:8000/v1 --model Qwen3-8B --run q8_server --suites all
-ANTHROPIC_API_KEY=… python -m llm.run_eval --backend anthropic --model claude-sonnet-4-6 --run sonnet --suites headline
+ANTHROPIC_API_KEY=… python -m llm.run_eval --backend anthropic --model claude-sonnet-5-5 --run sonnet --suites headline
# 5. quality without ground truth: VLM judge (any OpenAI-compatible VLM endpoint, or Claude)
-python -m llm.run_eval ... --judge-model gpt-5.4 --judge-base-url https://…/v1 # absolute 1-5 after scoring
-python -m llm.judge pairwise --run-a qwen3_8b --run-b official_gpt-5.5 --suite 3dcodebench_official_text --judge-model …
+python -m llm.run_eval ... --judge-model gpt-6.1-sol --judge-base-url https://…/v1 # absolute 1-5 after scoring
+python -m llm.judge pairwise --run-a qwen3_8b --run-b official_gpt-6-astra --suite 3dcodebench_official_text --judge-model …
# 6. tables
python -m llm.report --root $C3D_EVAL_DATA/out
diff --git a/eval/llm/judge.py b/eval/llm/judge.py
index 641ccae8..b60c2ade 100644
--- a/eval/llm/judge.py
+++ b/eval/llm/judge.py
@@ -14,8 +14,8 @@ Backends: any OpenAI-compatible chat endpoint with image input (a local vLLM ser
Qwen3-VL, OpenRouter, GPT) via --base-url, or Claude via --backend anthropic. Results go to
<gen_dir>/judge_<tag>.jsonl (absolute) or <out>/pairwise_<a>_vs_<b>.jsonl.
- python -m llm.judge absolute --run qwen3_8b --suite 3dcodebench_text --judge-model gpt-5.4 --base-url …
- python -m llm.judge pairwise --run-a qwen3_8b --run-b official_gpt-5.5 --suite 3dcodebench_official_text …
+ python -m llm.judge absolute --run qwen3_8b --suite 3dcodebench_text --judge-model gpt-6.1-sol --base-url …
+ python -m llm.judge pairwise --run-a qwen3_8b --run-b official_gpt-6-astra --suite 3dcodebench_official_text …
"""
from __future__ import annotations
diff --git a/eval/llm/rescore_logs.py b/eval/llm/rescore_logs.py
index 6fc9a781..d1c4ee9c 100644
--- a/eval/llm/rescore_logs.py
+++ b/eval/llm/rescore_logs.py
@@ -5,8 +5,8 @@ the paper's 12 models (one row per trial, `code` column). Writing them into the
`run_eval --stages exec render score` produce exec / Chamfer / SigLIP-2 / DINOv3 numbers for the frontier
models on *this* machine — the calibration that tells whether a local 8B number is comparable to the paper.
- python -m llm.rescore_logs --setting text_to_3D --models gpt-5.5 claude-opus-4-7
- python -m llm.run_eval --backend reference --run official_gpt-5.5 --suites 3dcodebench_official_text --stages exec render score
+ python -m llm.rescore_logs --setting text_to_3D --models gpt-6-astra claude-opus-5-5
+ python -m llm.run_eval --backend reference --run official_gpt-6-astra --suites 3dcodebench_official_text --stages exec render score
Runs are named `official_<model>`; the suite is `3dcodebench_official_text` (or `_img4`).
"""
diff --git a/eval/llm/run_eval.py b/eval/llm/run_eval.py
index 95dd90cc..24230ca1 100644
--- a/eval/llm/run_eval.py
+++ b/eval/llm/run_eval.py
@@ -53,7 +53,7 @@ def main() -> None:
ap.add_argument("--exec-workers", type=int, default=None)
ap.add_argument("--score-workers", type=int, default=4, help="geometry-metric processes (each loads full meshes; keep small on <64 GB RAM)")
# optional VLM judge (absolute 1-5 grades from the 4 renders; see judge.py)
- ap.add_argument("--judge-model", default=None, help="run judge.py absolute mode after scoring, e.g. gpt-5.4 or a local VLM")
+ ap.add_argument("--judge-model", default=None, help="run judge.py absolute mode after scoring, e.g. gpt-6.1-sol or a local VLM")
ap.add_argument("--judge-backend", choices=["openai", "anthropic"], default="openai")
ap.add_argument("--judge-base-url", default=None)
a = ap.parse_args()
diff --git a/eval/tests/test_infra_failures.py b/eval/tests/test_infra_failures.py
index 1d11f7ec..9e05db78 100644
--- a/eval/tests/test_infra_failures.py
+++ b/eval/tests/test_infra_failures.py
@@ -188,7 +188,7 @@ def test_budget_and_outage_are_different_buckets():
@pytest.mark.parametrize(("raw_arms", "needs_loop"), [
- ("harness:codex:gpt-5.6-sol", True),
+ ("harness:codex:gpt-6.1-sol", True),
("oneshot:claude-code,oneshot:codex", False),
])
def test_preflight_probes_only_models_the_selected_arms_need(monkeypatch, raw_arms, needs_loop):
diff --git a/eval/tests/test_oneshot.py b/eval/tests/test_oneshot.py
index 0a527cfe..55d69cdd 100644
--- a/eval/tests/test_oneshot.py
+++ b/eval/tests/test_oneshot.py
@@ -84,13 +84,13 @@ def test_codex_argv_is_read_only_and_forces_a_reasoning_effort(tmp_path: Path):
assert argv[:3] == ["codex", "exec", "--json"]
assert argv[argv.index("--sandbox") + 1] == "read-only" and argv[-1] == "-"
assert "--ephemeral" in argv and "-o" in argv and "mcp_servers" not in " ".join(argv)
- argv = CodexOneShot("gpt-5.6-terra", binary="codex").argv(tmp_path, tmp_path / "last.md")
- assert argv[argv.index("--model") + 1] == "gpt-5.6-terra"
+ argv = CodexOneShot("gpt-6-sol", binary="codex").argv(tmp_path, tmp_path / "last.md")
+ assert argv[argv.index("--model") + 1] == "gpt-6-sol"
assert "model_reasoning_effort=high" in argv and argv[argv.index("-c") + 1] == "model_reasoning_effort=high"
- b = CodexOneShot("gpt-5.6-luna@low", binary="codex")
- assert b.model == "gpt-5.6-luna" and b.id == "oneshot:codex:gpt-5.6-luna"
+ b = CodexOneShot("gpt-6-luna@low", binary="codex")
+ assert b.model == "gpt-6-luna" and b.id == "oneshot:codex:gpt-6-luna"
assert "model_reasoning_effort=low" in b.argv(tmp_path, tmp_path / "last.md")
- plain = CodexOneShot("gpt-5.6-sol", binary="codex", reasoning_effort="").argv(tmp_path, tmp_path / "l.md")
+ plain = CodexOneShot("gpt-6.1-sol", binary="codex", reasoning_effort="").argv(tmp_path, tmp_path / "l.md")
assert "model_reasoning_effort" not in " ".join(plain)
@@ -163,7 +163,7 @@ def test_a_continued_claude_reply_is_read_whole_not_just_its_last_continuation()
_CLAUDE_KILLED = [ # a reply's usage block, then no result envelope
{"type": "system", "subtype": "init"},
- {"type": "assistant", "message": {"id": "m1", "model": "claude-sonnet-5", "content": [{"type": "text", "text": "```js"}],
+ {"type": "assistant", "message": {"id": "m1", "model": "claude-sonnet-5-5", "content": [{"type": "text", "text": "```js"}],
"usage": {"input_tokens": 9000, "output_tokens": 4000}}}]
_CODEX_KILLED = [ # an item completed, no turn did
{"type": "thread.started", "thread_id": "t"}, {"type": "turn.started"},
@@ -171,8 +171,8 @@ _CODEX_KILLED = [ # an item completed, no turn did
@pytest.mark.parametrize("backend, events", [
- (lambda b: ClaudeOneShot("claude-sonnet-5", binary=b), _CLAUDE_KILLED),
- (lambda b: CodexOneShot("gpt-5.5", binary=b), _CODEX_KILLED),
+ (lambda b: ClaudeOneShot("claude-sonnet-5-5", binary=b), _CLAUDE_KILLED),
+ (lambda b: CodexOneShot("gpt-6-astra", binary=b), _CODEX_KILLED),
], ids=["claude", "codex"])
def test_a_session_that_never_finished_books_what_it_spent_not_zero(tmp_path: Path, backend, events):
"""N82a: the harness books these sessions (stream usage / codex estimate); the one-shot booked $0."""
@@ -192,8 +192,8 @@ def test_a_session_that_never_finished_books_what_it_spent_not_zero(tmp_path: Pa
("You've hit your usage limit. Try again later.", True),
("TypeError: cannot read properties of undefined", False), # the CLI's own crash stays a zero
])
[email protected]("backend", [lambda b: ClaudeOneShot("claude-sonnet-5", binary=b),
- lambda b: CodexOneShot("gpt-5.5", binary=b)], ids=["claude", "codex"])
[email protected]("backend", [lambda b: ClaudeOneShot("claude-sonnet-5-5", binary=b),
+ lambda b: CodexOneShot("gpt-6-astra", binary=b)], ids=["claude", "codex"])
def test_a_provider_failure_drops_the_one_shot_cell(tmp_path: Path, backend, said, infra):
"""N76: the one-shot reads its CLI's end the way the harness session does (claude_end / codex_end)."""
fake = tmp_path / "cli"
diff --git a/harness/codeverse3d/models/anthropic.py b/harness/codeverse3d/models/anthropic.py
index c6e0c35e..22826e9e 100644
--- a/harness/codeverse3d/models/anthropic.py
+++ b/harness/codeverse3d/models/anthropic.py
@@ -1,9 +1,11 @@
"""ChatRequest ⇄ Anthropic Messages API dicts (messages, submit tool, thinking, parse).
-Model-family rules (Anthropic API, 2026-08):
-* 4.6+ family (opus-5, sonnet-5, fable-5, mythos, opus-4-6/7/8, sonnet-4-6):
- ``thinking={"type":"adaptive"}`` + ``output_config.effort``; ``budget_tokens``
- is rejected; sampling params are rejected on opus-5/sonnet-5/fable/4.7/4.8.
+Model-family rules (Anthropic API, 2026-10):
+* 4.6+ family (opus-5/5.5, sonnet-5/5.5, haiku-5.5, fable-5/5.1, mythos, opus-4-6/7/8,
+ sonnet-4-6): ``thinking={"type":"adaptive"}`` + ``output_config.effort``;
+ ``budget_tokens`` is rejected; sampling params are rejected on opus-5/sonnet-5/haiku-5/
+ fable/4.7/4.8. Fable, Mythos, Opus 5.5 and Sonnet 5.5 cannot turn thinking off
+ (``disabled`` is a 400) and reject a forced ``tool_choice``: "off" is effort ``low``.
* older models (haiku-4-5, sonnet-4-5, opus-4-1 …): ``thinking={"type":
"enabled","budget_tokens":N}`` (N < max_tokens), temperature must be left
at default while thinking is on.
@@ -49,6 +51,7 @@ EFFORT: dict[str, str] = {"off": "low", "low": "low", "medium": "medium", "high"
_ADAPTIVE_MARKERS = (
"opus-5",
"sonnet-5",
+ "haiku-5",
"fable-5",
"mythos",
"opus-4-6",
@@ -56,8 +59,8 @@ _ADAPTIVE_MARKERS = (
"opus-4-8",
"sonnet-4-6",
)
-_ALWAYS_THINKING = ("fable-5", "mythos")
-_NO_SAMPLING = ("opus-5", "sonnet-5", "fable-5", "mythos", "opus-4-7", "opus-4-8")
+_ALWAYS_THINKING = ("fable-5", "mythos", "opus-5-5", "sonnet-5-5")
+_NO_SAMPLING = ("opus-5", "sonnet-5", "haiku-5", "fable-5", "mythos", "opus-4-7", "opus-4-8")
def uses_adaptive_thinking(model: str) -> bool:
diff --git a/harness/codeverse3d/models/openai.py b/harness/codeverse3d/models/openai.py
index 2124ecba..6ae3d492 100644
--- a/harness/codeverse3d/models/openai.py
+++ b/harness/codeverse3d/models/openai.py
@@ -45,22 +45,15 @@ SCHEMA_NAME = "response"
# ------------------------------------------------------------- model families
def is_reasoning_model(model: str) -> bool:
- m = model.lower()
- return m.startswith(("o1", "o3", "o4", "gpt-5"))
+ return model.lower().startswith("gpt-6")
def reasoning_effort(model: str, thinking: str) -> str | None:
- """Map ``thinking`` onto ``reasoning_effort`` (None for non-reasoning models)."""
+ """Map ``thinking`` onto ``reasoning_effort`` (None for non-reasoning models). gpt-6 has no
+ off switch — ``none`` / ``minimal`` are rejected — so "off" is its lowest effort, ``low``."""
if not is_reasoning_model(model):
return None
- m = model.lower()
- if thinking == "off":
- if m.startswith("gpt-5.") and not m.startswith("gpt-5.0"):
- return "none" # gpt-5.1+ accept "none"
- if m.startswith("gpt-5"):
- return "minimal"
- return "low" # o-series has no off switch
- return thinking
+ return "low" if thinking == "off" else thinking
# ------------------------------------------------------------------ messages
diff --git a/harness/codeverse3d/models/pricing.py b/harness/codeverse3d/models/pricing.py
index 26c91d7e..a3186cda 100644
--- a/harness/codeverse3d/models/pricing.py
+++ b/harness/codeverse3d/models/pricing.py
@@ -6,7 +6,7 @@ report can say *which* price row produced a dollar and whether it was verified o
merely inferred (``3dcode cost prices``).
Only the standard (short-context) tier is modelled, **except** the documented
-long-prompt tiers of Gemini pro and GPT-6 Astra, which ``estimate_cost`` applies
+long-prompt tiers of Gemini pro, Claude Haiku 5.5 and GPT-6, which ``estimate_cost`` applies
automatically (``Price.long_context``). Cache *storage* fees (Gemini explicit
caching, $/1M-tokens/hour), Anthropic 1h-cache writes, batch/flex discounts,
data-residency and fast-mode multipliers are **not** modelled — see
@@ -112,93 +112,30 @@ PRICES: dict[tuple[str, str], Price] = {
("gemini", "gemini-2.5-flash-image"): Price(0.30, 30.00, 0.03, image_usd=0.039, status="inferred",
note="output/M derived from $0.039 per 1290-token 1024² image"),
# ------------------------------------------------------------- anthropic
- ("anthropic", "claude-fable-5"): Price(10.00, 50.00, 1.00, cache_write=12.50,
+ # Only the current generation is kept (owner, 2026-10-13): a model no longer
+ # here prices at $0 with a warning; a recorded run keeps the cost it was booked at.
+ ("anthropic", "claude-fable-5-1"): Price(10.00, 50.00, 0.25, cache_write=12.50, checked="2026-10-13",
note="1h cache write 20.00 (not modelled)"),
- ("anthropic", "claude-mythos-5"): Price(10.00, 50.00, 1.00, cache_write=12.50, note="limited availability"),
- # Claude Opus 5.5: cheaper than Opus 5 (claude-api skill model table, cached 2026-06-24); cache write = the
- # standard 1.25x input for the 5-minute TTL, as every other Anthropic row.
- ("anthropic", "claude-opus-5-5"): Price(4.00, 20.00, 0.20, cache_write=5.00, checked="2026-09-25"),
- ("anthropic", "claude-opus-5"): Price(5.00, 25.00, 0.50, cache_write=6.25,
- note="fast mode is 10.00/50.00 (not modelled)"),
- # the 1M-context variant of opus-5, and the id the DEFAULT claude-code arm serves.
- # "[1m]" is not a version suffix, so it cannot prefix-match claude-opus-5 and priced
- # at $0.00 until 2026-08-24 (a recorded run billed $1.218 under this exact key).
- ("anthropic", "claude-opus-5[1m]"): Price(5.00, 25.00, 0.50, cache_write=6.25, source="provider-cost",
- checked="2026-08-24", status="inferred",
- note="1M-context opus-5, served by the default claude-code arm. A probe "
- "billed costUSD 0.034620 for in=2, out=4, 1h-cache-write=3451 — "
- "exactly 2x5.00 + 4x25.00 + 3451x10.00 per 1M, i.e. the standard "
- "opus-5 rates with the 1h cache write at 2x input (not modelled here, "
- "as for every other Anthropic row)"),
- ("anthropic", "claude-opus-4-8"): Price(5.00, 25.00, 0.50, cache_write=6.25,
- note="fast mode is 10.00/50.00 (not modelled)"),
- ("anthropic", "claude-opus-4-7"): Price(5.00, 25.00, 0.50, cache_write=6.25),
- ("anthropic", "claude-opus-4-6"): Price(5.00, 25.00, 0.50, cache_write=6.25),
- ("anthropic", "claude-opus-4-5"): Price(5.00, 25.00, 0.50, cache_write=6.25),
- ("anthropic", "claude-opus-4-1"): Price(15.00, 75.00, 1.50, cache_write=18.75,
- note="retired except on Bedrock / Google Cloud"),
- ("anthropic", "claude-opus-4"): Price(15.00, 75.00, 1.50, cache_write=18.75, note="retired except on Google Cloud"),
- # sonnet-5: the $2/$10 launch rate became the standard rate (the 2026-09-01
- # increase to $3/$15 was cancelled) — was priced 50% too high here until 2026-08-23.
- ("anthropic", "claude-sonnet-5"): Price(2.00, 10.00, 0.20, cache_write=2.50,
- note="launch rate 2.00/10.00 is now standard; was 3.00/15.00 here"),
- ("anthropic", "claude-sonnet-4-6"): Price(3.00, 15.00, 0.30, cache_write=3.75),
- ("anthropic", "claude-sonnet-4-5"): Price(3.00, 15.00, 0.30, cache_write=3.75),
- ("anthropic", "claude-sonnet-4"): Price(3.00, 15.00, 0.30, cache_write=3.75,
- note="retired except on Bedrock / Google Cloud"),
- ("anthropic", "claude-haiku-4-5"): Price(1.00, 5.00, 0.10, cache_write=1.25),
- ("anthropic", "claude-haiku-4"): Price(1.00, 5.00, 0.10, cache_write=1.25, approximate=True, source="inferred",
- status="unverified",
- note="not listed on the pricing page; assumed = haiku-4.5"),
- ("anthropic", "claude-haiku-3-5"): Price(0.80, 4.00, 0.08, cache_write=1.00,
- note="retired except on Bedrock / Google Cloud"),
+ ("anthropic", "claude-opus-5-5"): Price(4.00, 20.00, 0.20, cache_write=5.00, checked="2026-10-13",
+ note="fast mode is 8.00/40.00 (not modelled)"),
+ ("anthropic", "claude-sonnet-5-5"): Price(2.00, 10.00, 0.10, cache_write=2.50, checked="2026-10-13"),
+ # haiku-5.5 is priced by prompt length: >100k tokens (cache reads and writes included)
+ # pays 0.50/2.50/0.05 for the whole request; its 0.625 cache write there is not modelled.
+ ("anthropic", "claude-haiku-5-5"): Price(0.10, 0.50, 0.01, cache_write=0.125, checked="2026-10-13",
+ long_context=LongContext(100_000, 0.50, 2.50, 0.05)),
+ # kept for the small model claude-code reports next to the main one (``claude-haiku-4-5-20251001``)
+ ("anthropic", "claude-haiku-4-5"): Price(1.00, 5.00, 0.10, cache_write=1.25, checked="2026-10-13"),
# ---------------------------------------------------------------- openai
- ("openai", "gpt-6-luna"): Price(0.10, 0.50, 0.01,
- long_context=LongContext(272_000, 0.20, 0.75, 0.02),
- checked="2026-09-25",
- note="Standard rates: developers.openai.com/api/docs/models/gpt-6-luna; "
- ">272k input uses 2x input/cache and 1.5x output. "
- "CLI aggregate usage is a notional estimate, not per-request billing."),
- ("openai", "gpt-6-astra"): Price(10.00, 50.00, 1.00, cache_write=12.50,
- long_context=LongContext(272_000, 20.00, 75.00, 2.00),
- checked="2026-09-23",
- note="Standard rates: developers.openai.com/api/docs/models/gpt-6-astra; "
- ">272k input uses 2x input/cache and 1.5x output. "
- "CLI aggregate usage is a notional estimate, not per-request billing."),
- # gpt-5.6-sol is CHEAPER than gpt-5.6 (was priced as its equal until 2026-08-23).
- ("openai", "gpt-5.6-sol"): Price(4.00, 20.00, 0.40,
- note="4.00/20.00/0.40; was 5.00/30.00/0.50 here until 2026-08-23"),
- ("openai", "gpt-5.6-terra"): Price(2.00, 12.00, 0.20, checked="2026-08-24",
- note="mid tier; fast mode is 4.00/24.00 (not modelled)"),
- ("openai", "gpt-5.6-luna"): Price(0.20, 1.20, 0.02, checked="2026-08-24",
- note="small tier, cut 80% on 2026-07-30; fast mode is 0.40/2.40 (not modelled)"),
- ("openai", "gpt-5.6"): Price(5.00, 30.00, 0.50),
- ("openai", "gpt-5.5"): Price(5.00, 30.00, 0.50),
- ("openai", "gpt-5.4"): Price(2.50, 15.00, 0.25),
- ("openai", "gpt-5.3-codex"): Price(1.75, 14.00, 0.175),
- ("openai", "gpt-5.2-codex"): Price(1.75, 14.00, 0.175, approximate=True, source="inferred",
- status="inferred", note="not listed; assumed = gpt-5.2"),
- ("openai", "gpt-5.2"): Price(1.75, 14.00, 0.175),
- ("openai", "gpt-5.1-codex"): Price(1.25, 10.00, 0.125, approximate=True, source="inferred",
- status="inferred", note="not listed; assumed = gpt-5.1"),
- ("openai", "gpt-5.1"): Price(1.25, 10.00, 0.125),
- ("openai", "gpt-5-codex"): Price(1.25, 10.00, 0.125, approximate=True, source="inferred",
- status="inferred", note="not listed; assumed = gpt-5"),
- ("openai", "gpt-5-mini"): Price(0.25, 2.00, 0.025),
- ("openai", "gpt-5-nano"): Price(0.05, 0.40, 0.005),
- ("openai", "gpt-5"): Price(1.25, 10.00, 0.125),
- ("openai", "gpt-4.1"): Price(2.00, 8.00, 0.50),
- ("openai", "gpt-4.1-mini"): Price(0.40, 1.60, 0.10),
- ("openai", "gpt-4.1-nano"): Price(0.10, 0.40, 0.025),
- ("openai", "gpt-4o"): Price(2.50, 10.00, 1.25),
- ("openai", "gpt-4o-mini"): Price(0.15, 0.60, 0.075),
- ("openai", "o3"): Price(2.00, 8.00, 0.50),
- ("openai", "o3-mini"): Price(1.10, 4.40, 0.55),
- ("openai", "o3-pro"): Price(20.00, 80.00, note="no cached-input rate published"),
- ("openai", "o4-mini"): Price(1.10, 4.40, 0.275),
- ("openai", "o1"): Price(15.00, 60.00, 7.50),
- ("openai", "o1-mini"): Price(1.10, 4.40, 0.55, approximate=True, source="inferred",
- status="unverified", note="not listed; kept at the o3-mini rate"),
+ # >272k input bills the whole request at 2x input/cache and 1.5x output. CLI aggregate
+ # usage is a notional estimate, not per-request billing.
+ ("openai", "gpt-6-astra"): Price(10.00, 50.00, 1.00, cache_write=12.50, checked="2026-10-13",
+ long_context=LongContext(272_000, 20.00, 75.00, 2.00)),
+ ("openai", "gpt-6.1-sol"): Price(2.00, 10.00, 0.10, cache_write=2.50, checked="2026-10-13",
+ long_context=LongContext(272_000, 4.00, 15.00, 0.20)),
+ ("openai", "gpt-6-sol"): Price(2.00, 10.00, 0.20, cache_write=2.50, checked="2026-10-13",
+ long_context=LongContext(272_000, 4.00, 15.00, 0.40)),
+ ("openai", "gpt-6-luna"): Price(0.10, 0.50, 0.01, cache_write=0.125, checked="2026-10-13",
+ long_context=LongContext(272_000, 0.20, 0.75, 0.02)),
}
# fmt: on
@@ -252,7 +189,7 @@ def _match(provider: str, model: str) -> tuple[tuple[str, str], Price] | None:
def lookup_price(provider: str, model: str) -> Price | None:
"""Exact match first, then the longest table key that ``model`` extends by a
pure version/date suffix (``claude-opus-5-20260301``, ``gemini-3.7-flash-preview-09``).
- A different family name after the key (``gpt-4.1-nano`` vs ``gpt-4.1``) is NOT a
+ A different family name after the key (``gpt-6.1-sol-mini`` vs ``gpt-6.1-sol``) is NOT a
match: unknown → ``None`` so the caller prices 0.0 and warns, never a sibling's rate."""
found = _match(provider, model)
return found[1] if found else None
diff --git a/harness/tests/agents/test_claude_code.py b/harness/tests/agents/test_claude_code.py
index c16cc9fc..45a51f74 100644
--- a/harness/tests/agents/test_claude_code.py
+++ b/harness/tests/agents/test_claude_code.py
@@ -23,7 +23,7 @@ ENVELOPE = {
"type": "result", "subtype": "success", "is_error": False, "duration_ms": 4200, "duration_api_ms": 3900,
"num_turns": 3, "result": "Created src/hello.txt", "session_id": "abc", "total_cost_usd": 0.0123,
"usage": {"input_tokens": 10, "cache_creation_input_tokens": 200, "cache_read_input_tokens": 5000, "output_tokens": 40},
- "modelUsage": {"claude-sonnet-4-6": {"inputTokens": 10, "outputTokens": 40, "costUSD": 0.0123}},
+ "modelUsage": {"claude-opus-5-5": {"inputTokens": 10, "outputTokens": 40, "costUSD": 0.0123}},
}
#: what a real `claude -p --model sonnet` session bills: the work model PLUS the small
@@ -35,7 +35,7 @@ TWO_MODEL_ENVELOPE = {
"usage": {"input_tokens": 2, "output_tokens": 4, "cache_read_input_tokens": 0},
"modelUsage": {
"claude-haiku-4-5-20251001": {"inputTokens": 1035, "outputTokens": 21, "costUSD": 0.000955},
- "claude-sonnet-5": {"inputTokens": 2, "outputTokens": 4, "costUSD": 0.02284},
+ "claude-sonnet-5-5": {"inputTokens": 2, "outputTokens": 4, "costUSD": 0.02284},
},
}
@@ -80,7 +80,7 @@ def test_parse_envelope_variants():
assert parse_claude_json(json.dumps([{"type": "assistant"}, ENVELOPE]))["type"] == "result"
assert parse_claude_json("") is None
u = usage_from_envelope(ENVELOPE, "sonnet")
- assert u.cached_tokens == 5000 and u.cost_usd == 0.0123 and u.model == "claude-sonnet-4-6"
+ assert u.cached_tokens == 5000 and u.cost_usd == 0.0123 and u.model == "claude-opus-5-5"
# input_tokens is the TOTAL prompt (10 uncached + 5 000 read + 200 written), as for every
# other backend: the uncached 10 alone let CostBucket clamp 4 990 cached + the 200 away
assert u.input_tokens == 5210
@@ -146,10 +146,10 @@ def test_live_claude_tiny(tmp_ws: Workspace):
def test_the_served_model_is_the_work_model_not_the_housekeeping_one():
"""`claude -p` bills two models and lists the auxiliary one first (CC-1)."""
- assert usage_from_envelope(TWO_MODEL_ENVELOPE, "").model == "claude-sonnet-5"
+ assert usage_from_envelope(TWO_MODEL_ENVELOPE, "").model == "claude-sonnet-5-5"
assert primary_served_model(TWO_MODEL_ENVELOPE, "claude-haiku-4-5-20251001") == "claude-haiku-4-5-20251001"
env = {**TWO_MODEL_ENVELOPE, "usage": {"input_tokens": 0, "output_tokens": 0}} # no row lines up
- assert primary_served_model(env, "sonnet") == "claude-sonnet-5" # the dearest wins
+ assert primary_served_model(env, "sonnet") == "claude-sonnet-5-5" # the dearest wins
# --------------------------------------------------------------------------- killed sessions
@@ -161,10 +161,10 @@ time.sleep(60) # an overloaded provider: claude keeps retrying until the watch
'''
_MSG_USAGE = {"input_tokens": 2, "cache_creation_input_tokens": 19190, "cache_read_input_tokens": 20354, "output_tokens": 5}
KILLED_STREAM = [
- {"type": "system", "subtype": "init", "session_id": "k", "model": "claude-sonnet-5", "skills": []},
- {"type": "assistant", "message": {"id": "msg_1", "model": "claude-sonnet-5", "usage": _MSG_USAGE,
+ {"type": "system", "subtype": "init", "session_id": "k", "model": "claude-sonnet-5-5", "skills": []},
+ {"type": "assistant", "message": {"id": "msg_1", "model": "claude-sonnet-5-5", "usage": _MSG_USAGE,
"content": [{"type": "text", "text": "Reading the plan"}]}},
- {"type": "assistant", "message": {"id": "msg_1", "model": "claude-sonnet-5", "usage": _MSG_USAGE, # same message
+ {"type": "assistant", "message": {"id": "msg_1", "model": "claude-sonnet-5-5", "usage": _MSG_USAGE, # same message
"content": [{"type": "tool_use", "id": "t1", "name": "Read", "input": {}}]}},
{"type": "user", "message": {"role": "user", "content": [{"type": "tool_result", "tool_use_id": "t1"}]}},
{"type": "system", "subtype": "api_retry", "attempt": 1, "max_retries": 10, "retry_delay_ms": 500,
@@ -185,9 +185,9 @@ def test_a_killed_session_is_booked_from_its_messages_and_its_retries_are_provid
res = a.run(AgentJob(workspace=str(tmp_ws.root), prompt="hello", label="k", timeout_s=1, spatial_tools=False))
assert not res.ok and res.exit_reason == "timeout" and res.transient and not res.quota
u = res.usage
- assert (u.input_tokens, u.cached_tokens, u.output_tokens, u.model) == (2 + 19190 + 20354, 20354, 5, "claude-sonnet-5")
- assert u.cost_usd == pytest.approx(estimate_cost("anthropic", "claude-sonnet-5", u)
- + cache_write_surcharge("anthropic", "claude-sonnet-5", 19190)) and u.cost_usd > 0
+ assert (u.input_tokens, u.cached_tokens, u.output_tokens, u.model) == (2 + 19190 + 20354, 20354, 5, "claude-sonnet-5-5")
+ assert u.cost_usd == pytest.approx(estimate_cost("anthropic", "claude-sonnet-5-5", u)
+ + cache_write_surcharge("anthropic", "claude-sonnet-5-5", 19190)) and u.cost_usd > 0
assert 0.0 < res.provider_wait_s <= res.duration_s
rec = json.loads((Path(res.transcript_path).parent / "result.json").read_text())
assert rec["usage_from"] == "stream messages"
diff --git a/harness/tests/agents/test_codex.py b/harness/tests/agents/test_codex.py
index 3baf85aa..8cc64ee5 100644
--- a/harness/tests/agents/test_codex.py
+++ b/harness/tests/agents/test_codex.py
@@ -57,7 +57,7 @@ if mode == "killed":
def test_parse_jsonl():
ev = parse_codex_jsonl("\n".join(json.dumps(e) for e in EVENTS) + "\nnot json\n")
assert ev.thread_id == "th1" and ev.messages == ["Done."] and ev.tool_calls == 2 and ev.turns_completed == 1
- u = ev.usage("gpt-5.6-sol")
+ u = ev.usage("gpt-6.1-sol")
assert u.input_tokens == 1000 and u.cached_tokens == 600 and u.output_tokens == 50 and u.tool_calls == 2
@@ -66,14 +66,14 @@ def test_reasoning_tokens_are_not_billed_twice():
ev = parse_codex_jsonl(json.dumps(
{"type": "turn.completed", "usage": {"input_tokens": 1000, "output_tokens": 9000,
"reasoning_output_tokens": 5000}}))
- u = ev.usage("gpt-5.6-sol")
+ u = ev.usage("gpt-6.1-sol")
assert (u.output_tokens, u.thoughts_tokens) == (4000, 5000)
- # 1000 in @ $4/M + 9000 billable output @ $20/M — the reasoning share counted once
- assert u.cost_usd == pytest.approx(1000 * 4.0 / 1e6 + 9000 * 20.0 / 1e6)
+ # 1000 in @ $2/M + 9000 billable output @ $10/M — the reasoning share counted once
+ assert u.cost_usd == pytest.approx(1000 * 2.0 / 1e6 + 9000 * 10.0 / 1e6)
def test_argv_sandboxes_the_workspace_approves_mcp_calls_and_states_the_effort(tmp_ws: Workspace):
- a = CodexAgent("gpt-5.6-sol", binary="codex")
+ a = CodexAgent("gpt-6.1-sol", binary="codex")
argv = a.build_argv(begin_session(AgentJob(workspace=str(tmp_ws.root), prompt="p"), "codex"))
assert argv[argv.index("--sandbox") + 1] == "workspace-write"
# codex exec has nobody to answer the per-tool approval elicitation → every MCP call would be cancelled
@@ -83,18 +83,18 @@ def test_argv_sandboxes_the_workspace_approves_mcp_calls_and_states_the_effort(t
assert "mcp_servers" not in " ".join(argv)
# `codex exec` defaults to medium; every harness call states the effort instead
assert argv[argv.index("-c") + 1] == "model_reasoning_effort=high"
- a = CodexAgent("gpt-5.6-terra@medium", binary="codex")
- assert (a.model, a.reasoning_effort, a.id) == ("gpt-5.6-terra", "medium", "codex:gpt-5.6-terra")
+ a = CodexAgent("gpt-6-sol@medium", binary="codex")
+ assert (a.model, a.reasoning_effort, a.id) == ("gpt-6-sol", "medium", "codex:gpt-6-sol")
assert "model_reasoning_effort=medium" in a.build_argv(s)
- assert "model_reasoning_effort" not in " ".join(CodexAgent("gpt-5.6-sol", binary="codex",
+ assert "model_reasoning_effort" not in " ".join(CodexAgent("gpt-6.1-sol", binary="codex",
reasoning_effort="").build_argv(s))
- assert split_model_effort("gpt-5.6-luna", "high") == ("gpt-5.6-luna", "high")
+ assert split_model_effort("gpt-6-luna", "high") == ("gpt-6-luna", "high")
with pytest.raises(ValueError, match="reasoning effort"):
- CodexAgent("gpt-5.6-sol", binary="codex", reasoning_effort="ludicrous")
+ CodexAgent("gpt-6.1-sol", binary="codex", reasoning_effort="ludicrous")
def test_fake_run_and_every_failure_is_typed(tmp_ws: Workspace, fake_bin, monkeypatch):
- a = CodexAgent("gpt-5.6-sol", binary=fake_bin("codex", FAKE_CODEX))
+ a = CodexAgent("gpt-6.1-sol", binary=fake_bin("codex", FAKE_CODEX))
res = a.run(AgentJob(workspace=str(tmp_ws.root), prompt="hello", label="x", timeout_s=30))
assert res.ok and res.exit_reason == "completed" and res.text == "Done." and res.tool_calls == 2, res.errors
assert [f.path for f in res.files_changed] == ["src/hello.txt"] and (tmp_ws.src / "hello.txt").read_text() == "hello"
@@ -154,7 +154,7 @@ def test_live_codex_mcp_tool_call_is_not_cancelled(tmp_ws: Workspace):
def test_live_codex_tiny(tmp_ws: Workspace):
if not shutil.which("codex"):
pytest.skip("codex not installed")
- a = CodexAgent("gpt-5.6-sol")
+ a = CodexAgent("gpt-6.1-sol")
res = a.run(AgentJob(workspace=str(tmp_ws.root), prompt="Create src/hello.txt containing exactly 'hi'. Reply DONE.",
timeout_s=300, label="live", spatial_tools=False))
assert res.ok, res.errors
diff --git a/harness/tests/cost/test_cli.py b/harness/tests/cost/test_cli.py
index b48dbfbc..08a24ddc 100644
--- a/harness/tests/cost/test_cli.py
+++ b/harness/tests/cost/test_cli.py
@@ -95,6 +95,6 @@ def test_cost_cache_reports_the_cold_head_of_every_session(fake_run: Path):
def test_cost_prices_flags_stale_and_approximate_rows():
r = runner.invoke(app, ["cost", "prices", "--stale"])
assert r.exit_code == 0
- assert "flags" in r.stdout and ("approximate" in r.stdout or "none older than" in r.stdout)
+ assert "flags" in r.stdout and ("flagged" in r.stdout or "none older than" in r.stdout)
r = runner.invoke(app, ["cost", "prices", "--days", "-1"])
assert r.exit_code == 0 and "stale>-1d" in r.stdout # nothing is younger than -1 days
diff --git a/harness/tests/cost/test_price_hygiene.py b/harness/tests/cost/test_price_hygiene.py
index 518346b7..66d1d0e6 100644
--- a/harness/tests/cost/test_price_hygiene.py
+++ b/harness/tests/cost/test_price_hygiene.py
@@ -2,8 +2,6 @@
from __future__ import annotations
-import pytest
-
from codeverse3d.contracts.common import Usage
from codeverse3d.models.pricing import (
PRICES,
@@ -23,15 +21,18 @@ SUPPORTED_MODEL_IDS = (
"gemini:gemini-3.1-flash-lite",
"gemini:gemini-3.1-flash-image",
"gemini:gemini-2.5-flash-image",
- "openai:gpt-5.6-sol",
- "openai:gpt-5.5",
- "openai:gpt-5",
- "anthropic:claude-fable-5",
- "anthropic:claude-opus-5",
- "anthropic:claude-sonnet-5",
+ "gemini:gemini-3.8-flash",
+ "gemini:gemini-4-argon",
+ "openai:gpt-6-astra",
+ "openai:gpt-6.1-sol",
+ "openai:gpt-6-sol",
+ "openai:gpt-6-luna",
+ "anthropic:claude-fable-5-1",
+ "anthropic:claude-opus-5-5", # what the DEFAULT claude-code arm reports (live, 2026-10-13)
+ "anthropic:claude-sonnet-5-5",
+ "anthropic:claude-haiku-5-5",
"anthropic:claude-haiku-4-5",
"anthropic:claude-haiku-4-5-20251001",
- "anthropic:claude-opus-5[1m]", # what the DEFAULT claude-code arm reports (CC-2)
)
@@ -54,16 +55,10 @@ def test_supported_model_ids_resolve_to_a_price():
assert estimate_cost(provider, model, u) > 0, model_id
-def test_the_bracketed_context_variant_prices_on_its_own_row():
- """A bracketed context variant requires its own exact price row."""
- row = price_provenance("anthropic", "claude-opus-5[1m]")
- assert row.match == "exact" and row.price is not None
- assert row.status == "inferred" and row.checked >= "2026-08-24"
- u = Usage(input_tokens=2, output_tokens=46_921)
- assert estimate_cost("anthropic", "claude-opus-5[1m]", u) == pytest.approx(
- estimate_cost("anthropic", "claude-opus-5", u)), "same rates as the standard-context row"
- # a bracketed suffix still must not borrow a sibling's price by accident
- assert price_provenance("anthropic", "claude-sonnet-5[1m]").price is None
+def test_a_bracketed_context_variant_never_borrows_a_sibling_price():
+ """``[1m]`` is not a version suffix: a bracketed id needs its own exact row, and has none."""
+ assert price_provenance("anthropic", "claude-opus-5-5[1m]").price is None
+ assert price_provenance("anthropic", "claude-sonnet-5-5[1m]").price is None
# --------------------------------------------------------------- staleness maintenance
diff --git a/harness/tests/flywheel_cli/conftest.py b/harness/tests/flywheel_cli/conftest.py
index 3960e591..cfb3a1d9 100644
--- a/harness/tests/flywheel_cli/conftest.py
+++ b/harness/tests/flywheel_cli/conftest.py
@@ -131,6 +131,6 @@ def fake_run(tmp_path: Path) -> tuple[Workspace, RunRecord]:
def runs_dir(tmp_path: Path) -> Path:
d = tmp_path / "runs"
make_fake_run(d)
- make_fake_run(d, "wooden_chair_codex", generator="codex:gpt-5.6-sol", scores=(0.5, 0.6), with_repair=True)
+ make_fake_run(d, "wooden_chair_codex", generator="codex:gpt-6.1-sol", scores=(0.5, 0.6), with_repair=True)
make_fake_run(d, "lamp_three", prompt="a desk lamp", language=Language.THREEJS, scores=(0.7, 0.72))
return d
diff --git a/harness/tests/models/test_anthropic.py b/harness/tests/models/test_anthropic.py
index 94754030..be9d9154 100644
--- a/harness/tests/models/test_anthropic.py
+++ b/harness/tests/models/test_anthropic.py
@@ -30,7 +30,7 @@ PNG_B64 = "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwACh
def msg(blocks: list[Any], *, stop="end_turn", in_tok=100, out_tok=20, cache_read=0, cache_write=0):
return NS(
id="msg_1",
- model="claude-opus-5",
+ model="claude-opus-5-5",
content=blocks,
stop_reason=stop,
stop_details=None,
@@ -64,7 +64,7 @@ class FakeClient:
return item
-def make(script, model="claude-opus-5", **kw):
+def make(script, model="claude-opus-5-5", **kw):
fc = FakeClient(script)
return AnthropicModel(model, client=fc, sleep=lambda s: None, **kw), fc
@@ -97,7 +97,7 @@ def test_text_thinking_adaptive_and_usage_cost():
and kw["thinking"] == {"type": "adaptive"}
and kw["output_config"] == {"effort": "medium"}
)
- assert "temperature" not in kw # opus-5 rejects sampling params
+ assert "temperature" not in kw # opus-5.5 rejects sampling params
u = r.usage
assert (
u.input_tokens == 140
@@ -105,8 +105,8 @@ def test_text_thinking_adaptive_and_usage_cost():
and u.output_tokens == 20
and u.thoughts_tokens == 0
)
- # 100*5 + 30*0.5 + 10*5 + 20*25 + surcharge 10*1.25 (per 1M)
- assert abs(u.cost_usd - (500 + 15 + 50 + 500 + 12.5) / 1e6) < 1e-12
+ # 100*4 + 30*0.2 + 10*4 + 20*20 + surcharge 10*1.00 (per 1M)
+ assert abs(u.cost_usd - (400 + 6 + 40 + 400 + 10) / 1e6) < 1e-12
def test_budget_thinking_for_older_models_and_temperature_rules():
@@ -133,15 +133,20 @@ def test_budget_thinking_for_older_models_and_temperature_rules():
ChatRequest(messages=[ChatMessage.user("x")], thinking="off"), "claude-opus-4-8"
)
assert kw["thinking"] == {"type": "disabled"}
- kw = build_kwargs(
- ChatRequest(messages=[ChatMessage.user("x")], thinking="off"), "claude-fable-5"
- )
- assert "thinking" not in kw and kw["output_config"] == {"effort": "low"}
+ for always_on in ("claude-fable-5-1", "claude-opus-5-5", "claude-sonnet-5-5"):
+ kw = build_kwargs(ChatRequest(messages=[ChatMessage.user("x")], thinking="off",
+ response_schema={"type": "object"}), always_on)
+ assert "thinking" not in kw and kw["output_config"] == {"effort": "low"}, always_on
+ assert "tool_choice" not in kw, always_on # forced tool use is a 400 on these
+ kw = build_kwargs(ChatRequest(messages=[ChatMessage.user("x")], thinking="high", temperature=0.5),
+ "claude-haiku-5-5")
+ assert kw["thinking"] == {"type": "adaptive"} and "temperature" not in kw
def test_structured_output_via_forced_submit_tool():
schema = {"type": "object", "properties": {"a": {"type": "integer"}}, "required": ["a"]}
- m, fc = make([msg([tool_use("tu_1", "submit", {"a": 1})], stop="tool_use")])
+ # haiku-5.5 can still turn thinking off and force a tool (opus-5.5 / sonnet-5.5 / fable cannot)
+ m, fc = make([msg([tool_use("tu_1", "submit", {"a": 1})], stop="tool_use")], model="claude-haiku-5-5")
r = m.generate(
ChatRequest(messages=[ChatMessage.user("x")], response_schema=schema, thinking="off")
)
@@ -196,7 +201,7 @@ def test_missing_key_is_loud(monkeypatch):
from codeverse3d.config import get_settings
get_settings.cache_clear()
- m = AnthropicModel("claude-opus-5")
+ m = AnthropicModel("claude-opus-5-5")
if not get_settings().anthropic_api_key:
with pytest.raises(ModelError):
m.client()
@@ -221,7 +226,7 @@ def test_a_failed_reply_carries_what_it_was_billed():
@pytest.mark.parametrize("make", [
- lambda: AnthropicModel("claude-opus-5"),
+ lambda: AnthropicModel("claude-opus-5-5"),
lambda: OpenAIModel("gpt-x"),
lambda: GeminiModel("g", keys=["k"]),
], ids=["anthropic", "openai", "gemini"])
diff --git a/harness/tests/models/test_openai.py b/harness/tests/models/test_openai.py
index e79bb673..4580f6b4 100644
--- a/harness/tests/models/test_openai.py
+++ b/harness/tests/models/test_openai.py
@@ -32,7 +32,7 @@ def completion(
):
return NS(
id="cmpl_1",
- model="gpt-5.6-sol",
+ model="gpt-6.1-sol",
choices=[
NS(
message=NS(content=content, refusal=None),
@@ -61,7 +61,7 @@ class FakeClient:
return item
-def make(script, model="gpt-5.6-sol", **kw):
+def make(script, model="gpt-6.1-sol", **kw):
fc = FakeClient(script)
return OpenAIModel(model, client=fc, sleep=lambda s: None, **kw), fc
@@ -101,19 +101,18 @@ def test_text_reasoning_effort_usage_cost():
20,
10,
)
- # gpt-5.6-sol: 80*4.00 + 20*0.40 + 30*20.00 per 1M (pricing checked 2026-08-23)
- assert abs(u.cost_usd - (320 + 8 + 600) / 1e6) < 1e-12
+ # gpt-6.1-sol: 80*2.00 + 20*0.10 + 30*10.00 per 1M (pricing checked 2026-10-13)
+ assert abs(u.cost_usd - (160 + 2 + 300) / 1e6) < 1e-12
def test_reasoning_effort_mapping_and_temperature_for_non_reasoning():
- assert reasoning_effort("gpt-5", "off") == "minimal"
- assert reasoning_effort("gpt-5.5", "off") == "none"
- assert reasoning_effort("o3", "off") == "low"
- assert reasoning_effort("gpt-5.6-sol", "medium") == "medium"
- assert reasoning_effort("gpt-4.1", "high") is None
+ assert reasoning_effort("gpt-6.1-sol", "off") == "low" # gpt-6 rejects "none" / "minimal"
+ assert reasoning_effort("gpt-6-astra", "off") == "low"
+ assert reasoning_effort("gpt-6.1-sol", "medium") == "medium"
+ assert reasoning_effort("gpt-x", "high") is None
kw = build_kwargs(
ChatRequest(messages=[ChatMessage.user("x")], temperature=0.1),
- "gpt-4.1",
+ "gpt-x",
strict_schema=False,
)
assert kw["temperature"] == 0.1 and "reasoning_effort" not in kw
diff --git a/harness/tests/models/test_pricing.py b/harness/tests/models/test_pricing.py
index b7fc324e..18b47840 100644
--- a/harness/tests/models/test_pricing.py
+++ b/harness/tests/models/test_pricing.py
@@ -24,16 +24,19 @@ def test_astra_prices_cached_input_reasoning_and_its_strict_long_prompt_tier():
assert estimate_cost("openai", "gpt-6-astra", usage) == pytest.approx(.78)
assert unit_prices("openai", "gpt-6-astra", prompt_tokens=272_000) == (10, 1, 50)
assert unit_prices("openai", "gpt-6-astra", prompt_tokens=272_001) == (20, 2, 75)
+ # haiku-5.5 switches the whole request at 100k prompt tokens
+ assert unit_prices("anthropic", "claude-haiku-5-5", prompt_tokens=100_000) == (0.10, 0.01, 0.50)
+ assert unit_prices("anthropic", "claude-haiku-5-5", prompt_tokens=100_001) == (0.50, 0.05, 2.50)
@pytest.mark.parametrize(
("provider", "model", "row"),
[
- ("anthropic", "claude-opus-5-20260301", "claude-opus-5"),
- ("anthropic", "claude-sonnet-5@20260301", "claude-sonnet-5"),
- ("openai", "gpt-5.5-2026", "gpt-5.5"),
- ("openai", "gpt-5", "gpt-5"),
- ("openai", "gpt-4o-2024-08-06", "gpt-4o"),
+ ("anthropic", "claude-opus-5-5-20260301", "claude-opus-5-5"),
+ ("anthropic", "claude-sonnet-5-5@20260301", "claude-sonnet-5-5"),
+ ("anthropic", "claude-haiku-4-5-20251001", "claude-haiku-4-5"),
+ ("openai", "gpt-6.1-sol-2026", "gpt-6.1-sol"),
+ ("openai", "gpt-6-sol", "gpt-6-sol"),
("gemini", "gemini-3.7-flash-preview-09", "gemini-3.7-flash"),
("gemini", "gemini-3.7-flash-latest", "gemini-3.7-flash"),
("gemini", "gemini-2.5-flash-image-preview", "gemini-2.5-flash-image"),
@@ -53,7 +56,9 @@ def test_a_dated_or_tagged_id_prices_on_its_family_row(provider, model, row):
("openai", "gpt-55"),
("openai", "gpt-5.7"), # ".7" is a different minor version, not a date tag
("gemini", "gemini-3.7-flash-lite"),
- ("anthropic", "claude-opus-5-turbo"),
+ ("anthropic", "claude-opus-5-5-turbo"),
+ ("anthropic", "claude-opus-5"), # an older generation is no longer priced
+ ("openai", "gpt-6.1-sol-mini"),
("openai", "gpt-6-astra-mini"),
],
)
diff --git a/harness/tests/skills/test_delivery.py b/harness/tests/skills/test_delivery.py
index 63f6b155..3d867ad7 100644
--- a/harness/tests/skills/test_delivery.py
+++ b/harness/tests/skills/test_delivery.py
@@ -8,5 +8,5 @@ from codeverse3d.skills.prompting import AGENTS_SKILL_ROOT, CLAUDE_SKILL_ROOT, s
def test_claude_code_reads_its_own_root_and_nobody_else_does():
"""claude-code 2.1 has no `.agents` root, the others no `.claude` one; a model suffix never matters."""
assert skill_path("c3d-x", agent_kind="claude-code:opus") == f"{CLAUDE_SKILL_ROOT}/c3d-x/SKILL.md"
- for kind in ("codex:gpt-5.6-sol", "gemini-cli", "agy", "some-future-cli", ""):
+ for kind in ("codex:gpt-6.1-sol", "gemini-cli", "agy", "some-future-cli", ""):
assert skill_path("c3d-x", agent_kind=kind) == f"{AGENTS_SKILL_ROOT}/c3d-x/SKILL.md", kind
diff --git a/harness/tests/skills/test_telemetry.py b/harness/tests/skills/test_telemetry.py
index 76271b36..39748a10 100644
--- a/harness/tests/skills/test_telemetry.py
+++ b/harness/tests/skills/test_telemetry.py
@@ -199,7 +199,7 @@ def test_the_report_counts_exact_sessions_and_drops_only_blind_ones(tmp_path):
{"agent": "gemini-cli:gemini-3.7-flash", "listed": ["c3d-a"], "evidence": "transcript",
"control_present": True, "control_read": True, "reads": [{"name": "c3d-a", "surfaced": True, "deep": True}]},
# atime, control fired: blind, dropped
- {"agent": "codex:gpt-5.6-luna", "listed": ["c3d-a"], "control_present": True, "control_read": True,
+ {"agent": "codex:gpt-6-luna", "listed": ["c3d-a"], "control_present": True, "control_read": True,
"reads": [{"name": "c3d-a", "surfaced": True, "deep": True}]},
]
(tele / SKILLS_FILE).write_text("".join(json.dumps(r) + "\n" for r in rows))