Skip to content

Service Providers

WARNING

The Provider program is currently invite-only. If you're interested in running an inference node, please reach out to us at info@lightspark.com.

Keys

To become an provider, you need to generate a private/public key pair.

bash
openssl genpkey -algorithm ED25519 -out private.pem
openssl pkey -in private.pem -text -noout | grep 'priv:' -A3 | tail -n +2 | tr -d '[:space:]:' | tr -d '\n'

This will output a 64 character hexadecimal string. Keep it somewhere safe - this is how your node will prove its identity to the network. To get the public key, run:

bash
openssl pkey -in private.pem -pubout -outform DER | tail -c +13 | xxd -p -c 32

When joining the network, your node broadcasts the following information:

json
{
    "public_key": "...",
    "name": "My Node (optional)",
    "website": "https://my-node.com (optional)",
}

When processing requests, your node will sign all requests with your private key to ensure that no one can impersonate you. This is automatically handled by our SDK if you use it to deploy your node.

As your node(s) process requests, the reputation score associated with your public key will be updated based on your performance, both in terms of speed and quality.

Wallets

Spark is a non-custodial wallet which enables you to send and receive money on the Lightning Network. Your Spark wallet will enable you to receive payments from users and then withdraw those funds to your bank account using services such as UMA, Coinbase, or CashApp.

To generate a Spark wallet, you can use the following script:

javascript
import { WalletSDK } from "wallet-sdk";

const sparkWallet = new WalletSDK("MAINNET");
const mnemonic = sparkWallet.generateMnemonic();
console.log("Mnemonic:", mnemonic);

This will output a 12 word mnemonic which can be used to initialize your Spark wallet. Keep this mnemonic somewhere safe - anyone who has access to it can send or withdraw funds. This is automatically managed by our SDK if you use it to deploy your node.

WARNING

Currently, we exclusively support Spark wallet integration. However, we actively welcome community contributions to expand support for additional Lightning Network wallets.

Models

The Inference Grid supports a wide range of models, from language models to vision models. You can serve any model you want, but if you're not sure which model to run, we recommend running one of the following models since they are popular and in high demand.

ModelMinimum SpecsDescription
pixtral-12b40GB GPUVision+language model.
llama-3.2-11b-vision-instruct40GB GPUVision+language model.
dolphin-mixtral-8x7b30GB GPULanguage model. Uncensored.
pixtral-large-2411300GB GPUVision+language model.
llama-3.2-90b-vision-instruct300GB GPUVision+language model.

Note that you are responsible for complying with the appropriate licenses for the models you choose to serve.