{"uid":"cap_wxqGVCsE9hmGQ8NHOWL-q","slug":"model-api-xyz-fe8685b4","name":"model-api.xyz Chat Completions","description":"","url":"https://model-api.xyz/v1/chat/completions","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"unknown","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vIoP8L5DwqknePkmfkHes","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provides a chat completions endpoint for generating AI language model responses, accessible via micropayment (x402 protocol).","exampleAgentPrompt":"Send this conversation to model-api.xyz's chat completions endpoint and get a response: system says 'You are a helpful assistant', user says 'What are the three laws of thermodynamics?'","exampleUseCases":null,"resultDescription":"Returns an AI-generated assistant message completing the conversation, along with metadata such as token usage counts and finish reason, following the standard OpenAI-compatible chat completions response format.","failureModes":["Payment not included or invalid x402 payment header — returns 402 Payment Required","Malformed request body or missing required fields (e.g. 'model', 'messages') — returns 400 Bad Request","Model name not recognized or unavailable — returns 404 or 400","Rate limit exceeded — returns 429 Too Many Requests","Service unavailable or overloaded — returns 503","Insufficient USDC balance to cover the $0.001 per-call fee"],"whenToPreferThis":"Prefer this endpoint when you need a pay-per-call AI chat completions API with no subscription, using the x402 micropayment protocol and USDC. Suitable for agents that need lightweight, on-demand LLM access without committing to a monthly plan or managing API keys from major providers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:37:06.386Z","isFirstParty":false}