--- type: "reference" title: "Radiance HTTP API — endpoints, fields, refusals" description: "The HTTP surface radiance serves: endpoints, request fields, streaming, tools, and refusal rules." tags: - llm - radiance - api - reference timestamp: 2026-10-30 --- # Radiance HTTP API One server serves one model. It answers OpenAI's chat/completions/Responses/images/audio/video APIs, Anthropic's Messages API and llama-server's native one, so their clients and SDKs work unchanged. `model` in a request is accepted and **not enforced**. ## Endpoints | route | what it serves | |---|---| | `POST /v1/chat/completions` | chat: tools, reasoning, streaming, grammars | | `POST /v1/completions` | raw text completion | | `POST /v1/embeddings` | an embedding head, else 501 | | `POST /v1/images/generations`, `/v1/images/edits` | OpenAI images API; needs an image model, else 501 | | `POST /v1/systemone` | LiquidAI d1 decisions: named yes/no, choice and score questions as probabilities; needs a d1 container, else 501 | | `POST /v1/audio/transcriptions` | OpenAI speech-to-text; needs a transcribing plugin, else 501 | | `GET /v1/realtime` (WebSocket) | streaming transcription session | | `POST /v1/audio/speech` | speech (Breeze-TTS-2, drama-3) or a song (MiniMax-Music3), whole or streamed | | `GET /v1/audio/speech/stream` (WebSocket) | text streamed in, each sentence's audio out | | `POST /v1/videos`; `GET /v1/videos[/:id[/content]]`; `DELETE /v1/videos/:id` | video jobs made in the background, downloaded as MP4 | | `POST /v1/messages`, `/v1/messages/count_tokens` | Anthropic Messages, for Claude Code and the Anthropic SDKs | | `POST /v1/responses`, `/v1/responses/input_tokens` | OpenAI Responses, for Codex and SDK clients | | `POST /completion`, `/completions`, `/infill` | llama-server native completion and fill-in-the-middle | | `GET /v1/models`, `/v1/models/:id` | what is loaded, with `max_model_len`, `root`, `capabilities` | | `GET /health`, `/v1/health`, `/ping`, `POST /ping` | liveness | | `GET /load`, `/version`, `/props`, `/server_info`, `/diagnostics` | load; release version; llama-server props; full configuration; the startup report as JSON (`/diagnostics` is same-machine-only without an API key) | | `POST /apply-template`, `/v1/chat/completions/input_tokens` | the rendered prompt; its token count | | `GET /metrics` | Prometheus | | `POST /tokenize`, `/detokenize`; `GET /get_tokenizer_info` | vLLM's shape and llama-server's at once | | `POST /reset_prefix_cache`; `DELETE /sessions/