Authentication

Hyper authenticates every request with an API key.

Hyper API keys are prefixes with sk-hyper-. Get one from the Hyper Dashboard.

To authenticate, use the Authorization header:

Authorization: Bearer sk-hyper-xxxxxxxxxxxxxxxxxxxxxxxx
Note

For compatibility with Claude Code and other compatible agents, the /v1/messages endpoint also supports the X-Api-Key header for authentication.

X-Api-Key: sk-hyper-xxxxxxxxxxxxxxxxxxxxxxxx

Public Endpoints#

The /v1/models endpoint is public and doesn't require an API key:

Errors#

If unauthorized, you'll get a 401 with the follow response bodies.

/v1/models, /v1/chat/completions and /v1/responses:

{  "error": {    "message": "invalid api key",    "type": "invalid_request_error",    "code": null  }}

/messages:

{  "type": "error",  "error": {    "type": "authentication_error",    "message": "invalid api key"  }}