# SwogeAgentic Chat Completion

> SwogeAgentic Chat Completion is a paid API for AI agents from web-production-220a3.up.railway.app, paid per call via x402, $0.006642/call, status unknown (last checked 2026-10-18).

Routes a chat completion request to frontier AI models (Claude, GPT-6, Grok) without requiring an account or API key, paid per call via USDC on Base/Solana or Robinhood Chain

## Facts

- Endpoint: POST https://web-production-220a3.up.railway.app/agentic/call/chat_completion?utm_source=zero.xyz
- Price: $0.006642/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/swogeagentic-chat-completion-615e0ae7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PUcEy6cugVlMQXSe5yTxF

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 swogeagentic-chat-completion-615e0ae7 -d '<json body>'
```

Example prompt: Ask Claude Sonnet to write a concise summary of the following text using SwogeAgentic: 'Quantum computing uses quantum bits to perform calculations exponentially faster than classical computers for certain problem types.' Limit the response to 100 tokens.

## When to prefer this

Choose this endpoint when you need to call a frontier AI model (Claude, GPT-6, Grok) from an agent or workflow that lacks pre-existing API keys or accounts, and you want to pay per-call with stablecoins (USDC/USDG) on Base, Solana, or Robinhood Chain. Ideal for blockchain-native agents, permissionless pipelines, or situations where managing multiple AI provider subscriptions is impractical.

## Known failure modes

- Insufficient USDC/USDG balance to cover per-call fee
- Invalid model enum value returns validation error
- Messages array missing required role or content fields
- Upstream model provider outage causing timeout or 5xx error
- max_tokens set too low causing truncated or empty response
- Payment settlement failure on selected chain (Base, Solana, or Robinhood Chain)

## How this service works

Use this when you need an answer from a frontier AI model without an account or an API key: Claude (Opus, Fable, Sonnet, Haiku), GPT-6 or Grok, one call. Price: $0.005 in USDC on Base or Solana, or $0.02 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).

## Output

Returns a chat completion response from the selected frontier AI model (Claude Opus/Fable/Sonnet/Haiku, GPT-6 variants, or Grok-4 variants), structured as an assistant message containing the generated text reply to the provided messages array.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "arguments": {
   "type": "object",
   "required": [
    "messages"
   ],
   "properties": {
    "model": {
     "enum": [
      "opus-5-5",
      "fable-5-1",
      "sonnet-5",
      "haiku-4-5",
      "gpt-6-astra",
      "gpt-6-sol",
      "gpt-6-luna",
      "grok-4-7",
      "grok-4-20-reasoning",
      "grok-4-3",
      "venice-uncensored",
      "dolphin-venice",
      "deepseek-flash",
      "deepseek-v4-pro",
      "mistral-large"
     ],
     "type": "string"
    },
    "messages": {
     "type": "array",
     "items": {
      "type": "object",
      "required": [
       "role",
       "content"
      ],
      "properties": {
       "role": {
        "enum": [
         "system",
         "user",
         "assistant"
        ],
        "type": "string"
       },
       "content": {
        "type": "string"
       }
      }
     }
    },
    "max_tokens": {
     "type": "integer"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/swogeagentic-chat-completion-615e0ae7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from web-production-220a3.up.railway.app](https://www.zero.xyz/host/web-production-220a3.up.railway.app/llms.txt)
