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 withreasoning_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/responsesis available. Retrieving, deleting or cancelling a response, and theinput_tokensandcompactendpoints, are not provided, so send the whole conversation ininputwith every request instead of relying onprevious_response_id,conversationorbackground. - For multi-turn reasoning, pass the items of the previous
output(includingreasoning) back in the nextinputunchanged. - 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.

