{"uid":"cap_-ajj5rVMi9GNfvgw6wbLK","slug":"groq-via-locus-x402-llm-inference-audio-1e52a424","name":"Groq via Locus x402 — LLM Inference & Audio","description":"Locus public pay-per-use API","url":"https://groq.x402.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":{"type":"json","example":{"data":{},"payment":{"scheme":"exact","settledUsdc":"0.001000","authorizedMaxUsdc":"0.001000"},"request":{"id":"00000000-0000-4000-8000-000000000000","statusUrl":"/requests/00000000-0000-4000-8000-000000000000"},"success":true}},"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_35aaavMtM2KmnPwI_NS2V","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":"Proxies requests to Groq's ultra-fast inference API (Llama 3.3, DeepSeek R1, Gemma 2, Qwen, Whisper, PlayAI TTS) with per-call USDC micropayment via x402 protocol","exampleAgentPrompt":"Using Groq's ultra-fast inference, send a chat completion request to Llama 3.3 asking it to summarize the following paragraph in three bullet points: 'Artificial intelligence is transforming industries by automating complex tasks, enabling faster decision-making, and unlocking new capabilities in fields ranging from healthcare to finance.'","exampleUseCases":[{"title":"Real-time reasoning with DeepSeek R1","prompt":"Use Groq to run a DeepSeek R1 reasoning query — I need it to solve this math word problem step by step: 'A train leaves Chicago at 60 mph and another leaves New York at 80 mph, starting 800 miles apart. When do they meet?'"},{"title":"Transcribe meeting audio with Whisper","prompt":"Transcribe this audio recording of my team standup using Groq's Whisper model — I need fast, accurate transcription so I can turn it into meeting notes."},{"title":"Generate spoken product description with PlayAI TTS","prompt":"Use Groq's PlayAI TTS to convert this product description into spoken audio: 'The AeroSleep pillow combines memory foam with cooling gel for an unmatched night's rest.' I need the audio output for my e-commerce product page."}],"resultDescription":"Returns a JSON response containing the Groq API output (e.g. chat completion text, token counts, transcription text, or audio data), a payment object confirming the settled USDC amount and authorized max, a request ID with a status URL for async tracking, and a success flag.","failureModes":["Insufficient USDC balance or payment failure — 402 Payment Required with payment details","Invalid or unsupported model name — 400 Bad Request or Groq API error forwarded","Malformed request body or missing required fields — 422 Unprocessable Entity","Groq upstream rate limit or outage — 502/503 from the proxy","Audio file format not supported by Whisper — error from underlying Groq endpoint","Request timeout for very long inference tasks"],"whenToPreferThis":"Choose this endpoint when you need ultra-low-latency LLM inference (Groq is industry-leading for speed), want to pay per-call in USDC via x402 without a subscription, need an OpenAI-compatible API surface, or require access to open-weight models like Llama 3.3, DeepSeek R1, Gemma 2, or Qwen alongside audio capabilities (Whisper STT, PlayAI TTS) in a single gateway. Prefer over standard Groq API when operating in a crypto-native or agent-payment context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:34:39.338Z","isFirstParty":false}