BlockRun
x402 rails / Amazon Bedrock AgentCore Payments

How an AgentCore agent pays BlockRun for inference over x402

AgentCore Payments gives a Bedrock agent a wallet and spending limits; BlockRun is the sell side: the x402 endpoint the payment lands on and the model answer comes from.

How it works

Amazon Bedrock AgentCore Payments went GA on 2026-08-18 with BlockRun as a launch partner. AgentCore is the buy side: an agent gets a wallet, a budget and a policy. BlockRun is the sell side: the paid endpoint that answers a 402 with what the call costs, verifies the signed USDC authorization, serves the model call and settles on-chain.

AWS's launch post describes BlockRun as a routing and payment layer where agents pay per call over the x402 protocol, with SpreadX's Incarna paying for inference through BlockRun as the worked example. For a builder on AgentCore the integration is a base URL: the agent's payment tooling handles the 402 and BlockRun handles the rest.

Behind it is the BlockRun catalog: 78 chat models plus image, video, music and speech generation, search, market data and multi-chain RPC, priced per call. 6 open-weight models are free and need no wallet.

Setup

1. The endpoint an AgentCore agent pays

POST https://blockrun.ai/api/v1/chat/completions
# 402 → sign the USDC authorization with the agent's AgentCore wallet → retry with X-PAYMENT

Questions

Does BlockRun run inside AWS?
The agent runs on AgentCore; BlockRun is the external endpoint it pays. Settlement is on-chain in USDC, so both sides can verify it independently.
Which chains does the AgentCore integration settle on?
Base first; Solana and Arc are the other settlement chains BlockRun serves.

Two ways to run this

Get an API key

Sign in, get a key, and call the same endpoints with usage billed to your account. For teams that want one invoice instead of one wallet.

Get an API key 

Or let your agent pay per call, in USDC

No account, no API key. Three steps, and the last one is the request this page is about.

  1. 01
    Point your agent at BlockRun

    Install ClawRouter, or add the BlockRun MCP server to Claude Code, Cursor, Codex or OpenClaw. Any OpenAI-compatible client works too — change the base URL, nothing else.

    curl -fsSL https://blockrun.ai/ClawRouter-update | bash
  2. 02
    Fund a wallet with USDC

    Send USDC to a wallet on Base or Solana. There is no account to create and no API key to issue: the wallet is the account, and it pays per call.

  3. 03
    Use BlockRun from Amazon Bedrock AgentCore Payments

    The first call returns HTTP 402 with the exact price, your agent signs it, and the answer comes back. Payment settles on-chain; nothing is charged if the call fails.

    POST https://blockrun.ai/api/v1/chat/completions
    # 402 → sign the USDC authorization with the agent's AgentCore wallet → retry with X-PAYMENT