OpenAI-compatible routed chat completion with optional SSE streaming

post/v1/chat/completions

Request

  • Base URL: https://modelpilot.andycywu.cc
  • URL: https://modelpilot.andycywu.cc/v1/chat/completions
  • Auth: HTTP bearer

Request body

modelstring

ModelPilot target ID or auto.

reasoning_effort'none' | 'low' | 'medium' | 'high' | 'xhigh' | 'max'

For openai-mini (GPT-6 Luna): none, low, medium, high, xhigh, or max. Omission uses medium.

streamboolean

SSE streaming is available for OpenAI, Anthropic, and Google Gemini targets, including normalized tool-call deltas.

max_tokensinteger

Response

OpenAI-compatible JSON completion or text/event-stream when stream=true

Changes

No recorded changes to this operation across all 1 revision of this API.