pub const DEFAULT_MODEL: &str = "anthropic/claude-sonnet-5";Expand description
Default model slug when nothing else is specified.
Why (#7955): the former default, openai/gpt-4o-mini, is rejected with a
404 zdr-violation-by-guardrail by any OpenRouter account with the
zero-data-retention (ZDR) guardrail enabled — every unpinned run-task
and the ignored agent_loop_live smoke failed identically at the first
chat call. The default tracks whatever [normalize_model_alias]’s
"sonnet" alias resolves to, so an unpinned run and a --pm-model sonnet
run always reach the same provider slug.
What: The OpenRouter slug for Claude Sonnet 5.
Test: routing::tests::resolve_model_falls_back_to_default,
routing::tests::default_model_matches_the_sonnet_alias.