Chat completions
Send chat completion requests through agentgateway using the OpenAI Chat Completions API.
Embeddings
Send embedding requests through agentgateway using the OpenAI-compatible Embeddings API.
Messages
Send requests through agentgateway using the Anthropic Messages API.
Models
List available models through agentgateway using the OpenAI-compatible Models API.
Passthrough
Forward requests to the upstream provider without transformation.
OpenAI Realtime
Verified Code examples on this page have been automatically tested and verified.
Rerank
Send rerank requests through agentgateway using the Cohere-compatible Rerank API.
Responses
Send requests through agentgateway using the OpenAI Responses API.
Token count
Count tokens through agentgateway using the Anthropic Messages token-count API.