Routing
Chat completion (OpenAI-compatible) with model choice and routing
model = our product or any market model id (GET /api/v1/broker/models): the cheapest eligible provider serves it. routing narrows by exact min_score per category, sort (price|value|speed|score), region and max_price. Errors: 400 invalid_routing, 402 insufficient_balance, 409 no_matching_offer.
post/api/v1/chat/completions
Request
- Base URL: https://api.llm-broker.net
- URL: https://api.llm-broker.net/api/v1/chat/completions
- Auth: none required
Request body
Example request
{
"model": "deepseek/deepseek-v4.1-flash",
"routing": {
"category": "coding",
"min_score": 0.8,
"region": "eu",
"sort": "value"
}
}Response
Completion (or SSE stream with stream=true)
object required
Changes
No recorded changes to this operation across all 1 revision of this API.