AI GatewayLLMLoad BalancingOpen-SourceOpenAI-CompatibleMCP
ChatCompletionRequest is a JSON Structure definition published by Bifrost, describing 7 properties. It conforms to the https://json-structure.org/meta/extended/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/extended/v0/#",
"name": "ChatCompletionRequest",
"type": "object",
"description": "Request body for creating a chat completion.",
"properties": {
"model": {
"type": "string",
"description": "Provider and model name in the format provider/model-name (e.g., openai/gpt-4o, anthropic/claude-3-5-sonnet-20241022)."
},
"messages": {
"type": "array",
"description": "Array of messages comprising the conversation."
},
"temperature": {
"type": "float",
"description": "Sampling temperature between 0 and 2."
},
"max_tokens": {
"type": "int32",
"description": "Maximum number of tokens to generate."
},
"stream": {
"type": "boolean",
"description": "Whether to stream the response as SSE."
},
"top_p": {
"type": "float",
"description": "Nucleus sampling probability."
},
"n": {
"type": "int32",
"description": "Number of completions to generate."
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.