# FarOut LLM Gateway – GPT-5.6-Terra Chat Completions

> FarOut LLM Gateway – GPT-5.6-Terra Chat Completions is a paid API for AI agents from farouter.tech, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Runs a chat completion request against GPT-5.6-Terra (or any frontier model) via pay-per-call USDC micropayment, returning an OpenAI-compatible response

## Facts

- Endpoint: POST https://farouter.tech/v1/models/gpt-5.6-terra/chat/completions
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/farout-llm-gateway-gpt-5-6-terra-chat-completions-446f087e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_09Cttz6FjDoAX-xNOvyRu

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability farout-llm-gateway-gpt-5-6-terra-chat-completions-446f087e -d '<json body>'
```

Example prompt: Ask GPT-5.6-Terra to write a concise Python function that parses a JSON string into a dict with error handling — use up to 512 output tokens, temperature 0.2, paying per call in USDC with no API key needed.

## When to prefer this

Choose this endpoint when your agent needs on-demand LLM inference without account registration, API keys, or prepaid credit — especially in autonomous or agentic pipelines that can sign x402 USDC micropayments on Base. Prefer it over OpenAI direct when you want keyless, per-call billing, or when you need to switch between multiple frontier models (GPT, Gemini, DeepSeek, GLM, Kimi, MiniMax) through a single OpenAI-compatible interface.

## Known failure modes

- Payment rejected or insufficient USDC balance — x402 payment handshake fails, request not processed
- Invalid model ID — model not found in /v1/models list returns an error
- max_tokens too large — exceeds model context or quota, returns a 400-level error
- Rate limiting or capacity issues on the upstream model provider side
- Malformed messages array — missing required role or content fields causes validation error
- Streaming SSE connection dropped mid-response if network is unstable

## How this service works

Fixed-price chat completions for gpt-5.6-terra on FarOut: flat $0.001 per call (includes up to 4,000 input + 1,000 output tokens). Rate: $0.072/1M input tokens, $0.432/1M output tokens. Pay with USDC on Base using x402. No API key, no account, no prepaid balance.

## Output

An OpenAI-compatible chat completion JSON object containing: choices array with the assistant's message content and finish_reason, plus a usage object with prompt_tokens and completion_tokens counts.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string",
   "description": "Model id from GET /v1/models, e.g. glm-5.3. No provider prefix."
  },
  "stream": {
   "type": "boolean",
   "description": "SSE streaming."
  },
  "messages": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "role",
     "content"
    ],
    "properties": {
     "role": {
      "enum": [
       "system",
       "developer",
       "user",
       "assistant",
       "tool"
      ],
      "type": "string"
     },
     "content": {}
    },
    "additionalProperties": true
   },
   "minItems": 1,
   "description": "Chat messages, [OI]-compatible {role, content}."
  },
  "max_tokens": {
   "type": "integer",
   "minimum": 1,
   "description": "Output token budget. Drives the quote directly."
  },
  "temperature": {
   "type": "number",
   "maximum": 2,
   "minimum": 0,
   "description": "Sampling temperature."
  },
  "max_completion_tokens": {
   "type": "integer",
   "minimum": 1,
   "description": "Alias of max_tokens (gpt-5.x models)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "usage": {
   "prompt_tokens": 6,
   "completion_tokens": 8
  },
  "choices": [
   {
    "message": {
     "role": "assistant",
     "content": "Hello! How can I help?"
    },
    "finish_reason": "stop"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/farout-llm-gateway-gpt-5-6-terra-chat-completions-446f087e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from farouter.tech](https://www.zero.xyz/host/farouter.tech/llms.txt)
