# Groq via Locus x402 — LLM Inference & Audio

> Groq via Locus x402 — LLM Inference & Audio is a paid API for AI agents from groq.x402.paywithlocus.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

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

## Facts

- Endpoint: POST https://groq.x402.paywithlocus.com/groq/models
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/groq-via-locus-x402-llm-inference-audio-1e52a424
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-ajj5rVMi9GNfvgw6wbLK

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability groq-via-locus-x402-llm-inference-audio-1e52a424 -d '<json body>'
```

Example prompt: 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.'

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Locus public pay-per-use API

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/groq-via-locus-x402-llm-inference-audio-1e52a424/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from groq.x402.paywithlocus.com](https://www.zero.xyz/host/groq.x402.paywithlocus.com/llms.txt)
