x402 · BSV

Inference, paid in Bitcoin.

Every model, billed in BSV.
No account to create, no API key to manage.

 

Quick start

Give your agent this prompt

It discovers the rest on its own.
prompt.md
Use gateway.bitplan.dev for AI inference.

Identity

Your wallet's public key is your account.

Pay as you go

Each call is priced up front, paid from your wallet or credits.

Price

List prices per million tokens, in BSV. Discounts with volume or your own key.

Works in the harness you already use

Claude Code›_CodexCursorOpenCodeClineGrok BuildGemini CLIWindsurfCopilot›_Zed

Why this gateway

What you get

Pay as you go

Pay per call from your wallet, or use credits.

Bring your own key

Use your own provider key and pay less per token.

Honest prices

Prices come straight from each provider's own catalog.

MCP and OpenAI API

One MCP server, or a familiar OpenAI-style API.

Playground

Try any model in the browser right away.

Many providers, one bill

Compare providers and pick the cheapest route.

Setup

Connect your tool

The plugin signs the token and pays each 402 from your wallet.

opencode.json
{  "$schema": "https://opencode.ai/config.json",  "plugin": ["opencode-plugin-bitplan"]}

Then: /connect → BitPlan Gateway → Connect BRC-100 wallet.

Or start from a template

›_
BitPlan Guide
Grok Bot · by Satchmo

A published Grok Bot template: encrypted plans, paid inference, wallet as account.

API

How to use it

Agents use the MCP server; people connect a wallet and use a token.

One URL that authenticates itself, with tools for models, chat, images and credits. It pays its own 402 when a call needs credits.

mcp.json
{  "mcpServers": {    "gateway": { "url": "https://mcp.bitplan.dev" }  }}

Models

Every model, one price list

Prices come straight from each provider's own catalog, in BSV, sats and USD per million tokens. Try any of them in the playground before you write a line of code.

Starred by default

anthropic/claude-fable-5.1openai/gpt-6-astragoogle/gemini-3.8-flashspacexai/grok-4.6deepseek/deepseek-v4.1-flashmoonshotai/kimi-k3meta/muse-spark-1.3alibaba/qwen3.8-maxmistral/mistral-large-3zai/glm-5.3minimax/minimax-m3openai/gpt-image-2.5-flare