ix-relay/README.md
2026-02-25 02:56:55 +00:00

45 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# IX Relay
*Part of the Inference-X Ecosystem*
[![License: BSL-1.1](https://img.shields.io/badge/License-BSL_1.1-orange.svg)](LICENSE)
**Federated inference network. Your idle hardware earns you compute credits.**
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
```bash
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
Built in Morocco for the world. 🇲🇦
## License
[Business Source License 1.1](LICENSE)
**Author:** Salka Elmadani