{"uid":"cap_ub-UhvqsXxHY6Q4C-PPnA","slug":"agentservices-inference-api-0fb8c474","name":"AgentServices Inference API","description":"Paid data APIs for AI agents. Crypto market data, DeFi yields, IP geolocation, dispute resolution, marketing intelligence. Powered by x402 micropayments on Base.","url":"https://agentservices.to/v1/inference","method":"POST","headers":{},"bodySchema":{"type":"object","required":["messages"],"properties":{"model":{"type":"string","description":"gpt-5.4, gpt-5.4-mini, or gpt-5.5"},"messages":{"type":"array","description":"Chat messages in OpenAI format [{role, content}]"},"max_tokens":{"type":"integer"},"temperature":{"type":"number"}}},"responseSchema":{},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1KbGap2Pi7kAW4iwFaRge","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provides access to GPT-5.x language models via a pay-per-call OpenAI-compatible chat completion API, billed via x402 micropayments on Base.","exampleAgentPrompt":"Send these messages to gpt-5.4-mini and return the response: system says 'You are a helpful assistant' and user says 'Summarize the key risks of DeFi yield farming in 3 bullet points' — keep it under 300 tokens.","exampleUseCases":[{"title":"On-demand LLM for autonomous agent","prompt":"I need you to call gpt-5.4 with this conversation history and get the next assistant reply — my agent doesn't have an OpenAI key, just pay per call with USDC on Base."},{"title":"Crypto-native text summarization","prompt":"Summarize this DeFi protocol whitepaper excerpt using gpt-5.5 and keep the output under 200 tokens — I want to pay per use instead of maintaining an API subscription."},{"title":"Quick classification with frontier model","prompt":"Use gpt-5.4-mini to classify the sentiment of this customer message as positive, negative, or neutral: 'The yield was great but the gas fees made it barely worth it.' Set temperature to 0 so I get a consistent answer."}],"resultDescription":"Returns a chat completion object in OpenAI response format containing the model's generated assistant message, token usage statistics, finish reason, and model identifier used.","failureModes":["Missing or malformed 'messages' array returns a 400 validation error","Invalid model name not in {gpt-5.4, gpt-5.4-mini, gpt-5.5} causes rejection","Insufficient USDC balance or failed x402 micropayment returns a 402 Payment Required","Max tokens exceeded for the selected model returns a context length error","High temperature values may produce incoherent or unpredictable outputs","Rate limiting may occur under high concurrency with repeated rapid calls"],"whenToPreferThis":"Choose this endpoint when your agent needs access to GPT-5-class language models without a direct OpenAI API key or subscription, especially in a crypto-native context where you want per-call billing via USDC micropayments on Base rather than a monthly quota. It is well-suited for autonomous agents that need sporadic, budget-controlled LLM inference without vendor lock-in to OpenAI billing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:54:57.388Z","isFirstParty":false}