mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-16 15:43:57 -06:00
459891c035
* fix(ai): managed OpenAI transport understates gpt-5.5 priority pricing by 20% The managed Responses transport carried its own copy of the service-tier pricing table in openai-responses-debug.ts (flat 2x for priority). The canonical helper applyResponsesServiceTierPricing in openai-responses-shared.ts was updated to 2.5x for gpt-5.5 priority (#117298) but the transport copy was never touched, so UI cost for managed-transport fast-mode turns understated the real spend. Delete the duplicated table and delegate the transport's pricingOptions to the canonical model-aware helper. Azure intentionally remains tier-unpriced (it sets no pricingOptions). * test(ai): pin managed-transport gpt-5.5 priority pricing at the transport boundary ClawSweeper correctly flagged that the helper-only test also passes on unfixed main. Add a mocked managed-transport run with a priority response and nonzero model cost asserting the final usage cost is 2.5x (fails at 24 vs 30 on the pre-fix flat table).