inference
Create chat completion
Creates a model response for the given chat conversation.
post/v1/chat/completions
Request
- Base URLhttps://api.tokenfactory.nebius.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
ai_project_idstring nullable
current project ID
Request body
Example request
{
"model": "meta-llama/Meta-Llama-3.1-70B-Instruct",
"messages": [
{
"content": "Hello!",
"role": "user"
}
],
"max_tokens": 100,
"max_completion_tokens": 100
}Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.