# GlianaAI — Claude Sonnet 5 LLM Chat (Pay-Per-Call)

> GlianaAI — Claude Sonnet 5 LLM Chat (Pay-Per-Call) is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.02258/call, status unknown (last checked 2026-09-13).

Runs a single inference request against Anthropic's Claude Sonnet 5 model via GlianaAI's pay-per-call gateway, returning a generated text or media response.

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/claude-sonnet-5
- Price: $0.02258/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glianaai-claude-sonnet-5-llm-chat-pay-per-call-bed16bb6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nRDyHhOqoRLTMFT-D3aPC

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 glianaai-claude-sonnet-5-llm-chat-pay-per-call-bed16bb6
```

Example prompt: Send this prompt to Claude Sonnet 5 through GlianaAI and pay the per-call fee in USDC: 'Summarize the key differences between transformer and diffusion models in three bullet points.'

## When to prefer this

Choose this endpoint when you need to call Claude Sonnet 5 specifically without a long-term API subscription, want to pay per inference in USDC via the x402 protocol on Base or Solana, or are building a crypto-native agent that needs LLM capability without traditional account management. Prefer over direct Anthropic API when payment in stablecoin or rupiah top-up is required, or when aggregating multiple AI modalities under a single billing flow.

## Known failure modes

- Insufficient USDC balance or failed x402 payment — request rejected before inference
- Malformed GET request body or missing required 'input' fields — 400 validation error
- Model temporarily unavailable or upstream Anthropic outage — 503 or timeout
- Unsupported bodyType value — schema validation failure
- Rate limiting if too many concurrent requests from same payer

## How this service works

GlianaAI - pay-per-call AI: LLM chat (OpenAI-compatible), image, video, music, speech - 90+ models, no signup, USDC. This resource: claude-sonnet-5 (Text Generation). https://ai.glianalabs.com

## Output

Returns a JSON object containing the model identifier ('claude-sonnet-5') and an output field with either the generated text or a URL pointing to a hosted media artifact at api.glianalabs.com/v1/media/<id>.

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "claude-sonnet-5",
  "output": {
   "url": "https://api.glianalabs.com/v1/media/<id>"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-claude-sonnet-5-llm-chat-pay-per-call-bed16bb6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.glianalabs.com](https://www.zero.xyz/host/api.glianalabs.com/llms.txt)
