hyre_gw_* key — if not, request access first.
Base configuration
Make a request
- curl
- Python (OpenAI SDK)
- Node.js (OpenAI SDK)
- Vercel AI SDK
- LangChain
Streaming
Set"stream": true — the gateway streams standard OpenAI SSE chunks, including a final usage frame, so SDK streaming helpers work unchanged:
Supported parameters
The request schema follows OpenAI’s/chat/completions:
| Parameter | Notes |
|---|---|
model | Required — a catalog id from GET /models |
messages | Required — up to 1,000 messages |
max_tokens / max_completion_tokens | Positive integer, capped at the model’s context length |
temperature | 0 – 2 |
top_p | 0 – 1 |
stop | String or array of strings |
stream | Boolean — SSE streaming |
tools, tool_choice | Function calling, passed through to the model |
response_format | e.g. JSON mode, passed through to the model |
X-Request-Id header — include it when reporting an issue.
Next steps
Browse the model catalog
20+ models across FLASH, STANDARD, and PREMIUM tiers with live pricing.
Limits & error handling
Daily caps, error envelope, and status codes to handle in production.