AI Inference · x402

[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…

by farouter.tech · discovered, not yet claimed by its owner · updated 2026-09-17

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

[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.

Tags: bazaar · faroutQuote

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/7134.json for the price and payment options.
  3. Pay. Call GET https://farouter.tech/v1/chat/completions. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.001 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base, Solana
Uptime
1 of the last 1 checks answered
Calls (30d)
411 · 9 unique payers (third-party data from the public x402 Bazaar)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
uptoBase
eip155:8453
USDC$0.0010x8e3c3e9c91cc0161b5e1cf138180ef3641d2371e300s
exactBase
eip155:8453
USDC$0.0010x8e3c3e9c91cc0161b5e1cf138180ef3641d2371e300s
exactSolana
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
USDC$0.001GpxxoH3s8CqxyyWJvbDQDERbJpRgXei5jSHJjKmELtSZ300s
accepts[] (raw JSON)
[
  {
    "scheme": "upto",
    "network": "eip155:8453",
    "payTo": "0x8e3c3e9c91cc0161b5e1cf138180ef3641d2371e",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "amountUsd": 0.001,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x8e3c3e9c91cc0161b5e1cf138180ef3641d2371e",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "amountUsd": 0.001,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "GpxxoH3s8CqxyyWJvbDQDERbJpRgXei5jSHJjKmELtSZ",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "1000",
    "amountUsd": 0.001,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "max_tokens": 50,
          "messages": [
            {
              "content": "hi",
              "role": "user"
            }
          ],
          "model": "glm-5.3"
        },
        "bodyType": "json",
        "method": "POST",
        "type": "http"
      },
      "output": {
        "example": {
          "choices": [
            {
              "finish_reason": "stop",
              "message": {
                "content": "Hello! How can I help?",
                "role": "assistant"
              }
            }
          ],
          "usage": {
            "completion_tokens": 8,
            "prompt_tokens": 6
          }
        },
        "type": "json"
      }
    },
    "schema": {
      "$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"
    }
  },
  "faroutQuote": {
    "info": {
      "cachePricePer1M": 0.036399999999999995,
      "inputPricePer1M": 0.364,
      "inputTokens": 1,
      "model": "cb/glm-5.3",
      "outputPricePer1M": 1.1440000000000001,
      "outputTokens": 50,
      "usd": 0.001
    },
    "schema": {
      "properties": {
        "cachePricePer1M": {
          "type": "number"
        },
        "inputPricePer1M": {
          "type": "number"
        },
        "inputTokens": {
          "type": "integer"
        },
        "model": {
          "type": "string"
        },
        "outputPricePer1M": {
          "type": "number"
        },
        "outputTokens": {
          "type": "integer"
        },
        "usd": {
          "type": "number"
        }
      },
      "required": [
        "usd",
        "model"
      ],
      "type": "object"
    }
  }
}
Example shape — generated from the schema, not a captured live response
null

Examples

curl
curl "https://farouter.tech/v1/chat/completions"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://farouter.tech/v1/chat/completions");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://farouter.tech/v1/chat/completions")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
farouter.tech
Endpoint
https://farouter.tech/v1/chat/completions
Machine-readable
/resources/7134.json