Developer resource

Request-level AI API logs guide

Logs make it obvious which request spent credits. This guide focuses on the simplest next step for a developer.

request-level AI API logsprepaid AI APIOpenAI-compatible APIAPI cost control

Why it matters

The search intent behind request-level AI API logs usually comes down to control, compatibility, and predictable cost.

How to set it up

Use a scoped key, trial credits, and a narrow model list while you confirm the route works.

What to verify

After the first request, verify the log row, the token meters, and the billed amount.

FAQ

What is the first step?

Create one scoped key and keep the first test small.

Why does NexRelay fit this use case?

Because it keeps the first test visible and reversible.