{"apiVersion":"1.0.0","schemaVersion":1,"generatedAt":"2026-07-10T16:36:52.948Z","resource":{"id":"7b19bf02fd1202455e093bed","key":"POST https://x402factory.ai/base/llm/gpt","method":"POST","resourceUrl":"https://x402factory.ai/base/llm/gpt","alternateResourceUrls":["https://x402factory.ai/base/llm/gpt"],"canonicalUrl":"https://x402factory.ai/base/llm/gpt","origin":"https://x402factory.ai","hostname":"x402factory.ai","groupId":"x402factory-ai-4d90af7c","providerName":"x402factory.ai","title":"POST /base/llm/gpt","description":"Base GPT wrapper API using x402 payments. Default direct call: model gpt-5-mini, max_output_tokens=2000, fixed price 0.01 USDC for up to 1000 input tokens. For all other settings the price is computed per model as (input_tokens * input_price_per_million + max_output_tokens * output_price_per_million) / 1,000,000, with a minimum of 0.001 USDC and always rounded up to 6 decimals. Optional max_input_tokens lets you cap the input tokens used for pricing; if the message is longer than this cap the server returns an error instead of under-pricing. Optional action=message (or omitting action) performs a direct GPT call with the given message. Optional action=create creates a custom agent with the given message as preprompt for 0.001 USDC (no OpenAI call), stores a base_price_usdc using (max_input","tags":[],"type":"http","x402Version":1,"routeTemplate":null,"input":{"type":"http","method":"POST","bodyType":"json","bodyFieldNames":["action","custom_id","max_input_tokens","max_output_tokens","message","model"],"pathParamNames":[],"queryParamNames":[]},"iconUrl":null,"payment":{"networks":["base"],"schemes":["exact"],"assets":["0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"],"options":[{"network":"base","scheme":"exact","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","amountAtomic":null,"payTo":"0x402FaCcC3fAeb72351CC2b68C7966faF5f22B0d4","maxTimeoutSeconds":60,"tokenName":"USD Coin","tokenVersion":"2"}],"acceptedPaymentCount":1,"priceUsd":null},"quality":{"l30DaysTotalCalls":0,"l30DaysUniquePayers":0,"lastCalledAt":null},"registry":null,"sources":[{"id":"cdp-bazaar","sourceUrl":"https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources","observedAt":"2026-07-10T13:31:47.300Z","lastUpdated":"2026-02-17T23:15:07.698Z","recordKey":"POST https://x402factory.ai/base/llm/gpt"}],"verification":{"level":"origin-reachable","checkedAt":"2026-07-10T15:06:37.410Z","structural":{"ok":true,"normalized":true,"publicHttpUrl":true},"sourceConfirmed":true,"crossSource":false,"registryPaymentValid":null,"originCheck":{"scope":"origin","reachable":true,"statusCode":200,"method":"HEAD","checkedAt":"2026-07-10T15:04:43.518Z","latencyMs":1646,"error":null},"quoteCheck":{"scope":"exact-route","outcome":"not-safely-testable","attempted":false,"requestedMethod":null,"statusCode":null,"finalUrl":"https://x402factory.ai/base/llm/gpt","redirectCount":0,"checkedAt":"2026-07-10T15:06:37.410Z","latencyMs":null,"reason":"potentially-mutating-method:POST","requirementCount":0},"quote":null,"paidCall":{"verified":false,"checkedAt":null,"network":null,"receiptReference":null,"outputReviewed":false}},"curation":{"status":"discovered","basis":"discovery-only","matchScope":null,"listingSlug":null,"providerListingSlug":null,"listingName":null,"kind":null,"categories":[],"editorialDescription":null,"docsUrl":null,"sourceUrl":null}}}