You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@blockrun/opencode

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blockrun/opencode

BlockRun OpenCode Plugin - AI agent payments via x402 micropayments

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

@blockrun/opencode

OpenCode plugin for BlockRun AI agent payments via x402 micropayments.

Installation

Add to your opencode.json:

{
  "plugin": ["@blockrun/opencode"]
}

Features

  • 30+ LLM Models: GPT-5, Claude, Gemini, Grok, DeepSeek, and more
  • Image Generation: Nano Banana ($0.05/image), DALL-E 3, GPT Image
  • Auto-generated Wallet: No setup required - wallet created automatically
  • Pay-per-request: No API keys, no subscriptions

Tools

blockrun_chat

Call any LLM model with a simple prompt.

Model: openai/gpt-4o
Prompt: What is the capital of France?

blockrun_chat_messages

Multi-turn conversation with message history.

blockrun_image

Generate images from text prompts.

Prompt: A sunset over mountains
Model: google/nano-banana (default)

blockrun_balance

Check wallet address and get funding links.

blockrun_models

List available models with pricing.

blockrun_spending

View current session spending stats.

Pricing

ModelPrice
GPT-4o$0.0025/1K input, $0.01/1K output
Claude Sonnet$0.003/1K input, $0.015/1K output
DeepSeek$0.00014/1K input, $0.00028/1K output
Nano Banana$0.05/image

Wallet Setup

The plugin automatically creates a wallet on first use:

  • Wallet stored at ~/.blockrun/.session
  • Private key never leaves your machine
  • Fund with USDC on Base to start

Recommended: Start with $1-5 USDC on Base.

  • BlockRun
  • Documentation
  • GitHub

License

MIT

Keywords

opencode

FAQs

Package last updated on 22 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts