Skip to main content
Responses is OpenAI’s newer interface for the GPT family: the input is a string or a list of messages, images and tool results, and the output is a list of typed items (messages, reasoning, function calls). Reasoning models work best here and the streaming events are finer-grained. The OpenAI SDKs connect by changing base_url.

Models

The GPT-6 family is organised in tiers: Astra is the most capable, Sol is the flagship workhorse, Terra balances intelligence and cost, and Luna is the fastest and cheapest. Every model takes text and image input, returns text, and lets you tune reasoning with reasoning_effort (reasoning.effort in Responses). Context window and max output are in tokens, as published by each model’s vendor. The full list with prices is in the model catalog; GET /v1/models lists the models your API Key can use.

Endpoints

The base URL is https://api.dreamto.ai. Create an API Key in the DreamTo console; see Authentication.

Quick start

Streaming

Add "stream": true and the reply arrives as typed server-sent events: response.created, response.output_text.delta … and finally response.completed, which carries the complete Response object and usage.
Python

Notes

  • Only the create endpoint POST /v1/responses is available. Retrieving, deleting or cancelling a response, and the input_tokens and compact endpoints, are not provided, so send the whole conversation in input with every request instead of relying on previous_response_id, conversation or background.
  • For multi-turn reasoning, pass the items of the previous output (including reasoning) back in the next input unchanged.
  • Use function calling (type: function) for tools. Built-in tools hosted by OpenAI, such as web search, file search, code interpreter and computer use, are not guaranteed to be available.
  • Errors use one common structure, see Errors.