@bivelio/savings-layer 0.4.19 → 0.4.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -9
- package/dist/gateway/bin.js +240 -204
- package/dist/index.d.ts +127 -4
- package/dist/index.js +550 -538
- package/docs/terminales/README.md +4 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -22,8 +22,11 @@ that don't have to happen, and trimming what does — so you pay for less. It is
|
|
|
22
22
|
promise you take on faith: **every saving is measured with the provider's official
|
|
23
23
|
meter, the same one on your bill**, and handed back to you request by request.
|
|
24
24
|
|
|
25
|
-
**We only earn when you save.**
|
|
26
|
-
|
|
25
|
+
**We only earn when you save.** Your first month carries no commission at all: we
|
|
26
|
+
measure everything and show you the statement of what it would have cost. After
|
|
27
|
+
that, the commission comes out of the **measured** saving only — never out of your
|
|
28
|
+
pocket, and never from estimates: a tiered rate from 10 % down to 4 % of what you
|
|
29
|
+
saved, so **you always keep at least 90 % of every euro saved**, and a month with no
|
|
27
30
|
saving is zero commission. And your prompts **never leave your infrastructure**:
|
|
28
31
|
BiVelio only ever sees counts and cost, never your content.
|
|
29
32
|
|
|
@@ -44,7 +47,7 @@ goes straight from your app to your provider; the SDK is never a middleman serve
|
|
|
44
47
|
## Where it installs
|
|
45
48
|
|
|
46
49
|
<p align="center">
|
|
47
|
-
<img src="https://savings.bivelio.com/en/how-it-works/opengraph-image" alt="Your application → BV-SALA → provider API.
|
|
50
|
+
<img src="https://savings.bivelio.com/en/how-it-works/opengraph-image" alt="Your application → BV-SALA → provider API. Traffic goes straight from your app to your provider; the layer runs inside your code." width="720">
|
|
48
51
|
</p>
|
|
49
52
|
|
|
50
53
|
Your application → **BV‑SALA** → provider API. Traffic always goes straight from
|
|
@@ -64,13 +67,20 @@ ships a local measuring gateway: `bvsala claude` (or `bvsala codex`, `bvsala
|
|
|
64
67
|
goose`, `bvsala qwen`) launches the terminal through it and your real spend
|
|
65
68
|
shows up in your dashboard, token by token — nothing to configure, nothing
|
|
66
69
|
persisted. For opencode, Crush, Droid, Cline or Kilo Code, `bvsala doctor`
|
|
67
|
-
prints the exact config block for each one you have installed.
|
|
68
|
-
|
|
70
|
+
prints the exact config block for each one you have installed. It measures every
|
|
71
|
+
request. With a PRO license it also applies one saving by default: it shortens the
|
|
72
|
+
cache-write TTL while your session stays hot, which changes the price, never the
|
|
73
|
+
content the model reads. The other levers (sibling model, per-turn effort) stay off
|
|
74
|
+
until you switch them on.
|
|
69
75
|
|
|
70
|
-
##
|
|
76
|
+
## Check it before you install
|
|
71
77
|
|
|
72
|
-
|
|
73
|
-
|
|
78
|
+
What you can check before paying is what we have measured: the published benchmark,
|
|
79
|
+
trial by trial, with the raw CSV linked, at
|
|
80
|
+
**[savings.bivelio.com/en/how-it-works](https://savings.bivelio.com/en/how-it-works)**,
|
|
81
|
+
and the commission calculator on the front page, which runs on the same price
|
|
82
|
+
catalogue that bills you. The verifier that replays the optimizer on your own data
|
|
83
|
+
lives in your dashboard once you sign in.
|
|
74
84
|
|
|
75
85
|
## Install in three steps
|
|
76
86
|
|
|
@@ -244,7 +254,8 @@ BVSALA_SEAT_ID=worker-03 # stable per replica; [A-Za-z0-9._:/-], max 128 chars
|
|
|
244
254
|
## Licensing & privacy
|
|
245
255
|
|
|
246
256
|
BV‑SALA is commercial, per‑seat software (**€4 / seat / month** or **€39 / seat /
|
|
247
|
-
year**, EUR).
|
|
257
|
+
year**, EUR; VAT not included). No free tier and no trial: what you can check before
|
|
258
|
+
paying is the published measurement. The license is a signed token your SDK verifies **offline**; the
|
|
248
259
|
managed control plane and the revocation kill‑switch are served from BiVelio. Your
|
|
249
260
|
LLM traffic goes **straight to your provider** — BiVelio sees counts and cost,
|
|
250
261
|
never prompts or completions.
|