Skip to main content
POST /v1/data/llm/route/run Pricing: Metered: you pay exactly each call’s cost at the selected model’s rates (default OpenAI: GPT-4o-mini: $0.15 per 1M input tokens).

Request

Send the inputs under params. Only the keys below are accepted; any other key returns 422 invalid_params.
string[]
required
One or more prompts. Each prompt is one call to the model and one row.
string
default:"openai/gpt-4o-mini"
The model that answers. Pick from the list (popular models first). Each model shows its own rates per 1M input and output tokens, and that is exactly what each call costs.358 allowed values, for example openai/gpt-4o-mini (OpenAI: GPT-4o-mini), openai/gpt-5.6-luna-pro (OpenAI: GPT-5.6 Luna Pro), openai/gpt-5.6-luna (OpenAI: GPT-5.6 Luna), openai/gpt-5.6-terra-pro (OpenAI: GPT-5.6 Terra Pro), openai/gpt-5.6-terra (OpenAI: GPT-5.6 Terra), anthropic/claude-fable-5.2 (Anthropic: Claude Fable 5.2), anthropic/claude-haiku-5.5 (Anthropic: Claude Haiku 5.5), anthropic/claude-sonnet-5.5 (Anthropic: Claude Sonnet 5.5), anthropic/claude-opus-5.5 (Anthropic: Claude Opus 5.5), google/gemini-4-hydrogen (Google: Gemini 4 Hydrogen). Fetch the full list with GET /v1/data/llm/route?expand=options.
string[]
Optional public file URLs (image, audio, video or PDF) for models that can read them. One prompt with several files runs the prompt on each file; several prompts with one file asks each prompt about that file. Several prompts with several files is refused. The model must accept the file type.

Example

Response fields

Each row in data is one answer, keyed by these fields.

Example response

Abridged: long text and lists are shortened.