# Agent Kiosk LLM Chat Completions Gateway

> Agent Kiosk LLM Chat Completions Gateway is a paid API for AI agents from agent-kiosk.vercel.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-19).

OpenAI-compatible chat completions endpoint that accepts prompts and messages arrays, routes to LLMs like GPT-4o-mini or DeepSeek, and charges $0.002 USDC per call via x402 with no API key required.

## Facts

- Endpoint: POST https://agent-kiosk.vercel.app/v1/chat/completions?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-kiosk-llm-chat-completions-gateway-7b23662c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O-GNJPZCF09qcHTQ_Ovci

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 agent-kiosk-llm-chat-completions-gateway-7b23662c -d '<json body>'
```

Example prompt: Ask gpt-4o-mini: what are the top DeFi yield strategies on Base right now? Use the pay-per-request gateway so I don't need an API key.

## When to prefer this

Choose this endpoint when you need an OpenAI-compatible LLM chat completion with zero account setup, no API key management, and true pay-per-call billing in Base USDC via x402. Ideal for AI agents, autonomous workflows, or developers who want to avoid subscription commitments and integrate LLM calls directly into crypto-native or agentic pipelines at $0.002 per request.

## Known failure modes

- Insufficient USDC balance on Base — payment fails and request is rejected
- Invalid or unsupported model identifier returns an error
- Malformed messages array or missing both prompt and messages fields
- Rate limiting or cold-start latency on Vercel serverless deployment
- x402 payment header missing or malformed — gateway rejects without processing

## How this service works

OpenAI-compatible LLM Chat Completions Gateway ($0.002 USDC/call). Drop-in replacement for /v1/chat/completions — change base_url to https://agent-kiosk.vercel.app/v1 and pay per request in Base USDC via x402 with zero account or API key setup.

## Output

Returns an OpenAI-format chat completion JSON object containing an id, model name, object type 'chat.completion', and a choices array with the assistant's message content and finish_reason (e.g. 'stop').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string",
   "description": "Model identifier (e.g. gpt-4o-mini, openai, deepseek-chat)"
  },
  "prompt": {
   "type": "string",
   "description": "Optional shorthand prompt string if messages array is omitted"
  },
  "messages": {
   "type": "array",
   "description": "OpenAI-format messages array [{role: 'user', content: '...'}]"
  },
  "temperature": {
   "type": "number",
   "description": "Sampling temperature (0.0 - 2.0)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "chatcmpl_x402",
  "model": "gpt-4o-mini",
  "object": "chat.completion",
  "choices": [
   {
    "index": 0,
    "message": {
     "role": "assistant",
     "content": "Base L2 offers top USDC lending yields on Morpho and Aave v3."
    },
    "finish_reason": "stop"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-kiosk-llm-chat-completions-gateway-7b23662c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-kiosk.vercel.app](https://www.zero.xyz/host/agent-kiosk.vercel.app/llms.txt)
