Subscription plans & what they include#
This page explains how Rayu bills you, what each plan unlocks, and where to see your live numbers. Plans, prices, and rates can change over time, so treat the tables here as a guide and check your account (see Checking your plan & balance) for what applies to you today.
Two ways to use Rayu#
You can run Rayu in two modes, in either the CLI or the VS Code extension:
| Rayu account (hosted) | Bring your own key (BYOK) | |
|---|---|---|
| What it is | Sign in with a Rayu account (/login). Model requests go to a curated set of models hosted by Rayu. | You connect your own provider API keys (/connect). Requests go straight from your machine to the provider. |
| Billing | In credits, drawn from your plan's monthly allowance (plus an optional pay-as-you-go wallet). BYOK traffic is not metered by Rayu — you pay your provider. | Nothing to Rayu. |
| Works on | Any plan; hosted models start at Basic. | Every plan, including Free — Free is BYOK-first. |
| Extras | Daily-turn caps don't apply on paid plans; features like Telegram, Orchestrator mode, and image/video generation unlock with the plan. | The full tool set of the agent itself (files, shell, MCP, skills) is yours on every plan. |
You can switch between the two at any time with /model — nothing about your
account prevents you from using your own keys.
Plan comparison#
| Plan | Price | Credits per month | Daily turns | Pacing: weekly budget | Pacing: per 5-hour window | Top-ups |
|---|---|---|---|---|---|---|
| Free | $0 | none (BYOK only) | 50 turns/day | not applicable | not applicable | no |
| Basic | $3/mo | 15,000 | unlimited | 3,750 | 5% of the weekly budget | yes |
| Pro | $10/mo | 50,000 | unlimited | 12,500 | 5% of the weekly budget | yes |
| Plus | $20/mo | 115,000 | unlimited | 28,750 | 5% of the weekly budget | yes |
| Max | $50/mo | 300,000 | unlimited | 75,000 | 5% of the weekly budget | yes |
| Enterprise | coming soon — contact sales | negotiated | none | per contract | per contract | per contract |
How to read the pacing columns:
- Your monthly allowance is not usable all at once. Rayu also applies a rolling weekly budget and a per-5-hour-session cap (5% of the weekly budget — e.g. Pro releases at most ~625 credits per 5-hour window from a 12,500 weekly budget). When a window is exhausted, requests wait until it frees; your credits are not lost.
- Free's limit is different in kind: a 50-turn-per-day cap that applies to hosted turns (your BYOK requests never count toward it), and no hosted models at all.
- Concurrency (how many requests stream at once) and the session-window length (default 300 minutes) are service-wide settings, not per-plan numbers.
Feature access by plan#
Rayu unlocks a number of features with your plan. Current defaults:
| Gated feature | What it is | Free | Basic | Pro | Plus | Max |
|---|---|---|---|---|---|---|
| Telegram bot | Drive sessions from Telegram | off | on | on | on | on |
| Orchestrator mode | Multi-agent delegation | off | on | on | on | on |
| Delegated-worker model override | Model choice for delegated background workers | off | on | on | on | on |
| Model per subagent | Route subagents to a different model/provider | off | on | on | on | on |
| Image generation | Native image tool | off* | on | on | on | on |
| Video generation | Native video tool | off* | on | on | on | on |
| Multiple API keys | Several keys per provider with failover | off | on | on | on | on |
| API access | Programmatic keys for hosted models (OpenAI- and Anthropic-compatible) | off | off | on | on | on |
| OCR (document scanning) | Scan documents with a hosted model | off | on | on | on | on |
| Audio (STT / TTS) | Speech-to-text and text-to-speech with a hosted model | off | on | on | on | on |
Notes:
- * Image and video can also be paid for from a funded pay-as-you-go balance even when your plan does not grant them — so you can pay per use without subscribing, where top-ups are available. Every other gated feature needs the plan.
- Basic deliberately keeps API access off (every other feature is on with Basic).
- Enterprise (coming soon) turns all features on with negotiated limits.
- Gating is soft in the UI (a locked feature shows you an "upgrade required" note instead of disappearing) but enforced for anything that runs on Rayu's hosted models.
Hosted models and example credit rates#
With a Rayu account on Basic, Pro, Plus, or Max, you get the hosted model catalog — the models Rayu hosts for you, billed in credits. The Free plan has no hosted models (BYOK only).
Credit cost is computed per token bucket:
credits = (input·rIn + output·rOut + cacheRead·rRead + cacheWrite·rWrite) / 1,000,000
where each r is that model's credits-per-1M rate. See
How token credits are charged for the full
mechanics.
Every model below is available on Basic and above. Rates are in credits per 1M tokens:
| Model (code) | Input | Output | Cache read | Cache write | Context |
|---|---|---|---|---|---|
DeepSeek V4 Flash (deepseek-v4-flash) | 330 | 330 | 33 | 330 | 1M |
DeepSeek V4 Pro (deepseek-v4-pro) | 1,000 | 1,000 | 100 | 1,000 | 1M |
LongCat 2.0 (longcat-2) | 500 | 2,000 | 10 | 500 | 1M |
GLM-5.2 (Ollama Cloud) (glm-5.2) | 2,500 | 2,500 | 250 | 2,500 | 1M |
Kimi K2.7 Code (Ollama Cloud) (kimi-k2.7) | 2,500 | 2,500 | 250 | 2,500 | 256K |
MiniMax M3 (Ollama Cloud) (minimax-m3) | 2,500 | 2,500 | 250 | 2,500 | 128K |
Llama 4 (Ollama Cloud) (llama-4) | 1,000 | 1,000 | 100 | 1,000 | 128K |
GPT-OSS 120B (Ollama Cloud) (gpt-oss-120b) | 750 | 750 | 75 | 750 | 128K |
Qwen3.5 397B (Ollama Cloud) (qwen3.5-397b) | 750 | 750 | 75 | 750 | 256K |
Qwen3.5 122B (Ollama Cloud) (qwen3.5-122b) | 750 | 750 | 75 | 750 | 256K |
A worked example: one Pro-plan turn on deepseek-v4-pro using 8,000 input +
2,000 output tokens with no caching costs
(8,000·1,000 + 2,000·1,000) / 1M = 10 credits. Cache hits are the big saver in
long sessions — on DeepSeek V4 Pro a cached input token costs a tenth of an
uncached one, and agentic loops hit cache for most of the prompt.
Note: these are current default rates. Plans, prices, model availability, and every rate can change. For live values check
/billingor/usagein the CLI/extension, or rayucode.com/plans.
Which providers exist per path#
| Path | Providers |
|---|---|
| Hosted (Rayu account) | The curated catalog above — models hosted by Rayu. The exact set follows what Rayu offers at the time. |
BYOK (/connect) | Any of the ~30 provider presets regardless of plan — Anthropic, OpenAI, NVIDIA, DeepSeek, Kimi, Gemini, Bedrock, Azure, Vertex, Copilot, Kiro, OpenRouter, Fireworks, Together, Cerebras, DeepInfra, HuggingFace, xAI, Groq, MiniMax, LongCat, local OpenAI-compatible servers, and custom endpoints. See Providers. |
A single session can mix them: main agent on a hosted model, a subagent on your own provider key (paid plans include per-subagent model routing).
Top-ups and pay-as-you-go#
Beyond your plan allowance, you can buy pay-as-you-go (PAYG) credits:
- In the terminal or the extension:
/topup [credits](alias/buy-credits) — shows the live price quote and a payment flow (card or QR). - In the dashboard: rayucode.com → billing.
- Top-up availability and the credit-per-dollar rate can change; if purchasing
is unavailable,
/topuptells you. The minimum top-up is $1. Paid plans (Basic and up) include top-up spending.
How money is spent, per request:
- Plan credits first. The current period's subscription allowance is drawn down to zero.
- Then your PAYG wallet. Whatever the plan could not cover comes from your permanent top-up balance. (This split happens within a single request, so the last few credits of a period are never wasted.)
- Then refusal. If neither balance covers the cost, the request is denied rather than silently over-billed — top up, wait for the window to free, or switch to BYOK.
Two important properties:
- The two balances never merge. Plan credits reset with your billing period; PAYG credits are permanent. They are tracked separately and drawn in the order above.
- Pacing still applies. The weekly and 5-hour windows gate the rate of hosted spending even when your balances are healthy; that is a pace, not a budget. See Credits & limits.
Checking your plan & balance#
| Command / page | What you see |
|---|---|
/login (and /logout) | Sign in or out of the Rayu account that carries your plan. |
/billing | Your current plan, and a link to upgrade on the web. |
/usage | Plan allowance plus hosted-model usage: what you have spent and what is left. |
/topup | Buy PAYG credits at the live rate. |
/stats | Your local session usage statistics and activity. |
/insights | A generated report analyzing your Rayu sessions. |
| Dashboard | rayucode.com — plan, invoices, credit balance, and plan changes in the browser. |
Billing commands require a Rayu account sign-in. Upgrades and downgrades (prorated) are handled on the dashboard; the plan change takes effect for the CLI and extension automatically — no reinstall.
See also#
- Credits & limits — pacing windows, concurrency, shortfall handling in detail
- How token credits are charged — the exact billing formula and precision
- VS Code Extension — the same account on the editor side
- API Keys & Credentials — programmatic access for hosted models