Universal LLM Router

Intelligent multi-provider API routing

API Documentation

Version: 1.0.0

Endpoints

PathMethodDescriptionAuth Required
/v1/chat/completionsPOSTChat completions with multi-provider intelligent routing (OpenAI-compatible)No
/v1/responsesPOSTOpenAI Responses API endpoint (for n8n v2.1+ and modern OpenAI clients)No
/v1/modelsGETList all available models and aliasesNo
/v1/models/{model}GETGet details for a specific modelNo
/healthGETSystem health check and component statusNo
/metricsGETSystem metrics and performance dataNo
/model-healthGETModel availability and circuit breaker statusNo
/helpGETAPI documentation and usage information (this endpoint)No
/v1/helpGETAPI documentation (alias for /help)No

Intelligent Routing

Use these keywords as the model parameter for automatic optimization:

Setup

In n8n, create an OpenAI credential with Base URL set to https://openai-llm.sparkst.workers.dev (no /v1 suffix). Use any of our supported models (gpt, balanced, claude-sonnet-4, etc.) in the model field.