POST https://asklethe.ai/v1/chat/completions accepts the same request shape as OpenAI’s Chat Completions API. Your request body is forwarded as-is (after LETHE resolves model to the upstream model), so any parameter the OpenAI API accepts, temperature, max_tokens, tools, tool_choice, stream, etc., passes through.
Streaming
Set"stream": true to receive server-sent events, same as the OpenAI API. Model names in streamed chunks are rewritten to the public lethe / lethe-vision id, you will never see an upstream provider name in the stream.
Vision input
To send image or video content parts, usemodel: "lethe-vision". Sending vision content to lethe (text-only) returns an invalid_model error. See Models.
Statelessness
LETHE does not store or merge conversation history between calls. Send the fullmessages array on every request.
Response headers
Every response includes:
See Rate Limits & Quotas for details, and Errors for failure responses.
