{"uid":"cap_u4HXoM47Ls_izg4bV68Kh","slug":"farout-gpt-5-4-chat-completions-via-x402-7a752396","name":"FarOut GPT-5.4 Chat Completions via x402","description":"Pay-per-call LLM inference over x402. Frontier models (GLM, GPT, Gemini, Kimi, DeepSeek, MiniMax) billed per request in USDC on Base or Solana mainnet. No API key, no account. The 402 quotes your exact request; failed calls are never charged.","url":"https://farouter.tech/v1/metered/models/gpt-5.4/chat/completions","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"usage":{"prompt_tokens":6,"completion_tokens":8},"choices":[{"message":{"role":"assistant","content":"Hello! How can I help?"},"finish_reason":"stop"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.00106","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.00106/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.00106","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.00106","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_d9cIZrT0znrs0e4hbn5mH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.00106","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a GPT-5.4 chat completion request billed per-call in USDC via the x402 payment protocol — no API key or account required.","exampleAgentPrompt":"Ask GPT-5.4 via FarOut — paying per call in USDC on Base — to explain the difference between proof-of-work and proof-of-stake in two paragraphs, keeping the tone friendly and accessible.","exampleUseCases":[{"title":"Autonomous agent calling LLM without API key","prompt":"I'm running an autonomous agent that needs to call GPT-5.4 to summarize user feedback — can you route that through FarOut and pay for each call in USDC on Base so I don't need to set up an OpenAI account?"},{"title":"On-demand content drafting for a dApp","prompt":"Draft a short product description for my new NFT marketplace using GPT-5.4 on FarOut — charge the USDC fee per call and return the assistant's response directly."},{"title":"Crypto-native chatbot backend inference","prompt":"My chatbot needs to answer customer questions about DeFi protocols — use FarOut to send each conversation turn to GPT-5.4 and pay the micropayment in USDC on Solana for each request."}],"resultDescription":"A JSON object matching the OpenAI chat completions response format: an array of choices each containing the assistant message (role + content) and finish_reason, plus a usage object with prompt_tokens and completion_tokens counts.","failureModes":["Payment insufficient or rejected — call not charged but request fails with 402","Invalid or malformed messages array — 400 bad request","Model identifier not recognized — endpoint returns error","Network or blockchain congestion causes payment timeout","Rate limiting or upstream OpenAI unavailability — 503 or 429 upstream error"],"whenToPreferThis":"Choose this endpoint when you need GPT-5.4 inference without an OpenAI account or pre-funded API key, particularly in autonomous agent or crypto-native contexts where per-call USDC micropayments on Base or Solana are preferable to subscription billing. Ideal for agents that call LLMs sporadically and want zero-setup, pay-as-you-go access with the guarantee that failed calls are never charged.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:41:40.345Z","isFirstParty":false}