rz_live_… key for authentication and support streaming.
Anthropic-compatible endpoint
Send requests tohttps://raziel.fun/gateway/v1/messages in the same format you would send them to https://api.anthropic.com/v1/messages. The gateway forwards the request body unchanged to a live provider and returns the response in the same Anthropic shape.
When using the
razi claude command, requests go through a local proxy at localhost:3099. The raziel.fun domain never appears in Claude Code’s network traffic.Request
Parameters
string
required
The model to use. See available models below.
array
required
Array of message objects with
role (user or assistant) and content.integer
required
Maximum number of tokens to generate in the response.
boolean
Set to
true to receive a server-sent events stream. The gateway passes streaming through transparently.string
System prompt passed directly to the model.
number
Sampling temperature between 0 and 1.
array
Tool definitions for function calling. Passed through to the provider unchanged.
Example: streaming request
OpenAI-compatible endpoint
The gateway also speaks the OpenAI chat completions format athttps://raziel.fun/gateway/openai/v1. Use it with any client that accepts a custom base URL — the OpenAI SDK, Hermes, Continue, LibreChat, and others.
Endpoints
Request
Parameters
string
required
The model identifier. See available models below.
array
required
Array of message objects with
role and content.integer
Maximum number of tokens to generate.
number
Sampling temperature between 0 and 2.
boolean
Set to
true to receive a server-sent events stream.array
OpenAI-format tool definitions for function calling.
string | object
Tool selection strategy:
"auto", "none", "required", or a specific tool object.string | array
Up to 4 sequences where the API will stop generating.
number
Nucleus sampling parameter.
Example
Available models
Use
GET /gateway/openai/v1/models to retrieve the current model list programmatically.
Authentication
Both endpoints use the sameAuthorization: Bearer scheme.
x-api-key:
