# AgentServices LLM Completion API

> AgentServices LLM Completion API is a paid API for AI agents from agentservices.to, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-13).

Sends a prompt to an LLM and returns a completion response, billed per-call via x402 micropayments on Base

## Facts

- Endpoint: POST https://agentservices.to/v1/complete
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentservices-llm-completion-api-2929ef3f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_22LFmv8d-AgA-AAG7fxT8

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 agentservices-llm-completion-api-2929ef3f -d '<json body>'
```

Example prompt: Complete this prompt for me using AgentServices: 'Summarize the key risks of investing in DeFi protocols in 3 bullet points' — use up to 300 tokens.

## When to prefer this

Choose this endpoint when your agent needs pay-per-call LLM text generation without a subscription, especially in crypto-native or DeFi-adjacent pipelines that already use x402 micropayments on Base. It is ideal for agents that need to call an LLM sporadically and want to pay in USDC rather than manage API keys or monthly billing.

## Known failure modes

- Payment failure if USDC balance is insufficient or x402 payment is rejected
- Missing required 'prompt' field returns a 400 validation error
- Invalid model name may result in a 400 or 422 error
- Max token limits exceeded by model may truncate or error the response
- Service unavailability returns 5xx errors
- Empty or malformed prompt may produce low-quality or empty completions

## How this service works

Paid data APIs for AI agents. Crypto market data, DeFi yields, IP geolocation, dispute resolution, marketing intelligence. Powered by x402 micropayments on Base.

## Output

Returns an LLM-generated text completion based on the submitted prompt, optionally constrained by model choice and max_tokens. The response body structure is unspecified but expected to contain the generated text output.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "prompt"
 ],
 "properties": {
  "model": {
   "type": "string"
  },
  "prompt": {
   "type": "string"
  },
  "max_tokens": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentservices-llm-completion-api-2929ef3f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentservices.to](https://www.zero.xyz/host/agentservices.to/llms.txt)
