LLM inference for Web3 agents
LLM API Gateway for Web3 AI Agents
Build onchain analyst agents, DAO summarizers, Solidity coding workflows, and Telegram/Discord bots on one OpenAI-compatible LLM API. Router One handles model access, routing, budget caps, and request traces — with USDT/USDC top-ups for teams that run treasury on stablecoins. Your app owns the tools, chain data, and agent orchestration.
- Layer
- LLM inference gateway
- Agent controls
- Per-key budget caps and traces
- Data source
- Use your own indexer or data API
- Billing
- Stablecoin-friendly wallet top-ups
Build agents without managing model providers
Router One sits between your agent framework and upstream LLMs. It does not fetch external data or execute side-effects; it reasons over the data your app provides.
One endpoint for model choice
Call GPT, Claude, Gemini, and Grok from one OpenAI-compatible endpoint.
Fallback when providers degrade
A route that fails with a 429, a 5xx or a timeout can be retried on another route serving the same model; routes with a sustained upstream-error rate move to the back of the order.
Budget caps before autonomy
Set spending limits before an agent enters a retry loop or starts processing a large backlog.
Observability for agent runs
Trace model, request ID, tokens, status, recorded latency, and the wallet charge or plan quota used for each LLM request an agent sends that the gateway forwards to a model.
Agent use cases
Wallet and portfolio assistants
Explain wallet activity, summarize portfolio changes, and generate human-readable reports from indexed chain data.
Onchain analyst agents
Combine protocol metrics, token flows, governance events, and alerts into research summaries.
DAO governance summarizers
Summarize proposals, voting history, forum threads, Discord discussions, and treasury updates.
Smart contract review agents
Pair Claude Code or Codex CLI with Router One for Solidity review, test generation, and deployment checklists.
Telegram and Discord community bots
Answer product questions, explain docs, and summarize updates inside community channels.
Web3 product support agents
Answer questions about your protocol, app, or token while keeping usage, latency, and the wallet charge or plan quota used visible to the team.
Reference architecture
Use external data providers for any domain data your agent needs, and Router One for LLM reasoning over that data.
Data layer
Your data provider — for example, Moralis, The Graph, Dune, Alchemy, QuickNode, Etherscan for blockchain data, or your own indexer for any domain — supplies normalized context.
Agent layer
LangGraph, Inngest, Mastra, MCP tools, or your own service decides what to fetch and when to call the model.
LLM layer
Router One serves each prompt with the model you name (or, with model="auto", a model from a server-picked tier), applies per-key spend caps on wallet charges, and records a trace for each request the gateway forwards to a model.
Product layer
Telegram, Discord, dashboards, internal tools, or customer-facing apps receive the final response.
Agent call pattern
Fetch chain context with your preferred provider, then send the normalized context through Router One for analysis.
// 1. Fetch onchain data from your data provider
const walletSummary = await getWalletActivity(address);
// 2. Ask a model through Router One
const answer = await client.chat.completions.create({
model: "auto",
messages: [{ role: "user", content: summarize(walletSummary) }],
});
// 3. Return to Telegram, Discord, or your appFAQ
Does Router One fetch external data for agents?
No. Router One is the LLM gateway. Your data provider (Moralis, The Graph, Dune, Alchemy, QuickNode, Etherscan for blockchain data, or any other source for your domain) supplies the context; Router One reasons over it.
Does Router One execute side-effects like transactions or tool calls?
No. Router One returns model output. Your app or agent framework decides whether to execute tools, send transactions, or call other services.
Can each agent have a different budget?
Yes. Give each agent, bot, environment, or customer a separate API key and set maxSpend on that key.
Can I use Claude Code for Solidity through Router One?
Yes. Claude Code can point at Router One's Anthropic-compatible base URL, while Codex and OpenAI SDK clients use /v1.
Can I pay with stablecoins?
Yes. Router One supports USDT/USDC top-ups on supported networks for teams that prefer stablecoin billing.
Does Router One provide financial advice?
No. Router One is infrastructure. Your product is responsible for user-facing disclaimers and regulated workflows.
Related
Ship your Web3 agent on one LLM endpoint
Create an agent API key