v3

latestOpenAPI 3.1.02026-08-087720634.9 KB
Baseten Model APIs

Send a conversation to a model and get a completion back. Works exactly like the OpenAI chat completions endpoint. Pass messages and a model slug, get a response with the assistant's reply. Supports streaming for real-time token delivery, tool calling for function execution, structured outputs via response_format, and controllable reasoning depth on supported models.

post/baseten/v1/chat/completions

Response

Successful response