Skip to main content

BridgeNode SDK - Pay-per-request AI (LLM, Image, Video, Music, Voice) via x402 on Base and Solana

Project description

BridgeNode LLM SDK (Python)

bridgenode-llm is a Python SDK for BridgeNode: pay-per-request AI inference via x402 micropayments on Base and Solana. No API keys required — your wallet signature is your authentication. Built for AI agents.

Protocol: x402 v2 Payment: USDC (Base native / Solana SPL) Gasless: Solana fee sponsorship — agent needs 0 SOL


Supported Models (3)

Model Type Use case
deepseek-v4-flash Chat Default — fast, 1M context
groq-llama-3.3-70b Chat Eco tier — cheapest, fastest
deepseek-v4-pro Chat Premium — complex reasoning

Quick Start

from bridgenode_llm import LLMClient

client = LLMClient()  # Uses BRIDGENODE_WALLET_KEY env var
response = client.chat("deepseek-v4-flash", "Hello!")
# x402 handshake handled automatically

Installation

pip install bridgenode-llm

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bridgenode_llm-0.1.2.tar.gz (275.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bridgenode_llm-0.1.2-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file bridgenode_llm-0.1.2.tar.gz.

File metadata

  • Download URL: bridgenode_llm-0.1.2.tar.gz
  • Upload date:
  • Size: 275.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for bridgenode_llm-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c35888fd0af47410fd8ebcb04963ec352f7d9541523cbe2b31b6a8a226b4bbf4
MD5 11296bfa3cb8372e36ef910f04215d68
BLAKE2b-256 b4cac6ba0f3d7629d1f08583b52f2c4fb0e22755a97d1472c68f8a4938aa47be

See more details on using hashes here.

File details

Details for the file bridgenode_llm-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: bridgenode_llm-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for bridgenode_llm-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ebe23c08ff3fc0162e4eac1a7f733779e42f7e5078798fef29e96853d9e4788e
MD5 0e3537e01ecc40347b9fa0d3abd54192
BLAKE2b-256 e64ba18b585ef2eaf2e33c507e5355725afd6ec958dcf08c1778013b2a800397

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page