Claude Sonnet 4
anthropic/claude-sonnet-4
anthropic
Best balance of intelligence, speed, and cost
Code Examples
from blockrun_llm import LLMClient
client = LLMClient() # Uses BLOCKRUN_WALLET_KEY (never sent to server)
response = client.chat("anthropic/claude-sonnet-4", "Hello!")Pricing
Input$3.00 / 1M tokens
Output$15.00 / 1M tokens
Context200K tokens
Max Output64K tokens
5% markup on official anthropic API prices.
Payment
Network
Base
Currency
USDC
Protocol
x402
Pay per request with USDC on Base. No subscription required.
Try It
Send a message to try Claude Sonnet 4
Connect your wallet to enable payments