[OI]-compatible LLM inference API for autonomous agents
[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.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://farouter.tech/v1/chat/completions
| Category | Market data |
|---|---|
| Provider host | farouter.tech |
| Networks | eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact, upto |
| Self-reported calls, 30 days | 412 from 10 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.001 | 2471 ms |
Example input (from the provider)
{
"body": {
"max_tokens": 50,
"messages": [
{
"content": "hi",
"role": "user"
}
],
"model": "glm-5.3"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"properties": {
"body": {
"additionalProperties": true,
"properties": {
"max_completion_tokens": {
"description": "Alias of max_tokens (gpt-5.x models).",
"minimum": 1,
"type": "integer"
},
"max_tokens": {
"description": "Output token budget. Sets your spending cap; actual usage is what gets settled (true-up).",
"minimum": 1,
"type": "integer"
},
"messages": {
"description": "Chat messages, [OI]-compatible {role, content}.",
"items": {
"additionalProperties": true,
"properties": {
"content": {},
"role": {
"enum": [
"system",
"developer",
"user",
"assistant",
"tool"
],
"type": "string"
}
},
"required": [
"role",
"content"
],
"type": "object"
},
"minItems": 1,
"type": "array"
},
"model": {
"description": "Model id from GET /v1/models, e.g. glm-5.3. No provider prefix.",
"type": "string"
},
"stream": {
"description": "SSE streaming.",
"type": "boolean"
},
"temperature": {
"description": "Sampling temperature.",
"maximum": 2,
"minimum": 0,
"type": "number"
}
},
"required": [
"model",
"messages"
],
"type": "object"
},
"bodyType": {
"const": "json"
},
"method": {
"const": "POST"
},
"type": {
"const": "http"
}
},
"required": [
"type",
"method",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"choices": {
"items": {
"properties": {
"finish_reason": {
"type": "string"
},
"message": {
"properties": {
"content": {
"type": "string"
},
"role": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"usage": {
"properties": {
"completion_tokens": {
"type": "integer"
},
"prompt_tokens": {
"type": "integer"
}
},
"type": "object"
}
},
"type": {
"const": "json"
}
},
"required": [
"type",
"example"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}