# LLM Chat Completion (OpenAI-Compatible) — GadgetHumans

> LLM Chat Completion (OpenAI-Compatible) — GadgetHumans is a paid API for AI agents from api.gadgethumans.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-19).

Send an array of chat messages to an OpenAI-compatible endpoint and receive a model-generated reply, billed per call via x402.

## Facts

- Endpoint: POST https://api.gadgethumans.com/v1/chat/completions?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/llm-chat-completion-openai-compatible-gadgethumans-ae17a514
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mQEPHVfnwe5y8mNNFVJtM

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 llm-chat-completion-openai-compatible-gadgethumans-ae17a514 -d '<json body>'
```

Example prompt: Ask the GadgetHumans LLM endpoint: given the message history where I said 'What are three creative names for a productivity app?', generate a model reply and return it.

## When to prefer this

Choose this endpoint when you need an OpenAI-compatible LLM chat completion that can be called with any standard OpenAI SDK, billed per-call via x402 micropayments without requiring a subscription. Ideal for agents or pipelines that want to pay only for what they use, integrate quickly with existing OpenAI-compatible tooling, or avoid managing API keys for a major LLM provider. Prefer alternatives (OpenAI, Anthropic, etc.) when you need a specific flagship model, guaranteed SLAs, or fine-tuning capabilities.

## Known failure modes

- Payment failure via x402 — call rejected if USDC balance insufficient or x402 header malformed
- Invalid messages array — 400 error if messages field is missing or malformatted
- Unsupported model ID — model not found or not available on this provider
- Rate limiting — too many requests in a short window may return 429
- Timeout — long prompts or slow model inference may cause request timeout
- Empty or null content — model may return a finish_reason of 'stop' with empty text for certain inputs

## How this service works

OpenAI-compatible chat completion at the standard /v1 base path: send a messages array and get a model reply. Point any OpenAI SDK at https://api.gadgethumans.com/v1 and pay per call with x402.

## Output

Returns an OpenAI-style chat completion response object containing the assistant's generated message, the model used, token usage counts, finish reason, and any other standard OpenAI response fields. The agent receives the reply text inside choices[0].message.content.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string",
   "description": "Optional model id"
  },
  "messages": {
   "type": "array",
   "description": "OpenAI-style chat messages, e.g. [{role:'user',content:'hi'}]"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/llm-chat-completion-openai-compatible-gadgethumans-ae17a514/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.gadgethumans.com](https://www.zero.xyz/host/api.gadgethumans.com/llms.txt)
