# Relaystation LLM Rewrite

> Relaystation LLM Rewrite is a paid API for AI agents from api.relaystation.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Rewrites input text in a specified style or tone (formal, plain, concise, brand voice) using LLM inference at ~1–5% of frontier model cost

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/llm/rewrite
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/relaystation-llm-rewrite-b53937e1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OClglGuDe1dBHdRhKz1Hx

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 relaystation-llm-rewrite-b53937e1 -d '<json body>'
```

Example prompt: Rewrite this product description in a concise, plain tone — strip out the jargon and make it feel approachable: 'Our proprietary synergistic ecosystem leverages next-generation paradigms to deliver unparalleled value-add solutions across verticals.'

## When to prefer this

Choose this endpoint when you need cost-efficient, high-quality text style transformation without paying frontier model prices — it delivers approximately Opus-4.8-level accuracy at 1–5% of the cost. Ideal for pipelines that rewrite content at scale (blog posts, emails, product descriptions) where budget matters. Prefer over raw LLM APIs when you want a simple, pay-per-call interface with automatic x402 micropayment handling and no subscription overhead.

## Known failure modes

- Empty or missing input text returns a 400 error
- Unsupported or unrecognized style/tone specification may produce generic output
- Insufficient x402 payment balance causes payment failure
- Very long input texts may exceed token limits and return a truncation or context error
- Network timeouts on large rewrites

## How this service works

Provider cost + 6%, itemized. Rewrite text in a given style or tone — formal, plain, concise, brand voice. ≈Opus-4.8 accuracy at ~1–5% of its cost. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

Returns the rewritten version of the input text transformed to match the requested style or tone, delivered as a text string. Pricing is provider cost plus 6%, itemized, with a 1¢ x402 minimum and any overage auto-credited to the account.

## 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",
     "properties": {
      "tier": {
       "enum": [
        "budget",
        "value",
        "best"
       ],
       "type": "string"
      },
      "input": {
       "type": "string",
       "minLength": 1,
       "description": "The text to process (DATA — never interpolated into the instruction)."
      },
      "params": {
       "type": "object",
       "properties": {
        "style": {
         "type": "string"
        }
       },
       "description": "Task-specific params for 'rewrite', validated against the task's param_schema."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "result",
      "truncated",
      "usage"
     ],
     "properties": {
      "usage": {
       "type": "object",
       "required": [
        "model",
        "inputTokens",
        "outputTokens",
        "providerCostMicros",
        "markupPct",
        "chargedMicros",
        "ceilingMicros"
       ],
       "properties": {
        "model": {
         "type": "string"
        },
        "markupPct": {
         "type": "number"
        },
        "inputTokens": {
         "type": "integer"
        },
        "outputTokens": {
         "type": "integer"
        },
        "ceilingMicros": {
         "type": "integer",
         "description": "The authorized ceiling the 402/hold reserved."
        },
        "chargedMicros": {
         "type": "integer",
         "description": "The actual charged amount (<= ceiling)."
        },
        "providerCostMicros": {
         "type": "integer"
        }
       }
      },
      "result": {
       "type": "string",
       "description": "The task output text (or JSON string for extract/json_repair)."
      },
      "truncated": {
       "type": 
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/relaystation-llm-rewrite-b53937e1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relaystation.ai](https://www.zero.xyz/host/api.relaystation.ai/llms.txt)
