Raon
Docs

Getting started

Get an API key and make your first request to Raon.

Raon serves the raon-1-mini-preview model through three widely used API formats. Connect supported text generation features through the OpenAI and Anthropic SDKs or compatible coding agents using Raon's base URL, API key and model ID. Check the supported features and limits when switching from another provider.

The model price is zero during this preview. Token usage and rate limits still apply.

Base URL

Every request goes to:

Base URL
https://raon-api.krafton.ai

API key

Create a key on the API keys page of the console. Keep it in an environment variable rather than in code:

export RAON_API_KEY="<your key>"

Send the key as Authorization: Bearer <key>. The Messages API also takes it as x-api-key, which is what the Anthropic SDKs send.

First request

curl https://raon-api.krafton.ai/v1/chat/completions \
  -H "Authorization: Bearer $RAON_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "raon-1-mini-preview", "messages": [{"role": "user", "content": "Hello!"}]}'

The curl examples are written for a macOS or Linux shell. On Windows, run them in WSL or Git Bash, or use the Python or TypeScript examples.

APIs

Use the API your client already speaks. A request is not translated between them. SDKs and frameworks shows how to point each client at Raon.

EndpointAPI formatUsed by
POST /v1/chat/completionsOpenAI Chat CompletionsOpenClaw, Hermes, other compatible tools
POST /v1/responsesOpenAI ResponsesCodex
POST /v1/messagesAnthropic MessagesClaude Code

GET /v1/models lists the models your key can call, with their context window and price:

curl https://raon-api.krafton.ai/v1/models \
  -H "Authorization: Bearer $RAON_API_KEY"

Give these docs to an AI agent

This site also publishes the docs for AI agents, in the llms.txt format. When you ask a coding agent to build on Raon, tell it to read llms.txt first:

Example prompt
Read https://raon-mini.krafton.ai/llms.txt and the pages it links to, then add Raon to this app with the Chat Completions API.
AddressContents
/llms.txtThe index: every page as a Markdown link. /ko/llms.txt is the Korean one.
/llms-full.txtEvery page in one file.
/openapi.yamlThe API contract: every endpoint, parameter, refusal and error shape.

Every page is also Markdown at its own address plus .md, and the Copy Markdown button at the top of each page copies it for pasting into a chat.

Next steps

On this page