GateYourWay API
A single public access layer for OpenAI-compatible and Anthropic-compatible models with scoped keys, streaming, and transparent usage.
01
Base URLs
Choose the protocol expected by your SDK or client.
| Protocol | Base URL | Authentication | Primary methods |
|---|---|---|---|
| OpenAI-compatible | https://api.gateyourway.com/v1 | Authorization: Bearer | chat/completionsresponsesimages/generations |
| Anthropic-compatible | https://api.gateyourway.com | x-api-key | v1/messages |
| Cursor / Opus 5 | https://api.gateyourway.com/v1/cursor | Authorization: Bearer | chat/completionsresponses |
02
Request flow
Public model IDs and endpoints remain stable while internal routes change.
ClientSDK / cURL / agent
→
GateYourWayauth, scope, billing
→
Modelstream / JSON / image
03
What is supported
Text
Chat Completions, Responses API, Anthropic Messages.
Streaming
SSE, tool calls, terminal usage and request IDs.
Images
One generated image per request, returned as b64_json.
Usage
Input, output, cache read/write and final public charge.