type— broad category, matching OpenAI’s taxonomy where one exists.code— stable machine-readable identifier for the exact failure. Branch on this.param— present when the error is about a specific request field.doc_url— deep link to the matching section on this page.
Error codes
When a request fails after reservation, the full reservation is released — you are never
charged for failed requests.
Rate limits
Every response includes OpenAI-compatible rate limit headers:
When you exceed the limit, the response is
429 with a Retry-After header in seconds.
Debugging
Every response carries aTokenGift-Request-Id header. Include it when contacting
support@tokengift.ai and we can trace the exact request.
