Raon
Meet Raon-1 nano (E1.5B), smaller and faster!View on Hugging Face (new tab)
Docs
Responses

Create a response

POST
/v1/responses

Stateless OpenAI-compatible Responses with store forced off and Raon-run web search; vendor storage and other hosted tools are refused.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Raon API key. A Bearer credential takes precedence when both authentication headers are sent.

Header Parameters

x-portunus-user?string

The end user behind this request, when one key serves many people: a stable pseudonymous ID, such as an HMAC of the caller's own member ID, never an email or a name. The gateway records it with the request's usage for the caller's statistics and does not forward it to the model's vendor. It changes nothing about billing, limits or access, which follow the key. A value that does not match the pattern, or a repeated header, is recorded as no end user; the request is still served.

Match^[A-Za-z0-9._:-]{1,128}$

Request Body

application/json
  1. body

Stateless Responses request. Nonempty previous_response_id, conversation, or prompt, background: true, item_reference, and uploaded file_id inputs are refused with 400. Send all history inline. Unsupported tool declarations are refused, including declarations inside additional_tools/tool_search_output input items.

model*string

Public model ID from the model catalog.

Length1 <= length
input*|array<||||||||>
instructions?|null
stream?boolean

Return Responses SSE events.

Defaultfalse
max_output_tokens?integer

Output token cap, including reasoning.

Range1 <= value
temperature?|

Sampling temperature. Raon models always use temperature=1.0; a supplied value is replaced. Other providers use their own parameter behavior.

Range0 <= value <= 2
top_p?|

Nucleus sampling probability. Raon models always use top_p=0.95; a supplied value is replaced. Other providers use their own parameter behavior.

Range0 <= value <= 1
top_k?|

Top-k sampling cutoff. Raon models always use top_k=20; a supplied value is replaced. Other providers use their own parameter behavior.

min_p?|

Minimum relative token probability. Raon models always use min_p=0; a supplied value is replaced. Other providers use their own parameter behavior.

presence_penalty?|

Topic repetition penalty. Raon models accept 0 to 1.5, clamp a value outside that range, and use 1.5 when it is omitted. Other providers use their own parameter behavior.

frequency_penalty?|

Token frequency penalty. Raon models always use frequency_penalty=0; a supplied value is replaced. Other providers use their own parameter behavior.

repetition_penalty?|

Token repetition penalty. Raon models always use repetition_penalty=1.0; a supplied value is replaced. Other providers use their own parameter behavior.

tools?array<||||>
tool_choice?||
parallel_tool_calls?boolean
text?
reasoning?

Reasoning settings. Raon applies effort; reasoning is on by default and effort none turns it off.

chat_template_kwargs?

Serving template options. Raon reasons by default on all three inference APIs.

store?boolean

Accepted, but always overwritten with false, including when omitted. There are no stored responses to retrieve.

Defaultfalse
background?boolean

Only foreground execution is supported. true is refused with 400.

include?array<string>

Optional backend output inclusions, such as reasoning.encrypted_content. For hosted search Raon removes web_search_call.* inclusions before forwarding and ensures reasoning.encrypted_content is requested.

metadata?

Caller metadata passed to the serving backend; this does not enable response storage.

user?string

Caller identifier forwarded to the backend.

truncation?string
Value in"auto""disabled"

Response Body

Generated output as JSON, or server-sent events when stream is true. Additional backend fields may be returned.

  1. response

JSON response from the serving backend; additional backend fields may be present. Raon-run search emits web_search_call items, echoes the caller tools, and reports the usage of its last internal turn, which already holds the whole conversation and every search result.

id*string
object*string
created_at*number

Unix timestamp in seconds.

status?string
Value in"completed""failed""in_progress""cancelled""queued""incomplete"
model*string

The model ID the request named, exactly as sent: an alias stays the alias. The serving backend's own model ID is not shown. Streamed chunks and events name the same ID.

Length1 <= length
output*array<|||||>
usage?|null
error?|null
incomplete_details?|null
instructions?|

The instructions the request sent, without the organization safety prompt.

max_output_tokens?integer|null
tools?array<||||>
tool_choice?||
parallel_tool_calls?boolean
store?boolean
temperature?|

Sampling temperature. Raon models always use temperature=1.0, regardless of supplied values, null or omission. Other providers use their own parameter behavior.

top_p?|

Nucleus sampling probability. Raon models always use top_p=0.95, regardless of supplied values, null or omission. Other providers use their own parameter behavior.

text?
reasoning?|null
metadata?

Caller metadata passed to the serving backend; this does not enable response storage.

curl -X POST 'https://raon-api.krafton.ai/v1/responses' \  -H 'Content-Type: application/json' \  -d '{  "model": "raon-1-mini",  "input": "Explain why the sky is blue.",  "max_output_tokens": 1024,  "store": false}'
Example Response
{  "id": "string",  "object": "response",  "created_at": 0,  "status": "completed",  "model": "raon-1-mini",  "output": [    {      "type": "message",      "id": "string",      "status": "in_progress",      "role": "assistant",      "content": [        {          "type": "output_text",          "text": "string",          "annotations": [            {              "type": "url_citation",              "start_index": 0,              "end_index": 0,              "url": "string",              "title": "string"            }          ],          "logprobs": [            {}          ]        }      ]    }  ],  "usage": {    "input_tokens": 0,    "output_tokens": 0,    "total_tokens": 0,    "input_tokens_details": {      "cached_tokens": 0    },    "output_tokens_details": {      "reasoning_tokens": 0    }  },  "error": {    "code": "string",    "message": "string"  },  "incomplete_details": {    "reason": "string"  },  "instructions": "string",  "max_output_tokens": 0,  "tools": [    {      "type": "function",      "name": "string",      "description": "string",      "parameters": {},      "strict": true    }  ],  "tool_choice": "none",  "parallel_tool_calls": true,  "store": false,  "temperature": 0,  "top_p": 0,  "text": {    "format": {      "type": "text"    }  },  "reasoning": {    "effort": "string",    "summary": "auto"  },  "metadata": {    "property1": "string",    "property2": "string"  }}