Protocols and SDK Compatibility
Choose a supported client protocol without coupling it to a model manufacturer.
A client protocol defines how your application authenticates, sends requests, receives streams, and parses errors. It does not identify the model manufacturer or select an internal provider channel.
Currently supported client protocols
| Protocol family | Key format | Main public surfaces |
|---|---|---|
| OpenAI-compatible | Authorization: Bearer $API_KEY | Chat Completions, Responses, Embeddings, Images, and Models |
| Anthropic-compatible | x-api-key: $API_KEY | Messages |
| Gemini-compatible | x-goog-api-key: $API_KEY or key | Generate Content, streaming content, Interactions, and long-running generation |
| Model-native media | Authorization: Bearer $API_KEY | Model-specific media operations and task resources |
This table describes the client protocols currently exposed by the gateway, not the complete list of model manufacturers available on the platform. Manufacturers that use an existing compatible protocol do not require another protocol family.
Choose a protocol
When migrating an existing application, keep the SDK's native request shape when the corresponding protocol is supported, then replace the Base URL, API key, and model ID. For a new integration, choose the protocol that supports the task and model capabilities you need.
The gateway returns the stream and error format associated with the incoming protocol. Standard OpenAI-compatible examples are used as the default in task guides because they work with many tools, but they are not the only model access path.
Protocol-specific behavior
Some APIs intentionally expose a supported subset. For example, text calls through Responses and Interactions are stateless and do not provide persistent conversation continuation. Some media models retain a manufacturer-native public request shape because their operations cannot be represented safely by one generic schema.
Use Synchronous, Streaming, and Asynchronous Requests for execution behavior and the relevant model task guide for task-level concepts.
Help us improve this page
Found something unclear, outdated, or incorrect?
Last updated on