← All tools

@askalf/dario

Popularity 65 Updated Development & Build

Use your Claude Pro/Max subscription in any tool — Cursor, Cline, Aider, the Agent SDK, your scripts — at subscription pricing, not per-token API bills. One local Anthropic + OpenAI-compatible endpoint.

npmauto-collected

Installation

npm
npm install -g @askalf/dario

Install with npm.

<div align="center"

dario

Your Claude Pro/Max subscription works in exactly one place: Claude Code.<br/dario makes it work everywhere — at subscription pricing, not per-token API bills.

<p <a href="https://www.npmjs.com/package/@askalf/dario"<img src="https://img.shields.io/npm/v/@askalf/dario?color=6f42c1&label=npm&logo=npm" alt="npm version"</a <a href="https://github.com/askalf/dario/releases"<img src="https://img.shields.io/github/v/release/askalf/dario?color=6f42c1&label=release&logo=github" alt="Latest release"</a <a href="https://github.com/askalf/dario/actions/workflows/ci.yml"<img src="https://github.com/askalf/dario/actions/workflows/ci.yml/badge.svg" alt="CI"</a <a href="https://github.com/askalf/dario/actions/workflows/codeql.yml"<img src="https://github.com/askalf/dario/actions/workflows/codeql.yml/badge.svg" alt="CodeQL"</a <a href="https://scorecard.dev/viewer/?uri=github.com/askalf/dario"<img src="https://api.scorecard.dev/projects/github.com/askalf/dario/badge" alt="OpenSSF Scorecard"</a <a href="https://www.bestpractices.dev/projects/13638"<img src="https://www.bestpractices.dev/projects/13638/badge" alt="OpenSSF Best Practices"</a <a href="https://github.com/askalf/dario/blob/master/LICENSE"<img src="https://img.shields.io/npm/l/@askalf/dario?color=6f42c1" alt="License"</a <a href="https://www.npmjs.com/package/@askalf/dario"<img src="https://img.shields.io/npm/dm/@askalf/dario?color=6f42c1" alt="Downloads"</a <a href="https://x.com/askalf"<img src="https://img.shields.io/badge/follow-@askalf-1da1f2?style=flat-square" alt="Follow on X"</a </p

<p<strongOne local endpoint. Every AI tool you own. The subscription you already pay for.</strong</p

<sub<codenpm i -g @askalf/dario</code · <strong0</strong runtime deps · <a href="https://www.npmjs.com/package/@askalf/dario"SLSA-attested</a every release · nothing phones home · ~22k lines you can read in a weekend · independent, unofficial, third-party (<a href="DISCLAIMER.md"DISCLAIMER.md</a)</sub

</div

---

## 🎉 dario v5.0 — one request path, one credential model v5 is a breaking simplification: two removals, zero feature pile-on. - 🏊 Pool-as-primitive. Every dario is now a pool. A plain dario login is a pool of one; add a second Claude seat and the same localhost:3456 load-balances across them by live headroom — no mode switch, no config flag. - 🧹 Shim mode removed. The deprecated shim transport is gone. Proxy mode rebuilds every request to Claude Code's wire shape and is strictly better for every client. Upgrading from v4? Solo dario login + dario proxy users: nothing to do. Full notes → MIGRATION.md · CHANGELOG

---

You're already paying $20, $100, or $200 a month for Claude. Then Cursor wants an API key. Aider wants an API key. Cline, Continue, Zed, your scripts — every one of them bills you again, per token, while the subscription you already bought sits idle in Claude Code.

dario is one local endpoint that routes all of them through the Claude subscription you already pay for. Point any Anthropic- or OpenAI-compatible tool at http://localhost:3456 and you're done. No per-tool config, no second bill.

# 1. Install
npm install -g @askalf/dario

# 2. Log in to your Claude subscription (Pro, Max 5x, or Max 20x)
dario login                 # or `dario login --manual` for SSH / headless

# 3. Start the local proxy
dario proxy                 # separate terminal or background

# 4. Point any Anthropic-compat tool at it
export ANTHROPIC_BASE_URL=http://localhost:3456
export ANTHROPIC_API_KEY=dario

That's the whole setup. Every tool that honors those env vars now runs on your subscription.

Works with: Claude Code, Cursor, Aider, Cline, Roo Code, Continue.dev, Zed, Windsurf, OpenHands, OpenClaw, Hermes, Codex CLI, the Claude Agent SDK, your own scripts.

Add other providers and reuse the same proxy:

dario backend add openai     --key=sk-proj-...
dario backend add groq       --key=gsk_...    --base-url=https://api.groq.com/openai/v1
dario backend add openrouter --key=sk-or-...  --base-url=https://openrouter.ai/api/v1
dario backend add local      --key=anything   --base-url=http://127.0.0.1:11434/v1

export OPENAI_BASE_URL=http://localhost:3456/v1
export OPENAI_API_KEY=dario

Force a specific backend with a model prefix: openai:gpt-4o, claude:opus, groq:llama-3.3-70b, local:qwen-coder. Prefer Docker? ghcr.io/askalf/dario:latest — multi-arch (amd64+arm64), published every release (guide). Something off? dario doctor prints one paste-ready health report.