Skip to main content
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 content
  • max_tokens (integer): Maximum number of tokens to generate
  • temperature (float): Sampling temperature (0.0 to 2.0)

Response

Returns the chat completion with the AI-generated response.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Chat completion request

model
enum<string>
required

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
messages
object[]
required

The messages to complete

max_tokens
integer

Maximum number of tokens to generate

temperature
number

Sampling temperature

Required range: 0 <= x <= 2

Response

Chat completion response

id
string
object
string
created
integer
model
string
choices
object[]
usage
object