# AgentServices Chat Completions

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

Provides an OpenAI-compatible chat completions endpoint powered by premium AI models (Claude, Gemini, etc.) paid via x402 micropayments on Base

## Facts

- Endpoint: POST https://agentservices.to/v1/chat/completions
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentservices-chat-completions-e15bc1ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QQ2wyeXjXcEWuLYpWSja0

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-chat-completions-e15bc1ce -d '<json body>'
```

Example prompt: Using the AgentServices completions endpoint with Claude Sonnet 4-6, generate a concise market summary for Bitcoin based on this context: 'BTC is up 5% today on high volume' — pay per call via x402 on Base.

## When to prefer this

Choose this endpoint when you need pay-per-call LLM inference without a subscription, particularly inside autonomous AI agents that use x402 micropayments on Base. It is ideal when you want to route to frontier models like Claude or Gemini with crypto-native billing and need OpenAI-compatible API structure for easy integration.

## Known failure modes

- Payment failure if x402 micropayment on Base cannot be processed or wallet has insufficient USDC
- Invalid model ID returns an error indicating unsupported model
- Malformed messages array (missing role or content) causes a 400-level validation error
- Rate limiting or quota exhaustion on the underlying model provider side
- Empty or null response if max_tokens is set too low for the prompt complexity

## 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 OpenAI-compatible chat completion object containing the assistant's generated message, model metadata, and token usage counts. The response follows the standard choices[].message.content structure.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "model",
  "messages"
 ],
 "properties": {
  "model": {
   "type": "string",
   "description": "Model ID (e.g., anthropic/claude-sonnet-4-6, google/gemini-3-pro)"
  },
  "messages": {
   "type": "array",
   "description": "Chat messages [{role, content}]"
  },
  "max_tokens": {
   "type": "integer"
  },
  "temperature": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentservices-chat-completions-e15bc1ce/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)
