# GlianaAI Claude Opus 4.8 Text Generation

> GlianaAI Claude Opus 4.8 Text Generation is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.037632/call, status unknown (last checked 2026-09-13).

Runs pay-per-call LLM chat inference using Claude Opus 4.8 via an OpenAI-compatible API, billed per request in USDC with no signup required

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/claude-opus-4.8
- Price: $0.037632/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-opus-4-8-text-generation-61987876
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9ZiFGHeSmUwG-Uzp9H7jz

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-opus-4-8-text-generation-61987876
```

Example prompt: Use GlianaAI's Claude Opus 4.8 endpoint to answer this question for me — pay with USDC per call, no API key needed: 'Explain the trade-offs between transformer and state-space models for long-context tasks.'

## When to prefer this

Choose this endpoint when your agent needs high-quality Claude Opus-level text generation without committing to a subscription or managing API keys — especially useful for sporadic, agentic, or cost-sensitive workloads that benefit from per-call USDC billing via the x402 protocol

## Known failure modes

- Insufficient USDC balance or failed x402 payment — request rejected before inference
- Malformed or missing request body — HTTP 400 bad request
- Model temporarily unavailable — HTTP 503 or timeout
- Rate limiting if too many concurrent requests are made
- Invalid or unsupported body type causes deserialization failure

## How this service works

One endpoint for 90+ generative AI models, live market data, SEC filings and identity APIs — image, video, music, speech, LLM chat, crypto and FX rates, DEX liquidity, gas, US company fundamentals and insider trades, document OCR and face matching. Pay per request in USDC on Tempo, Base, Solana, Algorand or BNB Chain with no signup, or top up a prepaid balance in rupiah.

## Output

Returns a generated text completion from Claude Opus 4.8, formatted as an OpenAI-compatible chat response containing the assistant's message, likely with token usage metadata and a model identifier

## 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-opus-4.8",
  "output": {
   "url": "https://api.glianalabs.com/v1/media/<id>"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-claude-opus-4-8-text-generation-61987876/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)
