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 Solana. No API keys required — your wallet signature is your authentication. Built for AI agents.
Protocol: x402 v2 Payment: USDC (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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bridgenode_llm-0.1.3.tar.gz.
File metadata
- Download URL: bridgenode_llm-0.1.3.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f16fb28ad8fccc57e71a075c9583bfc7bf082653503cc7bf5c788078f4f0e03
|
|
| MD5 |
8795c76296817c3a3ff2fe9a314dea82
|
|
| BLAKE2b-256 |
a4d955d9d302b6b3bec7fe91347bb9e6fa323d082d95c867d9d71395247ae101
|
File details
Details for the file bridgenode_llm-0.1.3-py3-none-any.whl.
File metadata
- Download URL: bridgenode_llm-0.1.3-py3-none-any.whl
- Upload date:
- Size: 186.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d211cd08a31bb13f278ace67a7025a4617e82c87b3f6e6424cf443526c23539
|
|
| MD5 |
43731f47c33d2318001e7f1cdad0cf99
|
|
| BLAKE2b-256 |
7d8ba22fd7bbd80d706857f616c6bef670dad305ae16d47c59ba2131f94d76a1
|