cURL
API
Create Chat Completion
Create a chat completion for the provided messages
POST
cURL
Generate AI responses using Comput3’s language models.
Authentication Required
This endpoint requires a valid API key in the Authorization header:Example Request
curl
Request Body
model(string, required): The model ID to use (e.g., “hermes4:70b”, “hermes4:405b”, “deepseek-v3.1”, “kimi-k2”, “qwen3-coder:480b”, “qwen3-max”, “grok-code-fast-1”, “claude-sonnet-4”)messages(array, required): Array of message objects with role and contentmax_tokens(integer): Maximum number of tokens to generatetemperature(float): Sampling temperature (0.0 to 2.0)
Response
Returns the chat completion with the AI-generated response.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Chat completion request
The model to use for completion
Available options:
hermes4:70b, hermes4:405b, deepseek-v3.1, kimi-k2, qwen3-coder:480b, qwen3-max, grok-code-fast-1, claude-sonnet-4 The messages to complete
Maximum number of tokens to generate
Sampling temperature
Required range:
0 <= x <= 2