Create a message
Anthropic-compatible Messages with Raon-run search and client-executed tools; named tool choice, vendor files, containers and other hosted tools are refused.
AuthorizationBearer <token>Raon API key. A Bearer credential takes precedence when both authentication headers are sent.
x-portunus-user?stringThe 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.
^[A-Za-z0-9._:-]{1,128}$anthropic-version?stringAnthropic compatibility header commonly sent by SDKs. Raon accepts it but does not validate it or forward it to the serving backend.
application/json- body
Anthropic-compatible Messages request. Organization safety text is prepended to system. code_execution_*, mcp_toolset and other hosted tools are refused with unsupported_tool, as are nonempty mcp_servers arrays. Uploaded file sources, container_upload blocks and nonempty container are refused with invalid_request.
model*stringPublic model ID from the model catalog.
1 <= lengthmessages*array<>max_tokens*integerRequired positive output token cap.
1 <= valuesystem?string|array<>stream?booleanReturn Messages SSE events.
falsetemperature?|Sampling temperature. Raon models always use temperature=1.0; a supplied value is replaced. Other providers use their own parameter behavior.
0 <= value <= 1top_p?|Nucleus sampling probability. Raon models always use top_p=0.95; a supplied value is replaced. Other providers use their own parameter behavior.
0 <= value <= 1min_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. It has no effect on Raon models through the Messages API. 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.
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.
0 <= valuestop_sequences?array<string>tools?array<|||>tool_choice?Named selection (type tool) is refused with 400 because the backend does not reliably return tool_use stop reasons for it.
thinking?||Accepted but has no effect on Raon, including type disabled and budget_tokens. Use output_config.effort instead; none turns thinking off.
output_config?Output configuration forwarded to the serving backend. JSON Schema format constrains the answer, while reasoning remains separate. Supported schema constraints depend on the backend's structured decoding implementation.
chat_template_kwargs?Serving template options. Raon reasons by default on all three inference APIs.
metadata?Generated output as JSON, or server-sent events when stream is true. Additional backend fields may be returned.
- response
Raon web search emits server_tool_use and web_search_tool_result blocks and reports the usage of its last internal turn, which already holds the whole conversation and every search result; usage.server_tool_use.web_search_requests counts the searches.
id*stringtype*stringrole*stringmodel*stringThe 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.
1 <= lengthcontent*array<||||||>stop_reason*|nullstop_sequence*string|nullusage*curl -X POST 'https://raon-api.krafton.ai/v1/messages' \ -H 'Content-Type: application/json' \ -d '{ "model": "raon-1-mini", "max_tokens": 1024, "messages": [ { "role": "user", "content": "Explain why the sky is blue." } ]}'{ "id": "string", "type": "message", "role": "assistant", "model": "raon-1-mini", "content": [ { "type": "text", "text": "string", "cache_control": { "type": "ephemeral", "ttl": "5m" }, "citations": [ {} ] } ], "stop_reason": "end_turn", "stop_sequence": "string", "usage": { "input_tokens": 0, "output_tokens": 0, "cache_creation_input_tokens": 0, "cache_read_input_tokens": 0, "server_tool_use": { "web_search_requests": 0, "web_fetch_requests": 0 } }}/v1/responses POST
Stateless OpenAI-compatible Responses with store forced off and Raon-run web search; vendor storage and other hosted tools are refused.
/v1/models GET
OpenAI-compatible model list scoped to your organization, extended with display name, modalities, context window and decimal pricing; upstream provider details are hidden.

