İçeriğe geç
TakoAPI
Becerilere dön

lightningprox

unixlamadev-spec tarafından

Browser & Automation
481İndirme sayıları clawskills.sh tarafından bildirilir
0Görüntülenmeler
0 beğeniBu beceriyi beğenmek için giriş yapın
—Henüz değerlendirilmedi
Puanınız

Özet

Pay-per-request AI model access via Bitcoin Lightning using prepaid spend tokens.

Açıklama

Bu Beceri Ne Yapar

Pay-per-use AI gateway that routes requests to 19 models across Anthropic, OpenAI, Together.ai, Mistral, and Google via Bitcoin Lightning micropayments. Authentication works through a prepaid spend token or per-request Lightning invoice. No provider accounts or API keys required.

Eliminates the need to create accounts and manage separate billing with each AI provider.

Ne Zaman Kullanılır

  • Running AI inference without managing multiple provider API keys
  • Comparing the same prompt across Claude, GPT-4, and Gemini in one tool
  • Paying for one-off agent tasks with Bitcoin sats
  • Using Pixtral vision or Codestral code models without a Mistral account
  • Building autonomous agents that self-fund inference via Lightning payments

Örnek İş Akışı

GİRİŞ

User asks: send a prompt to claude-opus-4-5-20251101 using a spend token

AJAN
  1. 1

    Read LIGHTNINGPROX_SPEND_TOKEN from environment

  2. 2

    POST to lightningprox.com/v1/messages with model and message payload

  3. 3

    Set X-Spend-Token header for authentication

  4. 4

    Receive response and return model output

ÇIKIŞ

Claude's reply to the prompt, with cost deducted in satoshis from the prepaid token balance

Gereksinimler

  • LIGHTNINGPROX_SPEND_TOKEN environment variable (top up at lightningprox.com by paying a Bitcoin Lightning invoice)

Kurulum

clawhub install unixlamadev-spec/lightningprox

CLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.

Bağlantılar