caelum0x 0ce1528ac8 feat(relay): named claude-haiku and claude-sonnet-5 routes and LiteLLM price cross-check (RY-RL2)
claude-haiku (claude-haiku-4-5) and claude-sonnet-5 route Anthropic first
and the OpenRouter copy second; claude-sonnet stays on 4.5 unchanged. Both
are priced in config/catalog.json at list price, so the metered startup
check passes and a request served by the OpenRouter leg bills the same
catalog price. A contract test ties tensorzero.toml, catalog.json and the
built-in list prices together.

relay-catalog gains a read-only cross-check against LiteLLM's MIT price
JSON (relay-price-crosscheck CLI): it flags differences above 5% and never
changes a price. First run flags the two llama alias routes, whose retail
price differs from the gpt-oss model that now serves them. The provider
canary route list now covers the two new routes (34 calls a day).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 01:42:32 +03:00

26 lines
628 B
TOML

[package]
name = "relay-catalog"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
description = "Refreshable model catalog, capabilities, and exact quotes for Relay"
[dependencies]
async-trait.workspace = true
relay-billing = { path = "../relay-billing" }
relay-contract = { path = "../relay-contract" }
reqwest.workspace = true
serde.workspace = true
serde_json.workspace = true
thiserror.workspace = true
tokio = { workspace = true, features = ["sync"] }
ts-rs.workspace = true
[dev-dependencies]
tokio.workspace = true
toml.workspace = true
[lints]
workspace = true