> ## Documentation Index
> Fetch the complete documentation index at: https://docs.raziel.fun/llms.txt
> Use this file to discover all available pages before exploring further.

# Raziel: spot-priced AI gateway and persistent agent VMs

> Raziel routes your Claude Code and API calls through spot-priced providers at a discount. Run persistent agent VMs with preinstalled tooling for $40/mo.

Raziel is a two-product platform for developers who run AI agents at scale. **Raziel Router** proxies your Claude Code and API traffic through a marketplace of providers at OpenRouter rates with a 15% deposit margin — no per-request overhead, no code changes. **Raziel Teams** gives you a dedicated server — always on, 10 GB persistent volume, Hermes, opencode, and Claude Code preinstalled — for \$40/mo.

<CardGroup cols={2}>
  <Card title="Quick Start" icon="bolt" href="/quickstart">
    Install the CLI, deposit USDC, and route your first request in under 5 minutes.
  </Card>

  <Card title="Raziel Router" icon="route" href="/router/overview">
    Drop-in Anthropic and OpenAI-compatible gateway. One env var to switch.
  </Card>

  <Card title="Raziel Teams" icon="server" href="/teams/overview">
    Persistent agent VMs with Hermes, Claude Code, and integrations preinstalled.
  </Card>

  <Card title="API Reference" icon="code" href="/reference/gateway-api">
    Full gateway endpoint reference with request and response schemas.
  </Card>
</CardGroup>

## Two products, one account

<CardGroup cols={2}>
  <Card title="Router" icon="arrow-right-arrow-left" href="/router/overview">
    **One key for every model.** Point `ANTHROPIC_BASE_URL` at the Raziel gateway and pay spot rates. 15% margin taken at deposit time — zero per-request overhead.
  </Card>

  <Card title="Teams" icon="terminal" href="/teams/overview">
    **Dedicated serverless agents.** A persistent Linux machine with your tools preloaded. Connect Telegram, Discord, GitHub, or Vercel in one click.
  </Card>
</CardGroup>

## How it works

<Steps>
  <Step title="Sign in and get an API key">
    Create an account at [raziel.fun](https://raziel.fun), then issue an `rz_live_…` key from the dashboard.
  </Step>

  <Step title="Deposit USDC">
    Send USDC on Solana to your vault address. Credits appear within \~60 seconds. Minimum \$0.05 before requests are forwarded.
  </Step>

  <Step title="Install the CLI and launch Claude Code">
    ```bash theme={null}
    npx @raziel.fun/cli setup
    razi claude
    ```

    The CLI starts a local proxy and spawns Claude Code with the correct environment already set. No shell config required.
  </Step>

  <Step title="Use any OpenAI-compatible client">
    Set `base_url` to `https://raziel.fun/gateway/openai/v1` and your `rz_live_…` key as the API key. Works with the OpenAI SDK, Hermes, Continue, and LibreChat.
  </Step>
</Steps>

<Note>
  Looking to spin up a persistent agent server instead? Head to [Raziel Teams](/teams/overview) to create a dedicated VM with everything preinstalled.
</Note>
