
by thirdweb
thirdweb AI is an OpenAI-compatible chat API built for blockchains: it can query onchain data, analyze transactions, and prepare or execute swaps, transfers and contract calls. It is for web3 developers building AI agents and assistants.
APIFreemium
Step 1: Create a thirdweb project and copy its secret key (backend) or client ID (frontend).
Step 2: Send a POST request to https://api.thirdweb.com/ai/chat with your messages and the x-secret-key header.
Step 3: Add context such as chain_ids and the user's wallet address.
Step 4: Read the returned actions, such as sign_transaction, and have the user or a backend wallet execute them.
Step 5: Optionally use the OpenAI SDK, Vercel AI SDK or thirdweb MCP server instead of raw HTTP.
It supports reading and writing on any supported EVM chain.
128k tokens, or roughly 96,000 words depending on the language.
Agents can execute autonomously or supervised, using client wallets or provisioned backend wallets with session keys.
Yes. The API provides an OpenAI-compatible chat completion interface, so you can use any OpenAI-compatible client library or the Vercel AI SDK.
ChainGPTChainGPT is a suite of AI tools for crypto and blockchain, including a Web3 chatbot, a smart contract generator and auditor, an AI NFT generator and an AI news feed. Developers can use the same tools through an API and SDK.
AgentKitToolkit for giving AI agents wallets and blockchain actions.
machine0machine0 provides persistent cloud virtual machines built for AI agents, managed through a CLI with JSON output or a remote MCP server. VMs are billed by the minute and can be suspended and resumed.