Endpoint
Headers
application/jsonAn EVM wallet address. Used for authentication and credit tracking.
Bearer YOUR_API_KEY — Required when the gateway is not running in free mode.Request body
An array of message objects. Each message has a
role ("system", "user", or "assistant") and content (string).Which model to use:
"conductor"— 32B model via RunPod. Requiresstream: false."operator"— 8B model via Ollama. Supports streaming.
When
true, the response is delivered as Server-Sent Events. See Streaming.Response
Standard OpenAI Chat Completion object:Unique completion identifier.
Always
"chat.completion".The model that generated the response.
Array with a single choice containing the assistant’s
message and finish_reason.Token counts:
prompt_tokens, completion_tokens, total_tokens.Error responses
| Status | Meaning |
|---|---|
400 | Missing or invalid messages array. |
401 | Missing wallet address or invalid API key. |
402 | Insufficient credits. |
502 | Model backend error or cold start. The error field will indicate if the model is warming up. |