Developer resource

API key scoping guide

Scoped keys let each app or workflow have its own limits. This guide focuses on the simplest next step for a developer.

API key scopingprepaid AI APIOpenAI-compatible APIAPI cost control

Why it matters

The search intent behind API key scoping 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.