PixMind Docs
API ReferenceLanguage ModelsGPT-5.6 Terra

GPT-5.6 Terra Chat Completion

Call the balanced GPT-5.6 Terra model for reasoning, vision, tools, and streaming through the PixMind API.

GPT-5.6 Terra is the balanced production route for everyday reasoning and multimodal workloads. Its token table includes cache reads and writes, plus a separate tier for requests above 272K input tokens.

GPT-5.6 Terra through PixMind's OpenAI-compatible chat completions endpoint.

Provider

OpenAI

Model ID

gpt-5.6-terra

Endpoint

POST /api-platform/v1/chat/completions

Model notes

  • Keep the API key on your server and use streaming when the client needs incremental output.
  • The pricing tier is selected from the request's input-token count. Above 272K input tokens, the long-context tier applies to the entire request—not only the excess tokens. Cache reads and cache writes are billed independently.

Request parameters

ParameterTypeRequiredDescription
modelstringYes

Stable PixMind model ID. Use `gpt-5.6-terra`.

Allowed values: gpt-5.6-terra

messagesarrayYes

OpenAI-compatible chat messages. Gemini user content may be a string or an array of text, image_url, and video_url blocks.

max_tokensintegerNo

Maximum number of completion tokens to generate.

Default: 4096

temperaturenumberNo

Sampling temperature for the response.

Allowed values: 0, 0.5, 1, 2

Default: 1

streambooleanNo

Return tokens incrementally when enabled.

Allowed values: true, false

Default: false

Request example

cURL
curl https://aihub-admin.aimix.pro/api-platform/v1/chat/completions \
  -H "Authorization: Bearer $PIXMIND_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-5.6-terra",
  "messages": [
    {
      "role": "user",
      "content": "Draft three launch concepts for this product."
    }
  ],
  "stream": false
}'
JavaScript
const response = await fetch("https://aihub-admin.aimix.pro/api-platform/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${process.env.PIXMIND_API_KEY}`,
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
  "model": "gpt-5.6-terra",
  "messages": [
    {
      "role": "user",
      "content": "Draft three launch concepts for this product."
    }
  ],
  "stream": false
})
});

const task = await response.json();

Accepted task response

Generation is asynchronous. Save taskId and poll GET /api-platform/v1/tasks/{taskId} until status is ready or failed.

200 OK
{
  "code": 1000,
  "data": {
    "id": "img_44160",
    "taskId": 44160,
    "type": "image",
    "model": "gpt-5.6-terra",
    "status": "processing"
  }
}

API pricing

ConfigurationPrice
Input · ≤272K input tokens1477.84 credits (~$1.56) / 1M tokens
Output · ≤272K input tokens8867.04 credits (~$9.36) / 1M tokens
Cache read · ≤272K input tokens147.784 credits (~$0.16) / 1M tokens
Cache write · ≤272K input tokens1847.3 credits (~$1.95) / 1M tokens
Input · >272K input tokens2955.68 credits (~$3.12) / 1M tokens
Output · >272K input tokens13300.56 credits (~$14.04) / 1M tokens
Cache read · >272K input tokens295.568 credits (~$0.32) / 1M tokens
Cache write · >272K input tokens3694.6 credits (~$3.90) / 1M tokens

API pricing uses the apiPlatform role and is separate from PixMind Studio credits. The accepted task response is the final pricing snapshot.