# Gondola AI Chat Completions

> Gondola AI Chat Completions is a paid API for AI agents from api.gondola-ai.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Generates AI chat completions using Venice-compatible models, paid per-call in USDC on Base, via an OpenAI-compatible API

## Facts

- Endpoint: POST https://api.gondola-ai.com/v1/chat/completions
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gondola-ai-chat-completions-723ea936
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6pWtbiay_xYNH2P36fcfO

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 gondola-ai-chat-completions-723ea936 -d '<json body>'
```

Example prompt: Using Gondola's Venice-compatible inference, send a chat completion request asking the model to summarize the following text: 'Blockchain enables trustless transactions across decentralized networks.' Pay with USDC on Base.

## When to prefer this

Choose Gondola when you need OpenAI-compatible chat completions at lower cost than direct Venice AI, especially when your agent or application can pay in USDC on Base (x402 protocol). Ideal for crypto-native workflows, agent fleets with high inference volume, or projects where DIEM holders want to monetize idle compute. Prefer over direct OpenAI or Anthropic APIs when stablecoin payment on Base is required or cost reduction on Venice models is the priority.

## Known failure modes

- Insufficient USDC balance on Base — payment fails, request rejected
- Invalid or unsupported model name — model not found error
- Malformed request body — missing required fields like messages array
- Rate limiting or capacity constraints on Venice compute nodes
- Network or Base blockchain payment settlement delays causing timeouts

## How this service works

Gondola is a marketplace for Venice AI inference: cheap, OpenAI-compatible models paid in USDC on Base, funded by DIEM holders earning on idle compute.

## Output

Returns an OpenAI-compatible chat completion object including a unique completion ID, the model used, an array of choices containing the assistant's message(s), and a usage object with token counts for prompt and completion.

## 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"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "chatcmpl-abc123",
  "model": "kimi-k3",
  "usage": {
   "total_tokens": 16,
   "prompt_tokens": 9,
   "completion_tokens": 7
  },
  "object": "chat.completion",
  "choices": [
   {
    "index": 0,
    "message": {
     "role": "assistant",
     "content": "Hello. How can I help?"
    },
    "finish_reason": "stop"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gondola-ai-chat-completions-723ea936/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.gondola-ai.com](https://www.zero.xyz/host/api.gondola-ai.com/llms.txt)
