Skip to main content
Currently, the Responses API is not supported for Anthropic models.

Quick Start

Use your Helicone API key and the AI Gateway base URL. Then call the OpenAI SDK’s responses.create method as usual.
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.HELICONE_API_KEY,
  baseURL: "https://ai-gateway.helicone.ai/v1",
});

const response = await client.responses.create({
  model: "gpt-5",
  input: "Write a one-sentence bedtime story about a unicorn.",
});

console.log(response.output_text);
For Chat Completions usage and more background on the AI Gateway, see the AI Gateway Overview.

References