{"uid":"cap_x_MdhutKx55O1gCX3IELy","slug":"locus-x402-groq-models-api-ba3d6ebe","name":"Locus x402 Groq Models API","description":"Locus public pay-per-use API","url":"https://groq.x402.stage.paywithlocus.com/groq/models","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{},"additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1aGpG6cJdRVoYrzwketmP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Pay-per-use HTTP proxy to Groq's model inference API, billed per call via x402 micropayments","exampleAgentPrompt":"Using the Locus x402 Groq proxy, send a POST request with a JSON body to run a chat completion — ask the model 'What are three creative names for a coffee shop?' and charge my wallet the per-call USDC fee.","exampleUseCases":[{"title":"One-off LLM query without subscription","prompt":"I just need to ask Groq's LLM one quick question — 'Summarize the key differences between REST and GraphQL in two paragraphs' — without signing up for a plan. Can you route it through the Locus x402 Groq proxy and pay the micro-fee from my wallet?"},{"title":"Agent tool call with pay-per-use inference","prompt":"My AI agent needs to call Groq to classify a customer support ticket as 'billing', 'technical', or 'general' — send the ticket text as a JSON body to the Locus Groq proxy and let it bill per call in USDC."},{"title":"Cost-controlled LLM prototyping","prompt":"I'm prototyping a text summarization feature and want to test Groq's inference without committing to a monthly plan — can you send a few sample paragraphs to the Locus x402 Groq endpoint and only pay the $0.005 per call?"}],"resultDescription":"Returns the raw Groq model inference response (e.g. chat completion or generation output) as a JSON body, after the x402 micropayment of $0.005 USDC has been settled per call.","failureModes":["Insufficient USDC balance causes payment failure and request rejection","Malformed JSON body results in 400 Bad Request","Invalid or unsupported Groq model parameters cause downstream inference error","x402 payment protocol negotiation failure if client does not support x402","Network timeout on the staging environment","Missing required 'input' fields (type, method, bodyType, body) cause schema validation error"],"whenToPreferThis":"Choose this endpoint when you need on-demand, pay-per-use access to Groq's model inference without a subscription or API key commitment, and your agent or wallet supports the x402 micropayment protocol. Ideal for low-volume, bursty, or experimental workloads where per-call USDC billing is preferable to flat-rate plans.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:31:04.982Z","isFirstParty":false}