Skip to content
Docs

Responses (v1/responses, v1/responses/compact)

Pass-through endpoints compatible with upstream Responses API variants.

What it does

Uni API exposes /v1/responses and /v1/responses/compact, forwarding request bodies and headers upstream while still enforcing your API key authentication and recording usage.

Usage accounting

  • When upstream returns cached_tokens, cached tokens are billed at 10% of the input price.
  • Logs display Input / Cached / Output tokens when present.