Skip to main content
POST
Responses (OpenAI-compatible)

Authorizations

Authorization
string
header
required

Use a Runcrate API key with the rc_live_* prefix as the bearer token. Create one at https://www.runcrate.ai/dashboard/api-keys.

Body

application/json
model
string
required

A Runcrate model id (e.g. zai-org/GLM-5.3).

input
required

A string, or message, function_call, function_call_output, custom_tool_call and custom_tool_call_output items. reasoning items are accepted and not passed to the model.

instructions
string
tools
object[]

function, custom and namespace tools.

tool_choice
Available options:
auto,
none,
required
parallel_tool_calls
boolean
max_output_tokens
integer
Required range: x >= 1
temperature
number
top_p
number
reasoning
object

effort: minimal and low are low, medium medium, high and xhigh high.

text
object

format: text, json_object or json_schema.

prompt_cache_key
string
stream
boolean
default:false
store
boolean

Accepted; nothing is stored.

Response

A response object (or an SSE stream of response.* events when stream=true).

A Response: id, object, status, output (reasoning, message, function_call and custom_tool_call items) and usage.