$0.002
per call · USD Coin on Base
Fixed-price chat completions for glm-5.2 on FarOut: flat $0.002 per call (includes up to 4,000 input + 1,000 output tokens). Rate: $0.090/1M input tokens, $0.282/1M output tokens. Pay with USDC on Base using x402. No API key, no account, no prepaid balance.
Endpoint
POST https://farouter.tech/v1/models/glm-5.2/chat/completions7
Calls / 30d
2
Unique payers / 30d
Sep 3
Last called
upto
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://farouter.tech/v1/models/glm-5.2/chat/completions", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"max_tokens": 50,
"messages": [
{
"content": "hi",
"role": "user"
}
],
"model": "glm-5.2"
}),
});
const data = await res.json();curl -X POST \
"https://farouter.tech/v1/models/glm-5.2/chat/completions" \
-H "Content-Type: application/json" \
-d '{"max_tokens":50,"messages":[{"content":"hi","role":"user"}],"model":"glm-5.2"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"choices": [
{
"finish_reason": "stop",
"message": {
"content": "Hello! How can I help?",
"role": "assistant"
}
}
],
"usage": {
"completion_tokens": 8,
"prompt_tokens": 6
}
}Payment details
0x8e3c3e9c91cc0161b5e1cf138180ef3641d2371eUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of AI & Inference and the homepage with a featured placement.
More from FarOut LLM Gateway & similar services
FarOut LLM Gateway · Chat Completions
farouter.tech
[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.
FarOut LLM Gateway · Chat Completions
farouter.tech
Fixed-price chat completions for glm-5.3-flash on FarOut: flat $0.002 per call (includes up to 4,000 input + 1,000 output tokens). Rate: $0.016/1M input tokens, $0.054/1M output tokens. Pay with USDC on Base using x402. No API key, no account, no prepaid balance.
FarOut LLM Gateway · Chat Completions
farouter.tech
Fixed-price chat completions for kimi-k3 on FarOut: flat $0.002 per call (includes up to 4,000 input + 1,000 output tokens). Rate: $0.192/1M input tokens, $0.960/1M output tokens. Pay with USDC on Base using x402. No API key, no account, no prepaid balance.