Federated inference network. Idle hardware earns compute credits. The khettara for AI power.
Go to file
2026-02-25 00:53:35 +00:00
ix_relay.py Initial commit 2026-02-25 00:53:34 +00:00
LICENSE Initial commit 2026-02-25 00:53:34 +00:00
README.md Initial commit 2026-02-25 00:53:33 +00:00
requirements.txt Initial commit 2026-02-25 00:53:35 +00:00

IX Relay

Part of the Inference-X Ecosystem

License: BSL-1.1

Federated inference network. Your idle hardware earns you compute credits.

IX Relay is the khettara for AI power: ancient Moroccan underground canals that deliver water using only gravity. IX Relay delivers inference using idle community compute.

Your GPU sits idle at night
  → IX Relay runs community inference jobs
  → You earn compute credits
  → Use credits when you need heavy inference

Deploy

pip install fastapi uvicorn
python ix_relay.py
# → API at http://localhost:7938

API

POST /register-node     — Register your IX instance as a node
GET  /nodes             — List active relay nodes
POST /create-account    — Create account (10 free credits)
GET  /credits/{id}      — Check credit balance
GET  /health            — Service status

How Credits Work

  • Each inference job costs 0.11.0 credits depending on model size
  • Each inference job completed earns the node 0.11.0 credits
  • New accounts start with 10 free credits

Philosophy

The khettara: built by many, maintained by many, flowing to anyone who needs it.

Built in Morocco for the world. 🇲🇦

License

Business Source License 1.1 Author: Salka Elmadani