Api Endpoint

FarOut LLM Gateway

[OI]-compatible LLM inference API for autonomous agents. Supports reasoning, coding and chat workloads. Pay with USDC on Base using x402 (upto scheme, true-up billing): the 402 quotes a spending CAP (estimated input tokens + your max_tokens at the model's per-1M price), and after the model answers you are settled for the ACTUAL usage - always <= the cap, never more. Minimum $0.001, cap $3.0 per call. Cached input bills at 10%. Failed calls are never charged. Any model from GET /v1/models.

Open interactive test console

Offering

Provider
farouter.tech
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Api
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://farouter.tech/v1/chat/completions
MIME type
application/json
First seen
2026-10-16T02:01:31.612Z
Last seen
Tags
LLM, Inference, openai-compatible, reasoning, coding

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "1000",
    "payTo": "GpxxoH3s8CqxyyWJvbDQDERbJpRgXei5jSHJjKmELtSZ"
  }
]

Observed health

Status
Reachable
Latest latency
1284 ms
Average latency
1137 ms
HTTP status
405
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "body": {
    "model": "glm-5.3",
    "messages": [
      {
        "role": "user",
        "content": "hi"
      }
    ],
    "max_tokens": 50
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
}

Output schema

{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "input"
  ],
  "properties": {
    "input": {
      "type": "object",
      "required": [
        "type",
        "method",
        "body"
      ],
      "properties": {
        "body": {
          "type": "object",
          "required": [
            "model",
            "messages"
          ],
          "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. Sets your spending cap; actual usage is what gets settled (true-up)."
            },
            "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)."
            }
          },
          "additionalProperties": true
        },
        "type": {
          "const": "http"
        },
        "method": {
          "const": "POST"
        },
        "bodyType": {
          "const": "json"
        }
      }
    },
    "output": {
      "type": "object",
      "required": [
        "type",
        "example"
      ],
      "properties": {
        "type": {
          "const": "json"
        },
        "example": {
          "usage": {
            "type": "object",
            "properties": {
              "prompt_tokens": {
                "type": "integer"
              },
              "completion_tokens": {
                "type": "integer"
              }
            }
          },
          "choices": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "object",
                  "properties": {
                    "role": {
                      "type": "string"
                    },
                    "content": {
                      "type": "string"
                    }
                  }
                },
                "finish_reason": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}