BlockRun

Intelligence Pricing

Pay only for what you use. Per-token chat is billed at provider cost — no platform margin.

Pricing Formula

Your cost = Provider cost          (per-token chat — no platform margin)
              + $0.001 / request     (flat x402 transaction fee)

Media generation and Live Search still carry a 5% platform margin, which covers:

  • x402 settlement infrastructure
  • Smart routing and reliability
  • No API key management
  • Instant on-chain payments

What $1 Gets You

ModelApproximate Usage
GPT-5.5~200K input tokens
DeepSeek V4 Flash Chat~7M input tokens
Gemini 3.5 Flash~635K input tokens
Image generation~10–65 images
Free tier (8 models — reasoning, coding, and vision)Unlimited (FREE)
Start with the free tier

The free tier costs $0 — 8 reasoning, coding, and vision models with no per-token charge. You still need a funded wallet for the x402 handshake, but these calls don't draw it down.

Full Price List

Cached input is the rate for prompt tokens the provider serves from its prompt cache — a repeated system prompt, a long conversation prefix. The provider decides what is a cache hit and reports it in the response usage (prompt_tokens_details.cached_tokens). A dash means the provider publishes no separate cached rate, so cached tokens bill at the input rate.

How the cached rate reaches an x402 payment depends on the scheme the client signs:

  • upto — the client signs a ceiling and is charged actual usage after the call. On DeepSeek models, cached tokens are charged at the cached rate; other models bill cached tokens at the input rate. Offered on DeepSeek and Anthropic models, and it needs no ETH (the USDC approval is a gasless signature).
  • exact — the client signs the price quoted before the call. Nobody knows about a cache hit yet, so the quote uses the full input rate.

OpenAI

ModelInput (per 1M)Output (per 1M)Cached input (per 1M)
GPT-6 Astra (flagship)$10.00$50.00$1.00
GPT-6.1 Sol$2.00$10.00$0.10
GPT-6 Sol$2.00$10.00$0.20
GPT-6 Luna$0.10$0.50$0.01
GPT-5.6 Sol$4.00$20.00$0.40
GPT-5.6 Sol Pro$4.00$20.00$0.40
GPT-5.6 Terra$2.00$12.00$0.20
GPT-5.6 Terra Pro$2.00$12.00$0.20
GPT-5.6 Luna$0.20$1.20$0.02
GPT-5.6 Luna Pro$0.20$1.20$0.02
GPT-5.5$5.00$30.00$0.50
GPT-5.5 Pro$30.00$180.00—
GPT-5.4$2.50$15.00$0.25
GPT-5.4 Pro$30.00$180.00—
GPT-5.2$1.75$14.00$0.175

Anthropic

ModelInput (per 1M)Output (per 1M)Cached input (per 1M)
Claude Fable 5.1 (most capable)$10.00$50.00$0.25
Claude Fable 5$10.00$50.00$1.00
Claude Opus 5.5 (flagship)$4.00$20.00$0.20
Claude Opus 5 (previous flagship)$5.00$25.00$0.50
Claude Opus 4.8$5.00$25.00$0.50
Claude Opus 4.7$5.00$25.00$0.50
Claude Opus 4.5$5.00$25.00$0.50
Claude Sonnet 5.5$2.00$10.00$0.20
Claude Sonnet 5$2.00$10.00$0.20
Claude Sonnet 4.6$3.00$15.00$0.30
Claude Haiku 4.5$1.00$5.00$0.10

Google

ModelInput (per 1M)Output (per 1M)Cached input (per 1M)
Gemini 3.1 Pro$2.00$12.00$0.20
Gemini 3.8 Flash$0.75$3.75$0.075
Gemini 3.6 Flash$0.75$3.75$0.075
Gemini 3.5 Flash$1.50$9.00$0.15
Gemini 3.5 Flash Lite$0.30$2.50$0.03

Gemini Pro models double the input rate and add 50% to the output rate above 200K prompt tokens (the whole request reprices), mirroring Google's official long-context pricing — e.g. Gemini 2.5 Pro is $2.50 in · $15.00 out above the threshold. Flash tiers are flat.

xAI Grok

ModelInput (per 1M)Output (per 1M)ContextCached input (per 1M)
Grok 4.7 (flagship)$2.00$6.00500K$0.50
Grok 4.6$2.00$6.00500K$0.50
Grok 4.5$2.00$6.00500K$0.30
Grok 4.3$1.25$2.501M$0.20
Grok Build 0.1$1.00$2.00256K$0.20

Grok doubles the per-token rates above 200K prompt tokens (the whole request reprices — e.g. Grok 4.7, 4.6 and 4.5 are $4.00 in · $12.00 out above the threshold), mirroring xAI's official long-context tier. Live Search adds one flat surcharge per call: $0.30 on Grok 4.5 / 4.6 / 4.7 / 4.20, $0.12 on Grok 4.3 and below.

Z.AI

ModelInput (per 1M)Output (per 1M)ContextCached input (per 1M)
GLM-5.3$1.40$4.401M$0.26
GLM-5.3 Flash$0.15$0.501M$0.03
GLM-5.2$1.40$4.401M$0.26
GLM-5.1$1.40$4.40200K$0.26
GLM-5$1.00$3.20200K$0.20
GLM-5 Turbo$1.20$4.00200K—

Moonshot

ModelInput (per 1M)Output (per 1M)ContextCached input (per 1M)
Kimi K3$3.00$15.001M$0.30

MiniMax

ModelInput (per 1M)Output (per 1M)Cached input (per 1M)
MiniMax M3$0.30$1.20—

Qwen

ModelInput (per 1M)Output (per 1M)Cached input (per 1M)
Qwen3.8 Max$2.00$6.00—
Qwen3.7 Max$1.48$4.43—
Qwen3.7 Plus$0.32$1.28—
Qwen3.7 Flash$0.03$0.13—

Tencent

ModelInput (per 1M)Output (per 1M)Cached input (per 1M)
Tencent Hy4 Preview$0.834$2.501—

Poolside

ModelInput (per 1M)Output (per 1M)Cached input (per 1M)
Laguna S 2.1$0.09$0.18—

Mistral

ModelInput (per 1M)Output (per 1M)Cached input (per 1M)
Mistral Large 4$0.68$2.09—

DeepSeek

ModelInput (per 1M)Output (per 1M)Cached input (per 1M)
DeepSeek V4 Flash Chat$0.14$0.28$0.028
DeepSeek V4 Flash Reasoner$0.14$0.28$0.028
DeepSeek V4 Flash Vision (image input)$0.30$1.20$0.006
DeepSeek V4 Pro$1.32$3.96$0.044

Free Tier (8 models)

The free tier is 8 reasoning, coding, and vision models with no per-token charge. The lineup is kept current by a self-healing health gate that routes around any model whose upstream is temporarily unavailable and auto-recovers it, so existing calls keep working. All free-tier models are FREE for both input and output — call GET /api/v1/models for the current live list.

Image Generation

ModelPrice per Image
GPT Image 1 (1024x1024)$0.02
GPT Image 1 (wide/tall)$0.04
ChatGPT Images 2.0 (1024x1024)$0.06
ChatGPT Images 2.0 (wide/tall)$0.12
Nano Banana$0.05
Nano Banana 2$0.09
Nano Banana Pro (up to 2048²)$0.10
Nano Banana Pro (4K)$0.15
Seedream 5.0 Pro (up to 2048x1024)$0.045
Seedream 5.0 Pro (2K and above)$0.09
CogView-4$0.015
Grok Imagine$0.02
Grok Imagine Pro$0.07

Other media: video from $0.05/sec, music $0.15/track, text-to-speech $0.05–$0.10 per 1k characters, sound effects $0.0535/generation.

Cost Comparison: BlockRun vs Direct

ProviderDirect PricingBlockRunDifference
OpenAI GPT-5.4$2.50/$15.00$2.50/$15.000% + $0.001/request
Anthropic Claude Opus 5.5$4.00/$20.00$4.00/$20.000% + $0.001/request
Anthropic Claude Sonnet 5.5$2.00/$10.00$2.00/$10.000% + $0.001/request
Anthropic Claude Sonnet 5$2.00/$10.00$2.00/$10.000% + $0.001/request
Anthropic Claude Sonnet 4.6$3.00/$15.00$3.00/$15.000% + $0.001/request
DeepSeek V4 Flash Chat$0.14/$0.28$0.14/$0.280% + $0.001/request

Chat is billed at the provider's list rate with no margin, plus a flat $0.001 transaction fee per request, and you get:

  • No API key management
  • No monthly invoices
  • No prepaid credits
  • One wallet for all providers
  • Instant per-request settlement

Budget Management

Session Budgets

from blockrun_llm import LLMClient

# Limit spending per session
client = LLMClient(max_session_cost=5.00)

Check Balance

balance = client.get_balance()
print(f"${balance} USDC remaining")

Track Spending

# Get usage stats
usage = client.get_spending()
print(f"Spent: ${usage['total_usd']}")
print(f"Requests: {usage['calls']}")

Cost Optimization Tips

0. Use ClawRouter for Automatic Savings

Save 84% on average with ClawRouter — it automatically routes each request to the cheapest model that can handle it.

/model blockrun/auto

ClawRouter does all the optimization below automatically.

1. Use Cheaper Models for Routine Tasks

# Expensive
response = client.chat("openai/gpt-5.5", "Summarize this text")

# ~36x cheaper, similar quality
response = client.chat("deepseek/deepseek-chat", "Summarize this text")

2. Use Flash Models for Speed

# For quick, simple tasks
response = client.chat("google/gemini-3.5-flash", prompt)

3. Match Model to Task

TaskRecommended ModelWhy
Bulk processingDeepSeekCheapest
Quick responsesGemini 3.5 FlashFast + cheap
Complex reasoningDeepSeek Reasoner, Claude Opus 5.5Best quality
Code generationGPT-5.4, Claude Sonnet 4.6Good balance
Real-time dataGrokWeb & news access

4. Optimize Prompts

Shorter prompts = fewer input tokens = lower cost.

What you don't pay

  • No subscriptions
  • No prepaid credits
  • No minimum top-up
  • No overage charges
  • No rate limit fees

The rates on this page are the providers' own published prices; chat tokens carry no margin — only the flat $0.001 transaction fee per request. Media generation and Live Search carry 5%.

Payment Details

  • Currency: USDC on Base or Solana
  • Settlement: Instant, on-chain
  • Verification: Basescan

What's next?