@gabrielsmartin/orbit-sdk 0.1.2 → 0.2.2
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 +37 -21
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
npm install @gabrielsmartin/orbit-sdk
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
**Built by [Gabriel Martin](https://www.linkedin.com/in/gabrielsmartin) · [
|
|
11
|
+
**Built by [Gabriel Martin](https://www.linkedin.com/in/gabrielsmartin) · [orbitai.gtll.app](https://orbitai.gtll.app)**
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
@@ -114,29 +114,43 @@ Validated by **RouteLLM (UC Berkeley / ICLR 2025)**: intelligent routing achieve
|
|
|
114
114
|
|
|
115
115
|
---
|
|
116
116
|
|
|
117
|
-
## ⚡ Hosted API —
|
|
117
|
+
## ⚡ Hosted API — Live
|
|
118
118
|
|
|
119
119
|
The SDK routes decisions **client-side** — no API key, zero latency, works today.
|
|
120
120
|
|
|
121
|
-
|
|
121
|
+
**Live REST API** — free tier, no auth required:
|
|
122
122
|
|
|
123
|
-
|
|
124
|
-
-
|
|
125
|
-
-
|
|
126
|
-
-
|
|
127
|
-
|
|
128
|
-
|
|
123
|
+
```bash
|
|
124
|
+
curl -X POST https://orbit-sdk.base44.app/functions/orbitGateway \
|
|
125
|
+
-H "Content-Type: application/json" \
|
|
126
|
+
-d '{"query": "write a haiku about recursion"}'
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
Response includes `log_id` — pass it back with `feedback: 1|-1|0` on your next call to help train smarter routing:
|
|
130
|
+
|
|
131
|
+
```bash
|
|
132
|
+
curl -X POST https://orbit-sdk.base44.app/functions/orbitGateway \
|
|
133
|
+
-H "Content-Type: application/json" \
|
|
134
|
+
-d '{"query": "next query", "prev_log_id": "<log_id>", "feedback": 1}'
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
139
|
+
## Pricing
|
|
140
|
+
|
|
141
|
+
| Tier | Price | Queries | Features |
|
|
142
|
+
|------|-------|---------|----------|
|
|
143
|
+
| **Free** | $0/mo | 100/day | SDK + hosted API, routing decisions, cost estimates |
|
|
144
|
+
| **Pro** | $19/mo | Unlimited | Everything free + savings dashboard, feedback loop, priority routing |
|
|
145
|
+
| **Team** | $99/mo | Unlimited · 5 seats | Everything Pro + team analytics, routing policy editor, audit logs |
|
|
146
|
+
| **Enterprise** | Custom | Custom | Custom model matrix, private model support, SLA + **15% savings-share pricing** |
|
|
147
|
+
|
|
148
|
+
> 🔒 **BYOK (Bring Your Own Keys)** — ORBIT is a pure routing layer. Your API keys go directly to model providers. We never proxy, store, or touch your data. Enterprise-ready by design.
|
|
129
149
|
|
|
130
|
-
**
|
|
131
|
-
|
|
132
|
-
|------|-------|---------|
|
|
133
|
-
| Free | $0/mo | 100/day |
|
|
134
|
-
| Pro | $19/mo | Unlimited |
|
|
135
|
-
| Team | $99/mo | Unlimited · 5 seats |
|
|
136
|
-
| Enterprise | Custom | Custom + 15% savings-share |
|
|
150
|
+
**[View pricing →](https://orbitai.gtll.app/pricing)**
|
|
151
|
+
**[Join the waitlist →](https://orbitai.gtll.app/#waitlist)**
|
|
137
152
|
|
|
138
|
-
**
|
|
139
|
-
Early access gets Pro pricing locked at $9/mo. Access code: **777**
|
|
153
|
+
Early access: Pro locked at **$9/mo** with access code **`777`**
|
|
140
154
|
|
|
141
155
|
---
|
|
142
156
|
|
|
@@ -152,9 +166,11 @@ Early access gets Pro pricing locked at $9/mo. Access code: **777**
|
|
|
152
166
|
|
|
153
167
|
- [x] v0.1.0 — 8-axis fingerprinting + 6-model routing matrix
|
|
154
168
|
- [x] v0.1.1 — Hosted API architecture, waitlist, admin dashboard
|
|
155
|
-
- [
|
|
169
|
+
- [x] v0.2.0 — Live hosted API + rate limiting (100/day free, unlimited Pro) + OIDC CI/CD publishing
|
|
170
|
+
- [x] v0.2.1 — Phase 2 telemetry: every route decision logged to OrbitRouteLog for ML training
|
|
156
171
|
- [ ] v0.3.0 — Analytics dashboard + savings tracker
|
|
157
|
-
- [ ] v0.4.0 —
|
|
172
|
+
- [ ] v0.4.0 — Feedback-trained routing model (supervised learning on real usage data)
|
|
173
|
+
- [ ] v0.5.0 — Chrome extension
|
|
158
174
|
- [ ] v1.0.0 — Enterprise API + savings-share pricing model
|
|
159
175
|
|
|
160
176
|
---
|
|
@@ -163,4 +179,4 @@ Early access gets Pro pricing locked at $9/mo. Access code: **777**
|
|
|
163
179
|
|
|
164
180
|
MIT © [Gabriel Martin](https://www.linkedin.com/in/gabrielsmartin)
|
|
165
181
|
|
|
166
|
-
**[Live demo](https://
|
|
182
|
+
**[Live demo](https://orbitai.gtll.app) · [GitHub](https://github.com/gtllco/orbit) · [npm](https://www.npmjs.com/package/@gabrielsmartin/orbit-sdk) · [LinkedIn](https://www.linkedin.com/in/gabrielsmartin)**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gabrielsmartin/orbit-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Intelligent AI model routing. Drop-in replacement for OpenAI/Anthropic. Routes every query to the optimal model automatically.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -33,20 +33,21 @@
|
|
|
33
33
|
"claude",
|
|
34
34
|
"gemini-flash",
|
|
35
35
|
"grok",
|
|
36
|
-
"ai-infrastructure"
|
|
36
|
+
"ai-infrastructure",
|
|
37
|
+
"byok",
|
|
38
|
+
"enterprise-ai"
|
|
37
39
|
],
|
|
38
40
|
"author": "Gabriel Martin <gabriel@gtll.app>",
|
|
39
41
|
"license": "MIT",
|
|
40
42
|
"repository": {
|
|
41
43
|
"type": "git",
|
|
42
|
-
"url": "git+https://github.com/
|
|
43
|
-
"directory": "sdk"
|
|
44
|
+
"url": "git+https://github.com/gtllco/orbit.git"
|
|
44
45
|
},
|
|
45
|
-
"homepage": "https://
|
|
46
|
+
"homepage": "https://orbitai.gtll.app",
|
|
46
47
|
"bugs": {
|
|
47
|
-
"url": "https://github.com/
|
|
48
|
+
"url": "https://github.com/gtllco/orbit/issues"
|
|
48
49
|
},
|
|
49
50
|
"engines": {
|
|
50
51
|
"node": ">=16"
|
|
51
52
|
}
|
|
52
|
-
}
|
|
53
|
+
}
|