File size: 3,825 Bytes
2dee62e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
---
title: "Build with LoomLens"
description: "Embed cost intelligence in your AI product. Free to start. Developers earn 23–28% revenue share on every estimate."
layout: "loomlens/list"
---

## Embed Cost Intelligence in 10 Minutes

Free to embed. Developers earn **23–28% revenue share** on every estimate routed through their API key.

---

## Three Ways to Embed

### Widget — 10 Minutes

Copy and paste a few lines of HTML into your prompt input area. Your users see cost estimates before every run. No backend changes required.

```html
<div id="loomlens-widget"></div>
<script src="https://cdn.signalloomai.com/loomlens.js?api_key=YOUR_API_KEY"></script>
```

**What you get:**
- Pre-flight cost estimates across 24+ AI models
- Live savings display
- Model recommendation
- No server-side changes needed

---

### REST API — 1–4 Hours

For full control, call the LoomLens REST API from your backend.

**Base URL:** `https://api.signalloomai.com`

**Endpoint:** `POST /v1/estimate`

**Authentication:** Bearer token — your API key

**Request:**
```json
{
  "job_description": "Translate this customer email to French",
  "prompt_tokens": 250,
  "completion_tokens": 180,
  "complexity": "standard",
  "num_agents": 1,
  "estimated_runtime_minutes": 1
}
```

**Response:**
```json
{
  "estimates": [
    {
      "model": "gpt-4o",
      "estimated_cost": 0.045,
      "estimated_tokens": 430,
      "currency": "USD",
      "routing_tier": "recommended"
    },
    {
      "model": "gpt-4o-mini",
      "estimated_cost": 0.003,
      "estimated_tokens": 430,
      "currency": "USD",
      "routing_tier": "cheapest"
    }
  ],
  "savings_vs_default": 0.042,
  "savings_percent": 93
}
```

---

### SDK — 1 Day

Full SDKs for Node.js and Python. White-label ready. Full control over appearance and behavior.

```bash
npm install @signalloomai/sdk
```

```javascript
import { LoomLens } from '@signalloomai/sdk';

const loom = new LoomLens({ apiKey: 'YOUR_API_KEY' });

const result = await loom.estimate({
  promptTokens: 250,
  completionTokens: 180,
  complexity: 'standard',
  numAgents: 1,
  estimatedRuntimeMinutes: 1
});

console.log(result.savingsVsDefault); // e.g. 0.042
```

---

## Revenue Share

Every estimate and transcription routed through your API key earns you revenue share. No separate integration required.

| Tier | Monthly Volume | Rev-Share |
|---|---|---|
| **Loom Partner** | 10K+ estimates/mo | **23%** |
| **Loom Elite** | 100K+ estimates/mo | **28%** |

Revenue share applies to **both** LoomLens estimates **and** Signal Loom Transcription.

---

## Track Your Earnings

Check your API key performance at any time:

```
GET https://api.signalloomai.com/v1/analytics/loomlens/lookup?key_id=YOUR_KEY_ID
```

Response:
```json
{
  "found": true,
  "total_estimates": 1247,
  "total_savings_usd": 43.21,
  "average_savings_per_job": 0.035,
  "free_calls": 892,
  "paid_calls": 355,
  "top_model": "gpt-4o-mini"
}
```

---

## Get Your API Key

**Free to join. Revenue starts from day one.**

1. Sign up at [signalloomai.com](https://signalloomai.com)
2. Go to **Dashboard → API Keys**
3. Copy your key
4. Start embedding

No credit card required.

---

## Revenue Share FAQ

**Q: How is revenue share calculated?**
A: Every time a user makes an estimate through your API key, we track the savings they realized vs. picking the most expensive model. You earn a percentage of the estimated value routed.

**Q: When do I get paid?**
A: Monthly, via Stripe, when your balance exceeds the minimum payout threshold.

**Q: Does transcription count too?**
A: Yes. Transcription revenue counts toward your tier and your rev-share at the same rates.

**Q: What if I don't hit 10K estimates?**
A: You earn at the Loom Partner rate (23%) from day one. There's no minimum to start earning.