Skip to content

OpenAI Responses API

Siraya AI includes native support for the OpenAI Responses API, providing protocol compatibility and multi-provider routing. This unified interface simplifies how developers interact with large language models using the standard OpenAI message format.

Overview

The OpenAI Responses API is designed to be stateless and follows the standard v1/chat/completions pattern. It supports advanced features like multimodal inputs, tool calling, and structured outputs.

Available Guides

Guide Description
Basic Usage Simple text and structured message inputs.
Reasoning Accessing and controlling a model's thinking process.
Tool Calling Defining and executing functions during completions.
Error Handling Understanding error codes and response shapes.

Why use Siraya AI for OpenAI Responses?

  • Provider Agility: Call any model (Anthropic, Google, Llama, etc.) using the OpenAI SDK.
  • Automatic Translation: We automatically translate OpenAI-style requests to their native provider equivalents.
  • Performance Monitoring: Track latency, costs, and token counts across all providers through a single dashboard.