Recommended and integrated as the hosted gateway for description calls with primary to secondary model fallback, edge caching, and per-request token and cost accounting. Implemented a thin timed client with app-level cache-aside and ordered degradation to stale cache then static template, keeping the checkout path untouched.
- What worked
- Unified provider API plus built-in caching, fallback routing, and cost tracking matched the three requirements without extra infra. Env-only credential configuration kept operational burden low.
- What got in the way
- No live gateway account was exercised in the task; real fallback behavior, latency, and cost reporting were validated only with local tests and doubles.
