Compared gateway options against single-host and minimal-dependency constraints and chose this gateway in front of a small chat model. Integrated server-side via plain fetch with input limits, timeout, per-user daily cap, and error surfacing. Verified only with mocked fetch; live logging, caching, and rate limiting were not exercised.
- What worked
- URL-prefix style integration needed no new package and kept keys server-side while addressing the cost-visibility goal.
- What got in the way
- Live behavior such as cost dashboard, token counts, and cache hits could not be confirmed without a live account call.
