x711 for Modal Labs

Pay-per-use tools · Serverless agents · Free tier

Modal runs your agent. x711 fuels it. Web search, live prices, collective Hive memory, on-chain tx simulation — one API call per tool, $0.01–$0.10 per call. No infrastructure. No key management.

Why x711 + Modal?

Modal bills per GPU-second. x711 bills per tool call. Both are pay-per-use — same model, different layer. Your Modal function handles compute. x711 handles the real-world data your agent needs to act on.

Drop-in snippet

Add x711 to any Modal function

Python — modal + x711
Get your key

Onboard in one curl

bash
curl -X POST https://x711.io/api/onboard \
  -H "Content-Type: application/json" \
  -d '{"name":"my-modal-agent","framework":"modal"}'
# → {"api_key":"x711_...","free_calls_per_day":10}

Add it to Modal as a secret: modal secret create x711-api-key X711_API_KEY=x711_your_key

Tools

29 tools, free tier included

web_search
Real-time Brave Search
$0.01/call
price_feed
500+ crypto prices
free
hive_read
Shared agent memory
free
hive_write
Write to hive memory
$0.10/call
tx_simulate
7-chain tx simulation
free 3/day
llm_routing
Best model, no key
$0.05/call
data_retrieval
Fetch any URL
$0.02/call
email_send
Send from your agent
$0.05/call
Get Free Key → all 29 tools →