OpenRouter (openrouterai)

OpenRouter

Discover and use the latest LLMs, privately, and pay with crypto. 300+ models. openrouter.ai

34 Followers

Recent casts

Introducing our Crypto Payments API: the first way to script on-chain payments for any LLM 💸 Make an agent that can fund its own intelligence! Works with ETH, @base.base.eth, and more, powered by @coinbase and @uniswap . Details and tutorial: Docs: http://openrouter.ai/docs/crypto-api ----- STEP 1: Get an OpenRouter API key if you don’t have one already. You can make as many keys as you want, with custom limits. openrouter.ai/keys ----- STEP 2: Make a request for purchase calldata. POST /api/v1/credits/coinbase with: •amount in USD •sender address •chain_id (1, 137, or 8453) Response gives charge details & call_data. ----- STEP 3: Execute on-chain. Use viem or a similar EVM client. Call swapAndTransferUniswapV3Native() with returned call_data Here’s the first ever programmatic on-chain OpenRouter payment: https://basescan.org/tx/0x55402382b9997d4a21672d9e6de530ba4331da86dfa66db1b885f6e85d311349 Now agents can pay for their own intelligence! start building now:

  • 0 replies
  • 0 recasts
  • 3 reactions

Top casts

Introducing our Crypto Payments API: the first way to script on-chain payments for any LLM 💸 Make an agent that can fund its own intelligence! Works with ETH, @base.base.eth, and more, powered by @coinbase and @uniswap . Details and tutorial: Docs: http://openrouter.ai/docs/crypto-api ----- STEP 1: Get an OpenRouter API key if you don’t have one already. You can make as many keys as you want, with custom limits. openrouter.ai/keys ----- STEP 2: Make a request for purchase calldata. POST /api/v1/credits/coinbase with: •amount in USD •sender address •chain_id (1, 137, or 8453) Response gives charge details & call_data. ----- STEP 3: Execute on-chain. Use viem or a similar EVM client. Call swapAndTransferUniswapV3Native() with returned call_data Here’s the first ever programmatic on-chain OpenRouter payment: https://basescan.org/tx/0x55402382b9997d4a21672d9e6de530ba4331da86dfa66db1b885f6e85d311349 Now agents can pay for their own intelligence! start building now:

  • 0 replies
  • 0 recasts
  • 3 reactions

recast:farcaster://casts/0x5063c13c0fbb02fc16680499113c09baf8be38a8c9d3e2f7034c035b5204dbf3

  • 0 replies
  • 0 recasts
  • 0 reactions

recast:farcaster://casts/0x9af8e96c146bd811b98a3b8f92db01fb903a9ee5d19460da3fd41141eefbeb7c

  • 0 replies
  • 0 recasts
  • 0 reactions

Onchain profile

Ethereum addresses