call-a-model.txt
My app is <one sentence>, built with <stack> and hosted on <host>. I want
to call <model> from the server to <what the feature does>.

Write the integration:
- The official SDK for my stack, if one exists.
- The API key read from secure storage on this host, never sent to the
  browser.
- A timeout, and retries only for rate limits and server errors.
- Checking why the response stopped before using the text.
- A clear message to the user when the call fails.
- Logging token usage per request, so I can see what it costs.

Check this host allows outbound HTTPS and long enough requests first.

Log token usage from the first day. It's the only way to find out which feature is spending the money before the bill arrives.