Quick Start
Use your Planck API key and the AI Gateway base URL. Then call the OpenAI SDK’sresponses.create method as usual.
For Chat Completions usage and more background on the AI Gateway, see the
AI Gateway Overview.
Streaming
The gateway supports OpenAI-compatible Responses API requests, including streaming for supported routes and providers. Use the samestream: true request shape that the OpenAI SDK expects.
Provider Mapping
Responses requests are normalized through the gateway pipeline so they can use Planck routing, billing, logging, and provider mapping. When a request is routed to a non-OpenAI provider, the gateway maps the request and response into the closest compatible shape. For custom targets,POST /v1/responses is BYOK-only and requires the target to be configured for your organization or enabled as a local development target.
References
- OpenAI Responses guide: https://platform.openai.com/docs/guides/text
- Planck AI Gateway overview: https://docs.inquantum.ai/gateway/overview