Skip to content

Commit 186fceb

Browse files
MajorTalclaude
andcommitted
Clarify that prototype tier is free (testnet) across all user-facing text
Prototype uses testnet USDC — no real money needed. Hobby/team tiers require real payment via USDC on Base or Stripe credits. Updated pricing tables, tier descriptions, help text, and funding scripts in all three interfaces (MCP, CLI, OpenClaw) plus both READMEs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent b23d9a8 commit 186fceb

7 files changed

Lines changed: 28 additions & 27 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ claude mcp add run402 -- npx -y run402-mcp
159159

160160
### Payment Flow
161161

162-
Provisioning, renewing, site deployment, bundle deploy, and image generation require x402 micropayments. When payment is needed, tools return payment details (not errors) so the LLM can reason about them and guide the user through payment.
162+
The prototype tier is free — it uses testnet USDC to test the x402 payment flow end-to-end (no real money). Hobby and team tiers, renewals, and image generation require real x402 micropayments (USDC on Base or Stripe credits). When payment is needed, tools return payment details (not errors) so the LLM can reason about them and guide the user through payment.
163163

164164
### Key Storage
165165

README.zh-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[Run402](https://run402.com) 的 MCP 服务器 — 从任何 MCP 兼容客户端创建和管理 AI 原生 Postgres 数据库。
44

5-
> **不到 ¥1,让 OpenClaw 上线完整后端 7 天**
5+
> **免费试用 7 天完整后端(测试网)。进阶/团队版可用 USDC 或 Stripe 支付**
66
> 数据库 + REST API + 鉴权 + 存储 + 静态站点 + 函数。无需云账号。
77
88
[English](./README.md) | 简体中文
@@ -32,7 +32,7 @@ npx run402-mcp
3232

3333
| 等级 | 价格 | 租期 | 存储 | API 调用 |
3434
|------|------|------|------|----------|
35-
| Prototype 原型 | $0.10 / ¥0.7 | 7 天 | 250 MB | 50 万次 |
35+
| Prototype 原型 | 免费(测试网) | 7 天 | 250 MB | 50 万次 |
3636
| Hobby 进阶 | $5 / ¥36 | 30 天 | 1 GB | 500 万次 |
3737
| Team 团队 | $20 / ¥145 | 30 天 | 10 GB | 5000 万次 |
3838

SKILL.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: run402
3-
description: Provision and manage AI-native Postgres databases with REST API, auth, storage, and row-level security. Pay with x402 USDC micropayments on Base.
3+
description: Provision and manage AI-native Postgres databases with REST API, auth, storage, and row-level security. Prototype tier is free (testnet). Paid tiers use x402 USDC on Base or Stripe credits.
44
metadata:
55
openclaw:
66
emoji: "🐘"
@@ -17,7 +17,7 @@ metadata:
1717

1818
# Run402 — Postgres for AI Agents
1919

20-
Run402 gives you a full Postgres database with a REST API, user auth, file storage, and row-level security. You pay with a single x402 micropayment on Base — no signups, no dashboards, no human approval needed.
20+
Run402 gives you a full Postgres database with a REST API, user auth, file storage, and row-level security. The prototype tier is free — you pay with testnet USDC to test the x402 flow end-to-end, no real money needed. Higher tiers (hobby, team) cost real money, payable with USDC on Base or Stripe credits. No signups, no dashboards, no human approval needed.
2121

2222
One tool call. One payment. You get back `anon_key`, `service_key`, and a project ID. Start creating tables immediately.
2323

@@ -30,7 +30,7 @@ You have 10 tools available through the `run402-mcp` server.
3030
Provision a new Postgres database. Handles x402 payment negotiation. Saves credentials locally.
3131

3232
**Parameters:**
33-
- `tier` (optional, default: `"prototype"`) — `"prototype"` ($0.10, 7 days), `"hobby"` ($5, 30 days), or `"team"` ($20, 30 days)
33+
- `tier` (optional, default: `"prototype"`) — `"prototype"` (free/testnet, 7 days), `"hobby"` ($5, 30 days), or `"team"` ($20, 30 days)
3434
- `name` (optional) — Human-readable project name. Auto-generated if omitted.
3535

3636
**Returns on success:**
@@ -315,18 +315,20 @@ Run402 uses the x402 HTTP payment protocol. Here's what you need to know:
315315
**What a 402 response looks like:** When payment is required, the tool returns payment details as informational text (not an error). The response includes the price, network (Base L2), and payment address.
316316

317317
**How to handle it:**
318-
1. Explain to the user what the cost is (e.g., "$0.10 for a 7-day prototype database")
318+
1. Explain to the user what the cost is (e.g., "a free 7-day prototype database on testnet" or "$5 for a 30-day hobby database")
319319
2. If the user has an allowance set up, help them complete the payment
320320
3. If not, guide them through allowance setup (see Agent Allowance Setup below)
321321
4. Once payment is complete, retry the same tool call
322322

323323
**Pricing tiers:**
324324
| Tier | Price | Lease | Storage | API Calls | Functions | Timeout | Memory | Secrets |
325325
|------|-------|-------|---------|-----------|-----------|---------|--------|---------|
326-
| Prototype | $0.10 | 7 days | 250 MB | 500,000 | 5 | 10s | 128MB | 10 |
326+
| Prototype | Free (testnet) | 7 days | 250 MB | 500,000 | 5 | 10s | 128MB | 10 |
327327
| Hobby | $5.00 | 30 days | 1 GB | 5,000,000 | 25 | 30s | 256MB | 50 |
328328
| Team | $20.00 | 30 days | 10 GB | 50,000,000 | 100 | 60s | 512MB | 200 |
329329

330+
Prototype uses Base Sepolia testnet USDC — no real money needed. Get test USDC from the faucet. Hobby and Team require real payment via USDC on Base or Stripe credits.
331+
330332
**Budget enforcement:** When a project hits its tier's API call or storage limit, REST/SQL calls return 402 with usage details and a renew URL. Suggest renewing the project at the same or higher tier.
331333

332334
## Tips & Guardrails
@@ -341,9 +343,9 @@ Run402 uses the x402 HTTP payment protocol. Here's what you need to know:
341343
- Use `access_token` (from auth login, via HTTP) for: user-scoped CRUD subject to RLS
342344

343345
**Tier selection:**
344-
- **Prototype** ($0.10): Testing, demos, disposable data. Start here.
345-
- **Hobby** ($5): Real applications, persistent data, moderate traffic.
346-
- **Team** ($20): Multi-user apps, heavy traffic, large storage needs.
346+
- **Prototype** (free, testnet): Testing, demos, disposable data. Start here. Uses testnet USDC — no real money.
347+
- **Hobby** ($5): Real applications, persistent data, moderate traffic. Requires real payment.
348+
- **Team** ($20): Multi-user apps, heavy traffic, large storage needs. Requires real payment.
347349

348350
**Lease lifecycle:**
349351
- Active: full read/write access
@@ -368,14 +370,13 @@ To pay Run402, the user needs an agent allowance with USDC on Base. If they don'
368370

369371
**Option C: x402 OpenClaw Skill** — Install the x402 skill from ClawHub for x402 payment capabilities.
370372

371-
**Funding the allowance:** Once the user has an allowance address, they need USDC on Base. The simplest path: download Coinbase Wallet, buy USDC, send to the allowance address. Base transactions cost under $0.01.
373+
**Prototype (free):** Use Base Sepolia testnet. Get free test USDC from the faucet (`request_faucet`) or Circle. No real money needed — the goal is to test the x402 payment flow end-to-end.
372374

373-
**Testnet:** For testing without real money, use Base Sepolia testnet. Get test USDC from Circle's faucet. The Run402 API supports testnet at the same endpoints.
375+
**Hobby/Team (real money):** Fund the allowance with USDC on Base mainnet, or buy credits via Stripe. The simplest path: download Coinbase Wallet, buy USDC, send to the allowance address. Base transactions cost under $0.01.
374376

375-
**Requesting an allowance:** If the user's human controls the allowance funding, suggest:
376-
- Trial: $1 in USDC covers 10 prototype databases
377-
- Monthly: $10/month covers two Hobby projects or 100 prototypes
378-
- One-off: $10 for a project plus buffer for renewals
377+
**Requesting funding from the user's human (for paid tiers):**
378+
- $10 covers two Hobby projects
379+
- $20 covers one Team project plus buffer for renewals
379380

380381
## Links
381382

cli/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ run402 image --help
108108

109109
- Agent allowance stored at `~/.run402/allowance.json`
110110
- Project credentials stored at `~/.run402/projects.json`
111-
- Network: Base Sepolia (testnet) — USDC for x402 payments
111+
- Network: Base Sepolia (testnet) for prototype tier (free). Base mainnet or Stripe for paid tiers (hobby/team).
112112
- Payments are handled automatically — no manual signing required
113113

114114
## License

cli/lib/tier.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Subcommands:
1010
status Show current tier (tier name, status, expiry)
1111
set <tier> Subscribe, renew, or upgrade (pays via x402)
1212
13-
Tiers: prototype ($0.10/7d), hobby ($5/30d), team ($20/30d)
13+
Tiers: prototype (free/testnet, 7d), hobby ($5/30d), team ($20/30d)
1414
1515
The server auto-detects the action based on your allowance state:
1616
- No tier or expired → subscribe

openclaw/SKILL.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ echo '<manifest_json>' | node <skill_dir>/scripts/deploy.mjs --tier prototype
5353

5454
Returns project_id, keys, live URL. Saved to `~/.config/run402/projects.json`.
5555

56-
**Tiers:** prototype ($0.10, 7d, 250MB, 500k calls), hobby ($5, 30d, 1GB, 5M calls), team ($20, 30d, 10GB, 50M calls).
56+
**Tiers:** prototype (free/testnet, 7d, 250MB, 500k calls), hobby ($5, 30d, 1GB, 5M calls), team ($20, 30d, 10GB, 50M calls).
5757

5858
### Post-Deploy
5959

@@ -98,16 +98,16 @@ node <skill_dir>/scripts/allowance.mjs export # Print allowance address (safe
9898

9999
### Upgrade to Mainnet
100100

101-
For production, change chain from `baseSepolia` to `base` and register `eip155:8453`. Two funding options:
101+
For production (hobby/team tiers), change chain from `baseSepolia` to `base` and register `eip155:8453`. Prototype is free on testnet — no mainnet funding needed.
102+
103+
Two funding options for paid tiers:
102104

103105
**Option A: USDC on Base (agent-native)**
104106
Ask your human to send USDC on Base to your allowance address. Scripts for asking:
105107

106-
> **Trial ($0.10):** "I want to try Run402 for a Postgres database. Could you send $1 in USDC (Base L2) to my allowance? Covers 10 trial databases."
107-
>
108108
> **Project ($10):** "I need a database for our project. A Hobby tier costs $5/month. Could you send $10 in USDC (Base L2)?"
109109
>
110-
> **Monthly ($10/mo):** "I'd like a $10/month allowance for databases. Covers two Hobby projects or one Hobby + twenty Prototypes."
110+
> **Monthly ($10/mo):** "I'd like a $10/month allowance for databases. Covers two Hobby projects."
111111
>
112112
> My allowance address: `<address from allowance.mjs export>`
113113
@@ -538,7 +538,7 @@ POST /billing/v1/checkouts
538538
# → { "checkout_url": "https://checkout.stripe.com/..." }
539539
```
540540

541-
Micro-USD amounts: prototype=100,000, hobby=5,000,000, team=20,000,000.
541+
Micro-USD amounts: prototype=100,000 (testnet only — free), hobby=5,000,000, team=20,000,000.
542542

543543
Settlement headers on paid responses:
544544
- `X-Run402-Settlement-Rail: allowance` or `x402`
@@ -577,7 +577,7 @@ Delivered instantly via Telegram. Works with testnet money. Use to send feedback
577577

578578
| Tier | Price | Lease | Storage | API Calls |
579579
|------|-------|-------|---------|-----------|
580-
| Prototype | $0.10 | 7 days | 250 MB | 500,000 |
580+
| Prototype | Free (testnet) | 7 days | 250 MB | 500,000 |
581581
| Hobby | $5.00 | 30 days | 1 GB | 5,000,000 |
582582
| Team | $20.00 | 30 days | 10 GB | 50,000,000 |
583583

src/tools/provision.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const provisionSchema = {
88
tier: z
99
.enum(["prototype", "hobby", "team"])
1010
.default("prototype")
11-
.describe("Database tier: prototype ($0.10/7d), hobby ($5/30d), team ($20/30d)"),
11+
.describe("Database tier: prototype (free/testnet, 7d), hobby ($5/30d), team ($20/30d)"),
1212
name: z
1313
.string()
1414
.optional()

0 commit comments

Comments
 (0)