Skip to content

HarnessRouter Community Edition: the self-hosted, Apache-2.0 edition of the unified interface for agent harnesses. Run Codex, Claude Code, Hermes, PI, DSH, and more through one API, with sessions, streaming, files, cancellation, and failure handling. Implements the Unified Harness Protocol (UHP), an open standard. Your keys, your infrastructure.

fix(media): seedance 2.5 carries its measured price

richard-epsillacc1b66ce8399
diff --git a/gateway/media_catalog.json b/gateway/media_catalog.json
index 695ce62a..e121b374 100644
--- a/gateway/media_catalog.json
+++ b/gateway/media_catalog.json
@@ -65,6 +65,7 @@
"duration_observed_s": 5.056,
"latency_s": 144.0,
"usd": 0.5182759,
+ "quota_measured": true,
"measured": "verified e2e 2026-08-16 against the live gateway on the Future HR key: asked for 5 s at 480p and got back a presigned url to a 3,617,186 byte mp4, 854x480, h264 with an aac track it was not asked for. It HONOURS duration (5 asked, 5.056 delivered), unlike the tokenrouter seedance entry. Cost is the gateway's own number from providerMetadata.gateway.cost, not an estimate: $0.5182759 for those 48,437 completion tokens. Took 116 s inside the submit, so it is synchronous and never enters the poll walk. It takes a NAMED resolution tier, not WxH, and seedance-2.5 publishes only 480p and 720p. Declaring `size` as a tunable let the chain compute an arithmetic frame for the asked aspect (896x504 for 16:9 off this entry's own numbers), which the provider refused outright \u2014 the first live run through the kit fell back to the relay because of it. Nothing was billed: a refusal is free. `size` is therefore NOT a tunable here; the shape is fixed at the one tier that was verified, and a request for another aspect skips this candidate with a reason rather than being silently reframed. ASYNC, verified live 2026-08-16: POST /v4/ai/video-model/start answers in 0.5 s with {operation:{gatewayJobId}}, and POST /v4/ai/video-model/status posts that handle back until status goes pending -> completed (144 s for this clip), returning the same 854x480 h264+aac file. The synchronous endpoint renders inside the request instead, which is ~116 s and longer than a tool call waits: the first kit run reached this model and timed out at the transport with no job id, leaving a render nobody could poll or claim. latency_s is the RENDER time and is not the submit budget.",
"verification": "verified"
},