turbollm 0.7.2 → 1.0.0
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 +497 -463
- package/dist/cli.js +4637 -2047
- package/dist/webdist/assets/ChatScreen-CEMM3c4T.js +41 -0
- package/dist/webdist/assets/CustomizeScreen-QBH-lamm.js +4 -0
- package/dist/webdist/assets/DeveloperScreen-CUSmAT_L.js +1 -0
- package/dist/webdist/assets/EnginesScreen-CxVyQ04U.js +5 -0
- package/dist/webdist/assets/ModelDetailDialog-CtrZ6odT.js +1 -0
- package/dist/webdist/assets/ModelDirs-MIQRpOiQ.js +1 -0
- package/dist/webdist/assets/ModelsScreen-BuZH5fye.js +1 -0
- package/dist/webdist/assets/SettingsScreen-DpyvTxBO.js +1 -0
- package/dist/webdist/assets/alert-dialog-NJbgeueX.js +1 -0
- package/dist/webdist/assets/check-R4c79Xkn.js +1 -0
- package/dist/webdist/assets/circle-x-DoZx722k.js +1 -0
- package/dist/webdist/assets/common-BkuT8XJF.js +1 -0
- package/dist/webdist/assets/copy-button-CvYEyWud.js +1 -0
- package/dist/webdist/assets/external-link-CLr8NpF9.js +1 -0
- package/dist/webdist/assets/index-B3f5udGb.css +1 -0
- package/dist/webdist/assets/index-BhB9CGsv.js +10 -0
- package/dist/webdist/assets/pencil-Co_wjceA.js +1 -0
- package/dist/webdist/assets/personas-D9qR7c_5.js +43 -0
- package/dist/webdist/assets/plus-mxaaevXg.js +1 -0
- package/dist/webdist/assets/radix-RipaNCX7.js +51 -0
- package/dist/webdist/assets/save-d7rhw6iu.js +1 -0
- package/dist/webdist/assets/skeleton-D2X0KEDs.js +1 -0
- package/dist/webdist/assets/sparkles-B3j8q0hr.js +1 -0
- package/dist/webdist/assets/trash-2-Dm-i43d8.js +1 -0
- package/dist/webdist/assets/vendor-D_-14Whs.js +3 -0
- package/dist/webdist/index.html +4 -2
- package/package.json +62 -62
- package/dist/webdist/assets/index-B-GrbX4x.css +0 -1
- package/dist/webdist/assets/index-CbHny3S1.js +0 -149
package/README.md
CHANGED
|
@@ -1,463 +1,497 @@
|
|
|
1
|
-
<p align="center">
|
|
2
|
-
<img src="https://raw.githubusercontent.com/mohitsoni48/Turbo-LLM/main/turbollm/web/public/brand/turbollm-icon-512.jpeg?v=2" width="92" height="92" alt="TurboLLM" />
|
|
3
|
-
</p>
|
|
4
|
-
|
|
5
|
-
<h1 align="center">TurboLLM</h1>
|
|
6
|
-
|
|
7
|
-
<p align="center">
|
|
8
|
-
<strong>Run <em>any</em> local LLM engine, auto-tuned to your GPU — with a polished web UI
|
|
9
|
-
and an OpenAI/Anthropic-compatible API.</strong><br/>
|
|
10
|
-
Bring your own llama.cpp fork. No compiling. No Electron. No Python. Point Claude Code at
|
|
11
|
-
your own machine in one command — fully offline.
|
|
12
|
-
</p>
|
|
13
|
-
|
|
14
|
-
<p align="center">
|
|
15
|
-
<a href="https://www.npmjs.com/package/turbollm"><img src="https://img.shields.io/npm/v/turbollm.svg?color=e2552e" alt="npm version" /></a>
|
|
16
|
-
<a href="https://www.npmjs.com/package/turbollm"><img src="https://img.shields.io/npm/dm/turbollm.svg?color=e2552e" alt="npm downloads" /></a>
|
|
17
|
-
<img src="https://img.shields.io/badge/node-%E2%89%A522-3c873a.svg" alt="node >= 22" />
|
|
18
|
-
<img src="https://img.shields.io/badge/license-FSL--1.1--ALv2-blue.svg" alt="license" />
|
|
19
|
-
<img src="https://img.shields.io/badge/platform-Windows%20%C2%B7%20macOS%20%C2%B7%20Linux-555.svg" alt="platforms" />
|
|
20
|
-
</p>
|
|
21
|
-
|
|
22
|
-
<!-- Brand: shipped app icon web/public/brand/turbollm-icon-512.jpeg · high-res masters web/brand-assets/ (unshipped) · in-app mark web/src/components/Logo.tsx · favicon web/public/favicon.svg -->
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
npx turbollm
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
That one command starts a local daemon, opens a browser UI, and serves your models over an
|
|
29
|
-
API any tool can talk to. TurboLLM is the **performance & bleeding-edge layer for local
|
|
30
|
-
LLMs** — built for people who today hand-compile forks and hunt forums for the right flags.
|
|
31
|
-
|
|
32
|
-
<p align="center">
|
|
33
|
-
<img src="https://raw.githubusercontent.com/mohitsoni48/Turbo-LLM/main/assets/how-it-works.svg?v=2" width="860" alt="How TurboLLM works: clients -> one lightweight daemon -> any engine on your GPU" />
|
|
34
|
-
</p>
|
|
35
|
-
|
|
36
|
-
---
|
|
37
|
-
|
|
38
|
-
## Contents
|
|
39
|
-
|
|
40
|
-
- [Why TurboLLM](#why-turbollm)
|
|
41
|
-
- [Features](#features)
|
|
42
|
-
- [Quick start](#quick-start)
|
|
43
|
-
- [⭐ Bring any engine — the headline feature](#-bring-any-engine--the-headline-feature)
|
|
44
|
-
- [Models — bring your own, or browse Hugging Face](#models)
|
|
45
|
-
- [Auto-tuning & performance](#auto-tuning--performance)
|
|
46
|
-
- [Chat](#chat)
|
|
47
|
-
- [APIs & integrations](#apis--integrations)
|
|
48
|
-
- [Run Claude Code on your own GPU](#run-claude-code-on-your-own-gpu)
|
|
49
|
-
- [Use it from any device on your network](#use-it-from-any-device-on-your-network)
|
|
50
|
-
- [Share the GPU with ComfyUI](#share-the-gpu-with-comfyui)
|
|
51
|
-
- [Command-line reference](#command-line-reference)
|
|
52
|
-
- [Configuration & data](#configuration--data)
|
|
53
|
-
- [Requirements](#requirements)
|
|
54
|
-
- [Privacy](#privacy)
|
|
55
|
-
- [How TurboLLM compares](#how-turbollm-compares)
|
|
56
|
-
- [Troubleshooting](#troubleshooting)
|
|
57
|
-
- [Develop from source](#develop-from-source)
|
|
58
|
-
- [License](#license)
|
|
59
|
-
|
|
60
|
-
---
|
|
61
|
-
|
|
62
|
-
## Why TurboLLM
|
|
63
|
-
|
|
64
|
-
Local-LLM tools make two choices for you, and both cost you performance:
|
|
65
|
-
|
|
66
|
-
1. **They pick the engine.** LM Studio ships one blessed runtime; Ollama hides the engine
|
|
67
|
-
entirely. The fastest community innovations — new quant formats, speculative decoding,
|
|
68
|
-
low-bit KV cache — land in **forks** first, and you can't use them without compiling.
|
|
69
|
-
2. **They don't tell you what speed to expect**, and they don't tune the dozens of launch
|
|
70
|
-
flags (`-c`, `-ngl`, `--n-cpu-moe`, KV type, threads, flash-attn, draft models) that make
|
|
71
|
-
the difference between 20 and 80 tokens/sec on the *same* hardware.
|
|
72
|
-
|
|
73
|
-
TurboLLM does the opposite:
|
|
74
|
-
|
|
75
|
-
- **🔌 Any engine, including forks.** Point it at any `llama-server`-compatible binary — a
|
|
76
|
-
build you compiled, a community fork, or the one it auto-provisions for your GPU. It probes
|
|
77
|
-
the binary's real capabilities and adapts the UI to them. **This is the whole point.**
|
|
78
|
-
- **⚡ Auto-tuned to your hardware.** It benchmarks on load, derives fast defaults, and shows
|
|
79
|
-
a **VRAM-fit verdict before you load** — no more flag guessing.
|
|
80
|
-
- **📊 Real tokens/sec, never faked.** Speed in the model list is *measured on your machine*
|
|
81
|
-
from actual generation — live while you chat, and remembered per model.
|
|
82
|
-
- **🪶 Lightweight.** A ~0.3 MB npm package on Node — **no Electron, no bundled Chromium, no
|
|
83
|
-
Python**. It downloads only the engine your GPU actually needs (Vulkan ≈ 38 MB).
|
|
84
|
-
- **🔌 Drop-in APIs.** OpenAI **and** Anthropic-compatible — so Claude Code and every existing
|
|
85
|
-
tool work unchanged.
|
|
86
|
-
- **🔀 A gateway that loads models for you.** Name any model in your API request and TurboLLM
|
|
87
|
-
loads it on demand, keeping your favorites hot in a small pool — so an agent that hops between
|
|
88
|
-
models just works, with nothing to pre-wire.
|
|
89
|
-
- **🔒 Offline-first & private.** No account, no backend, no internet, **no telemetry.**
|
|
90
|
-
|
|
91
|
-
---
|
|
92
|
-
|
|
93
|
-
## Features
|
|
94
|
-
|
|
95
|
-
**Engines**
|
|
96
|
-
- Bring any `llama-server`-compatible engine — stock builds or community forks — with real capability probing
|
|
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
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
the
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
- **
|
|
219
|
-
|
|
220
|
-
- **
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
- **
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
- **
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
- **
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
---
|
|
378
|
-
|
|
379
|
-
##
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
**
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
|
402
|
-
|
|
403
|
-
|
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://raw.githubusercontent.com/mohitsoni48/Turbo-LLM/main/turbollm/web/public/brand/turbollm-icon-512.jpeg?v=2" width="92" height="92" alt="TurboLLM" />
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
<h1 align="center">TurboLLM</h1>
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
<strong>Run <em>any</em> local LLM engine, auto-tuned to your GPU — with a polished web UI
|
|
9
|
+
and an OpenAI/Anthropic-compatible API.</strong><br/>
|
|
10
|
+
Bring your own llama.cpp fork. No compiling. No Electron. No Python. Point Claude Code at
|
|
11
|
+
your own machine in one command — fully offline.
|
|
12
|
+
</p>
|
|
13
|
+
|
|
14
|
+
<p align="center">
|
|
15
|
+
<a href="https://www.npmjs.com/package/turbollm"><img src="https://img.shields.io/npm/v/turbollm.svg?color=e2552e" alt="npm version" /></a>
|
|
16
|
+
<a href="https://www.npmjs.com/package/turbollm"><img src="https://img.shields.io/npm/dm/turbollm.svg?color=e2552e" alt="npm downloads" /></a>
|
|
17
|
+
<img src="https://img.shields.io/badge/node-%E2%89%A522-3c873a.svg" alt="node >= 22" />
|
|
18
|
+
<img src="https://img.shields.io/badge/license-FSL--1.1--ALv2-blue.svg" alt="license" />
|
|
19
|
+
<img src="https://img.shields.io/badge/platform-Windows%20%C2%B7%20macOS%20%C2%B7%20Linux-555.svg" alt="platforms" />
|
|
20
|
+
</p>
|
|
21
|
+
|
|
22
|
+
<!-- Brand: shipped app icon web/public/brand/turbollm-icon-512.jpeg · high-res masters web/brand-assets/ (unshipped) · in-app mark web/src/components/Logo.tsx · favicon web/public/favicon.svg -->
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npx turbollm
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
That one command starts a local daemon, opens a browser UI, and serves your models over an
|
|
29
|
+
API any tool can talk to. TurboLLM is the **performance & bleeding-edge layer for local
|
|
30
|
+
LLMs** — built for people who today hand-compile forks and hunt forums for the right flags.
|
|
31
|
+
|
|
32
|
+
<p align="center">
|
|
33
|
+
<img src="https://raw.githubusercontent.com/mohitsoni48/Turbo-LLM/main/assets/how-it-works.svg?v=2" width="860" alt="How TurboLLM works: clients -> one lightweight daemon -> any engine on your GPU" />
|
|
34
|
+
</p>
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Contents
|
|
39
|
+
|
|
40
|
+
- [Why TurboLLM](#why-turbollm)
|
|
41
|
+
- [Features](#features)
|
|
42
|
+
- [Quick start](#quick-start)
|
|
43
|
+
- [⭐ Bring any engine — the headline feature](#-bring-any-engine--the-headline-feature)
|
|
44
|
+
- [Models — bring your own, or browse Hugging Face](#models)
|
|
45
|
+
- [Auto-tuning & performance](#auto-tuning--performance)
|
|
46
|
+
- [Chat](#chat)
|
|
47
|
+
- [APIs & integrations](#apis--integrations)
|
|
48
|
+
- [Run Claude Code on your own GPU](#run-claude-code-on-your-own-gpu)
|
|
49
|
+
- [Use it from any device on your network](#use-it-from-any-device-on-your-network)
|
|
50
|
+
- [Share the GPU with ComfyUI](#share-the-gpu-with-comfyui)
|
|
51
|
+
- [Command-line reference](#command-line-reference)
|
|
52
|
+
- [Configuration & data](#configuration--data)
|
|
53
|
+
- [Requirements](#requirements)
|
|
54
|
+
- [Privacy](#privacy)
|
|
55
|
+
- [How TurboLLM compares](#how-turbollm-compares)
|
|
56
|
+
- [Troubleshooting](#troubleshooting)
|
|
57
|
+
- [Develop from source](#develop-from-source)
|
|
58
|
+
- [License](#license)
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Why TurboLLM
|
|
63
|
+
|
|
64
|
+
Local-LLM tools make two choices for you, and both cost you performance:
|
|
65
|
+
|
|
66
|
+
1. **They pick the engine.** LM Studio ships one blessed runtime; Ollama hides the engine
|
|
67
|
+
entirely. The fastest community innovations — new quant formats, speculative decoding,
|
|
68
|
+
low-bit KV cache — land in **forks** first, and you can't use them without compiling.
|
|
69
|
+
2. **They don't tell you what speed to expect**, and they don't tune the dozens of launch
|
|
70
|
+
flags (`-c`, `-ngl`, `--n-cpu-moe`, KV type, threads, flash-attn, draft models) that make
|
|
71
|
+
the difference between 20 and 80 tokens/sec on the *same* hardware.
|
|
72
|
+
|
|
73
|
+
TurboLLM does the opposite:
|
|
74
|
+
|
|
75
|
+
- **🔌 Any engine, including forks.** Point it at any `llama-server`-compatible binary — a
|
|
76
|
+
build you compiled, a community fork, or the one it auto-provisions for your GPU. It probes
|
|
77
|
+
the binary's real capabilities and adapts the UI to them. **This is the whole point.**
|
|
78
|
+
- **⚡ Auto-tuned to your hardware.** It benchmarks on load, derives fast defaults, and shows
|
|
79
|
+
a **VRAM-fit verdict before you load** — no more flag guessing.
|
|
80
|
+
- **📊 Real tokens/sec, never faked.** Speed in the model list is *measured on your machine*
|
|
81
|
+
from actual generation — live while you chat, and remembered per model.
|
|
82
|
+
- **🪶 Lightweight.** A ~0.3 MB npm package on Node — **no Electron, no bundled Chromium, no
|
|
83
|
+
Python**. It downloads only the engine your GPU actually needs (Vulkan ≈ 38 MB).
|
|
84
|
+
- **🔌 Drop-in APIs.** OpenAI **and** Anthropic-compatible — so Claude Code and every existing
|
|
85
|
+
tool work unchanged.
|
|
86
|
+
- **🔀 A gateway that loads models for you.** Name any model in your API request and TurboLLM
|
|
87
|
+
loads it on demand, keeping your favorites hot in a small pool — so an agent that hops between
|
|
88
|
+
models just works, with nothing to pre-wire.
|
|
89
|
+
- **🔒 Offline-first & private.** No account, no backend, no internet, **no telemetry.**
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## Features
|
|
94
|
+
|
|
95
|
+
**Engines**
|
|
96
|
+
- Bring any `llama-server`-compatible engine — stock builds or community forks — with real capability probing
|
|
97
|
+
- **Hardware-aware recommendation** — detects your GPU and tells you which engine/build fits; engines that can't run here are greyed with the reason
|
|
98
|
+
- **Curated catalog** — llama.cpp, KoboldCpp, llamafile, MLX, vLLM, plus forks (ik_llama, TurboQuant) — one-click install where a prebuilt exists
|
|
99
|
+
- **Build-from-source guide** for source-only forks (prerequisite check + the exact commands), then add the binary via a guided folder scan
|
|
100
|
+
- **Honest updates** — checks the real upstream release/commit and flags *Update available* / *Rebuild available* (never a fake "you're on the latest"), with per-engine auto-update
|
|
101
|
+
- Auto-provision a GPU-matched `llama-server` build on first run (CUDA / ROCm / Metal / SYCL / Vulkan, CPU fallback)
|
|
102
|
+
- One engine dropdown, grouped — pick the engine; a version dropdown appears when you have more than one build
|
|
103
|
+
|
|
104
|
+
**Models**
|
|
105
|
+
- Use your own local GGUF / safetensors, or browse & download from Hugging Face in-app
|
|
106
|
+
- Per-model load profiles (context, GPU offload, KV-cache quant, flash-attn, draft models)
|
|
107
|
+
- **Configurable multi-GPU per model** — tensor split / main-GPU pick (llama.cpp), tensor-parallel (vLLM)
|
|
108
|
+
- Auto-tune on load with a **VRAM-fit verdict before you load**
|
|
109
|
+
- Measured tokens/sec per model — never faked — live while you chat and remembered
|
|
110
|
+
|
|
111
|
+
**Chat**
|
|
112
|
+
- Streaming chat with live t/s, TTFT, context meter, and reasoning/thinking support
|
|
113
|
+
- **Persona picker** (8 styles, including Research) + per-chat system prompt and full sampling controls
|
|
114
|
+
- **Inline Unicode charts** when a comparison or trend genuinely warrants a visual
|
|
115
|
+
- Image and document attachments — including **send an image or file with no text**
|
|
116
|
+
|
|
117
|
+
**Agentic tools**
|
|
118
|
+
- **Built-in tools** — `web_search` (Tavily, advanced depth), `fetch_url`, and sandboxed `run_code`
|
|
119
|
+
- **MCP server support** — connect any MCP server (stdio or SSE) from the Customize screen; tools appear automatically in every chat
|
|
120
|
+
- **Research persona** — forces multi-step web search before every reply, cites sources inline
|
|
121
|
+
- Agentic tool loop with live tool-call cards (pending → done/error) streamed in the UI
|
|
122
|
+
|
|
123
|
+
**Integrations**
|
|
124
|
+
- OpenAI- **and** Anthropic-compatible APIs — run Claude Code on your own GPU
|
|
125
|
+
- **Smart gateway** — name a model in any request and it auto-loads; keep up to 4 models hot (LRU)
|
|
126
|
+
- **Embeddings** (`/v1/embeddings`) and **structured output** (GBNF grammar / JSON-constrained)
|
|
127
|
+
- LAN sharing with optional API-key auth
|
|
128
|
+
- **Share the GPU with ComfyUI** — auto-unload the model while ComfyUI renders, reload when it's done
|
|
129
|
+
|
|
130
|
+
**Platform**
|
|
131
|
+
- ~0.3 MB npm package on Node — no Electron, no Chromium, no Python
|
|
132
|
+
- Offline-first, no account, no telemetry
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
## Quick start
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
# run without installing (recommended for first try)
|
|
140
|
+
npx turbollm
|
|
141
|
+
|
|
142
|
+
# or install globally
|
|
143
|
+
npm install -g turbollm
|
|
144
|
+
turbollm
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
**On first run** the daemon:
|
|
148
|
+
|
|
149
|
+
1. Detects your GPU and **downloads a matching `llama-server` build** (CUDA for NVIDIA, ROCm
|
|
150
|
+
for AMD, Metal for Apple, SYCL for Intel, Vulkan otherwise — with a CPU fallback).
|
|
151
|
+
2. Starts on <http://127.0.0.1:6996> and opens your browser.
|
|
152
|
+
3. Drops you on the **Chat** screen, ready to load a model.
|
|
153
|
+
|
|
154
|
+
Then open **Models**, download or pick a GGUF, click **Load**, and start chatting. Stop the
|
|
155
|
+
daemon any time with **Ctrl+C**.
|
|
156
|
+
|
|
157
|
+
<p align="center">
|
|
158
|
+
<img src="https://raw.githubusercontent.com/mohitsoni48/Turbo-LLM/main/assets/screenshots/engines.png" width="860" alt="TurboLLM Engines screen: hardware-aware recommendation, a unified engine catalog (llama.cpp, KoboldCpp, llamafile, vLLM, forks), and build-from-source" />
|
|
159
|
+
</p>
|
|
160
|
+
|
|
161
|
+
<!--
|
|
162
|
+
📸 More screenshots — drop PNGs into assets/screenshots/ and add. Suggested shots:
|
|
163
|
+
- chat.png : a chat mid-stream showing the live t/s + context meter
|
|
164
|
+
- models.png : the Models › Library with measured t/s per model
|
|
165
|
+
- tuning.png : the model load-params panel (ctx/ngl/NextN/VRAM verdict)
|
|
166
|
+
-->
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
## ⭐ Bring any engine — the headline feature
|
|
171
|
+
|
|
172
|
+
No other local-LLM app lets you run **whatever inference engine you want**. TurboLLM treats
|
|
173
|
+
the engine as a swappable component.
|
|
174
|
+
|
|
175
|
+
**Add a custom engine** (Engines screen → **Add engine**):
|
|
176
|
+
|
|
177
|
+
1. Compile or download any `llama-server`-compatible binary — stock
|
|
178
|
+
[llama.cpp](https://github.com/ggml-org/llama.cpp), a community fork, or your own build.
|
|
179
|
+
2. Point TurboLLM at the **folder** — it scans for the `llama-server` binary, runs a
|
|
180
|
+
**capability probe**, and learns exactly which flags and features that build supports.
|
|
181
|
+
*(Optional: paste the source repo URL so TurboLLM flags when a newer build ships.)*
|
|
182
|
+
3. Activate it. The load-parameter UI **adapts to that engine** — features the build doesn't
|
|
183
|
+
support are hidden; ones it adds (e.g. low-bit KV cache, NextN) light up.
|
|
184
|
+
|
|
185
|
+
No prebuilt for your OS? The **build-from-source guide** checks your toolchain (git / CMake /
|
|
186
|
+
CUDA / MSVC), hands you the exact build commands, then drops you into the folder scan above.
|
|
187
|
+
|
|
188
|
+
**Auto-provisioned default.** Don't want to fetch anything? On first run TurboLLM downloads
|
|
189
|
+
the right upstream prebuilt for your GPU automatically — and a **backend picker** lets you
|
|
190
|
+
switch between CUDA / ROCm / Metal / SYCL / Vulkan / CPU at any time (it downloads the variant
|
|
191
|
+
you choose, LM Studio-style).
|
|
192
|
+
|
|
193
|
+
**Engine types.** **llama.cpp / GGUF**, **KoboldCpp** and **llamafile** (GGUF, every OS),
|
|
194
|
+
**MLX** (macOS), and **vLLM** (Linux + NVIDIA) are all first-class engine kinds — install from
|
|
195
|
+
the curated catalog, pick the right one per model, and switch from a single dropdown.
|
|
196
|
+
|
|
197
|
+
**Fully supervised.** Every engine runs under a real state machine: health-gated readiness,
|
|
198
|
+
graceful stop, an **idle auto-stop** watchdog, and **live logs + clear error surfacing** in
|
|
199
|
+
the UI when something fails to load.
|
|
200
|
+
|
|
201
|
+
> Why it matters: fork-exclusive features — **speculative decoding (NextN / MTP / draft)**,
|
|
202
|
+
> low-bit KV cache, new quant formats — are usable on day 0, with **zero compiler knowledge**
|
|
203
|
+
> on your part beyond producing the binary (and often not even that).
|
|
204
|
+
|
|
205
|
+
---
|
|
206
|
+
|
|
207
|
+
## Models
|
|
208
|
+
|
|
209
|
+
- **Use the folders you already have.** Point TurboLLM at any directory of GGUFs — your
|
|
210
|
+
existing LM Studio / Ollama / manual downloads — **no re-downloading.** It parses GGUF
|
|
211
|
+
metadata (arch, params, quant, context, vision) for every file.
|
|
212
|
+
- **Browse & download from Hugging Face**, in-app: search, see the file tree, pick a quant,
|
|
213
|
+
and download with **resume + SHA-256 verification**. Gated models (Llama, Gemma) work via
|
|
214
|
+
your own HF token, which **never leaves your machine**.
|
|
215
|
+
- **Import from any URL** — not just Hugging Face. Paste a direct `.gguf` link (model-author
|
|
216
|
+
sites, mirrors, private servers); it disk-space-checks and downloads through the same
|
|
217
|
+
manager.
|
|
218
|
+
- **Quant recommendation per GPU** and a **VRAM-fit verdict** so you pick a quant that
|
|
219
|
+
actually fits before you commit.
|
|
220
|
+
- **Primary download folder**, real-time **measured t/s per model**, and **delete-from-disk**
|
|
221
|
+
— full library management.
|
|
222
|
+
|
|
223
|
+
---
|
|
224
|
+
|
|
225
|
+
## Auto-tuning & performance
|
|
226
|
+
|
|
227
|
+
- **Auto-benchmark on load** derives fast defaults for your exact GPU.
|
|
228
|
+
- **Real measured tokens/sec** in the model list — **live** while a model is generating,
|
|
229
|
+
**last-session** when it's idle (never a synthetic estimate).
|
|
230
|
+
- **Full load-parameter UI**, a superset of what other tools expose:
|
|
231
|
+
context length, GPU offload (`-ngl`), **MoE CPU-offload (`--n-cpu-moe`)**, parallel slots,
|
|
232
|
+
**KV-cache quant type** (incl. low-bit on supporting forks), CPU threads, flash attention,
|
|
233
|
+
and **speculative decoding (NextN / MTP / draft)**.
|
|
234
|
+
- **Fast by default:** flash attention on, NextN self-speculative decoding on for models that
|
|
235
|
+
carry a draft head, threads auto — best speed out of the box, safely gated to what your
|
|
236
|
+
engine actually accepts.
|
|
237
|
+
- **Multi-GPU, per model** — split a model across cards (layer/row split + main-GPU pick on
|
|
238
|
+
llama.cpp, tensor-parallel on vLLM). Defaults are no-ops, so single-GPU rigs are untouched and
|
|
239
|
+
the VRAM verdict budgets across the GPUs the split actually uses.
|
|
240
|
+
- **Saved per-model profiles** — tune once, and it loads that way every time.
|
|
241
|
+
|
|
242
|
+
---
|
|
243
|
+
|
|
244
|
+
## Chat
|
|
245
|
+
|
|
246
|
+
A genuinely good chat UI, not an afterthought:
|
|
247
|
+
|
|
248
|
+
- **Streaming** with a **stop** button, **live tokens/sec**, **prompt-processing %** and
|
|
249
|
+
**prefill t/s**, **time-to-first-token**, **total time**, exact **token counts**, and a
|
|
250
|
+
**context-usage meter** (filled / max) on every reply.
|
|
251
|
+
- **Thinking control** — toggle reasoning **off** to get a direct answer (saves time and
|
|
252
|
+
tokens), or leave it **on** with collapsible, timed "thought for N s" blocks.
|
|
253
|
+
- **Markdown + syntax-highlighted code** with one-click copy — plus **inline Unicode charts**
|
|
254
|
+
the model draws when a comparison, trend, or hierarchy is genuinely worth a visual.
|
|
255
|
+
- **Personas** — pick a style (Concise · Detailed · Blunt · Formal · Tutor · Creative · Default)
|
|
256
|
+
per conversation, no prompt-wrangling required.
|
|
257
|
+
- **Edit, regenerate, delete, copy** any message; **persistent, searchable conversations**
|
|
258
|
+
with rename, delete, and **auto-generated titles**.
|
|
259
|
+
- **Per-chat system prompt** and **per-chat sampling** overrides — the full set: temperature,
|
|
260
|
+
top-p/k, min-p, repeat/presence/frequency penalties, and **stop strings**.
|
|
261
|
+
- **Image input** for vision models.
|
|
262
|
+
- **TurboLLM Expert** — a built-in assistant that knows the app and your hardware, for
|
|
263
|
+
onboarding and troubleshooting without leaving the UI.
|
|
264
|
+
|
|
265
|
+
---
|
|
266
|
+
|
|
267
|
+
## APIs & integrations
|
|
268
|
+
|
|
269
|
+
With a model loaded, TurboLLM serves two compatible APIs on the same port:
|
|
270
|
+
|
|
271
|
+
```bash
|
|
272
|
+
# OpenAI-compatible
|
|
273
|
+
curl http://127.0.0.1:6996/v1/chat/completions \
|
|
274
|
+
-H "Content-Type: application/json" \
|
|
275
|
+
-d '{"model":"local","messages":[{"role":"user","content":"hello"}]}'
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
- **OpenAI-compatible** `/v1/chat/completions`, `/v1/embeddings`, … — point any OpenAI client
|
|
279
|
+
or tool at it. Embedding models are auto-detected and pooled separately, so a RAG pipeline and
|
|
280
|
+
a chat model can stay loaded side by side.
|
|
281
|
+
- **Anthropic-compatible** `/v1/messages` — including **tool use and streaming** — which is
|
|
282
|
+
what powers Claude Code below. No other local host offers this.
|
|
283
|
+
- **Structured output** — constrain any response to a **GBNF grammar** (or JSON shape) for
|
|
284
|
+
reliable machine-readable results.
|
|
285
|
+
- **API-key auth** you can require when sharing over a LAN (Settings → Network).
|
|
286
|
+
|
|
287
|
+
### The gateway loads models for you
|
|
288
|
+
|
|
289
|
+
Most local hosts make you load a model first, then call it. TurboLLM's gateway reads the
|
|
290
|
+
`model` field of any incoming request, **fuzzy-matches it to your library, and loads it on the
|
|
291
|
+
fly** if it isn't already running — then keeps up to **four models hot** in an LRU pool so the
|
|
292
|
+
next switch is instant. An agent (or Claude Code) that hops between a coding model, a vision
|
|
293
|
+
model, and an embedder just names each one and it works — no pre-wiring, no manual swaps. Tune
|
|
294
|
+
it in Settings → Gateway (`autoSwap`, `keepN`).
|
|
295
|
+
|
|
296
|
+
---
|
|
297
|
+
|
|
298
|
+
## Run Claude Code on your own GPU
|
|
299
|
+
|
|
300
|
+
TurboLLM's Anthropic-compatible endpoint means [Claude
|
|
301
|
+
Code](https://www.npmjs.com/package/@anthropic-ai/claude-code) can run against whatever model
|
|
302
|
+
you've loaded — no cloud key, fully offline. One command wires it up:
|
|
303
|
+
|
|
304
|
+
```bash
|
|
305
|
+
turbollm launch claude # opens Claude Code on your loaded model
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
It sets Claude Code's `ANTHROPIC_BASE_URL` / `ANTHROPIC_MODEL` at TurboLLM and execs `claude`;
|
|
309
|
+
extra args are forwarded. If `claude` isn't installed, it tells you how. The in-app
|
|
310
|
+
**Developer** screen also shows copy-paste env snippets for any OpenAI- or Anthropic-compatible
|
|
311
|
+
tool (Open WebUI, Kilo Code, opencode, …).
|
|
312
|
+
|
|
313
|
+
---
|
|
314
|
+
|
|
315
|
+
## Use it from any device on your network
|
|
316
|
+
|
|
317
|
+
The UI runs in the browser, so any phone, tablet, or laptop on your LAN can use the model on
|
|
318
|
+
your GPU box:
|
|
319
|
+
|
|
320
|
+
```bash
|
|
321
|
+
turbollm --addr 0.0.0.0:6996 # bind all interfaces, then open http://<your-ip>:6996
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
Turn on **Require API key** in Settings → Network when you expose it.
|
|
325
|
+
|
|
326
|
+
---
|
|
327
|
+
|
|
328
|
+
## Share the GPU with ComfyUI
|
|
329
|
+
|
|
330
|
+
If you run **ComfyUI** on the same GPU, an LLM holding VRAM while ComfyUI renders means both
|
|
331
|
+
fight for memory (and one usually OOMs). TurboLLM can hand the GPU over automatically:
|
|
332
|
+
|
|
333
|
+
- The instant ComfyUI starts a render, TurboLLM **unloads its model and pauses new loads**.
|
|
334
|
+
- When ComfyUI's queue drains, TurboLLM **reloads the exact model it unloaded**.
|
|
335
|
+
|
|
336
|
+
It's **push-based, not polling** — ComfyUI signals TurboLLM the moment a job starts/ends, so
|
|
337
|
+
the handoff is immediate and deterministic (the model is gone *before* ComfyUI executes).
|
|
338
|
+
|
|
339
|
+
**One-time setup** (Settings → ComfyUI):
|
|
340
|
+
|
|
341
|
+
1. Turn on **Pause for ComfyUI** and **Save**.
|
|
342
|
+
2. Enter your ComfyUI folder (the one containing `custom_nodes`) and click **Install gate**.
|
|
343
|
+
TurboLLM writes a small custom node into ComfyUI, wired to this daemon.
|
|
344
|
+
3. **Restart ComfyUI** once so it loads the node.
|
|
345
|
+
|
|
346
|
+
The Settings panel shows a live indicator (rendering / idle / connected). To undo it, click
|
|
347
|
+
**Remove** in the same panel.
|
|
348
|
+
|
|
349
|
+
---
|
|
350
|
+
|
|
351
|
+
## Command-line reference
|
|
352
|
+
|
|
353
|
+
```bash
|
|
354
|
+
turbollm # start on :6996, open browser
|
|
355
|
+
turbollm --port 9000 # listen on a specific port
|
|
356
|
+
turbollm --no-open # start without opening a browser
|
|
357
|
+
turbollm --addr 0.0.0.0:6996 # bind all interfaces (LAN sharing)
|
|
358
|
+
turbollm launch claude # start Claude Code against the loaded model
|
|
359
|
+
```
|
|
360
|
+
|
|
361
|
+
| Flag | Description |
|
|
362
|
+
|------|-------------|
|
|
363
|
+
| `--port <n>` | Listen on a specific port (default: `6996`) |
|
|
364
|
+
| `--addr <host:port>` | Full host:port override, e.g. `0.0.0.0:6996` for LAN sharing |
|
|
365
|
+
| `--no-open` | Start without opening a browser window |
|
|
366
|
+
| `--config <file>` | Path to a custom config file |
|
|
367
|
+
| `--help`, `-h` | Show usage and exit |
|
|
368
|
+
|
|
369
|
+
---
|
|
370
|
+
|
|
371
|
+
## Configuration & data
|
|
372
|
+
|
|
373
|
+
Everything lives under **`~/.turbollm/`** on every OS — `config.json`, the SQLite chat
|
|
374
|
+
database, downloaded engines, models cache, and logs. Back it up or delete it to reset.
|
|
375
|
+
Use `--config <file>` to point at an alternate config (its directory becomes the data dir).
|
|
376
|
+
|
|
377
|
+
---
|
|
378
|
+
|
|
379
|
+
## Requirements
|
|
380
|
+
|
|
381
|
+
- **Node.js 22 or newer** — enforced at startup with a clear message. <https://nodejs.org>
|
|
382
|
+
- **Windows, macOS, or Linux.**
|
|
383
|
+
- A GPU is recommended but **not required** — a CPU build is provisioned as a fallback.
|
|
384
|
+
- On Windows, the first time the auto-downloaded `llama-server` runs, SmartScreen/Defender may
|
|
385
|
+
prompt (it's an upstream binary). Allow it once.
|
|
386
|
+
|
|
387
|
+
---
|
|
388
|
+
|
|
389
|
+
## Privacy
|
|
390
|
+
|
|
391
|
+
TurboLLM is **offline-first**: core local use needs no account, no backend, and no internet.
|
|
392
|
+
**No analytics or telemetry are collected.** Your prompts, chats, files, and keys never leave
|
|
393
|
+
your machine.
|
|
394
|
+
|
|
395
|
+
---
|
|
396
|
+
|
|
397
|
+
## How TurboLLM compares
|
|
398
|
+
|
|
399
|
+
Focused on the differences that matter — all four are good tools.
|
|
400
|
+
|
|
401
|
+
| | **TurboLLM** | LM Studio | Ollama | Open WebUI |
|
|
402
|
+
|---|:---:|:---:|:---:|:---:|
|
|
403
|
+
| Run **any engine / community forks** | ✅ | ❌ one runtime | ❌ hidden | ❌ |
|
|
404
|
+
| **Auto-tune** launch flags to your GPU | ✅ | ❌ | ❌ | ❌ |
|
|
405
|
+
| **Measured** t/s in the model list | ✅ | ◐ | ◐ | ❌ |
|
|
406
|
+
| **Anthropic** API (tool use) → Claude Code | ✅ | ❌ | ❌ | ❌ |
|
|
407
|
+
| OpenAI-compatible API | ✅ | ✅ | ✅ | ◐ proxy |
|
|
408
|
+
| **Auto-load the requested model** (hot-swap pool) | ✅ | ❌ | ◐ | ❌ |
|
|
409
|
+
| Use existing model folders (no re-download) | ✅ | ◐ | ❌ | ❌ |
|
|
410
|
+
| Speculative decoding (NextN / MTP / draft) | ✅ | ◐ draft | ❌ | ❌ |
|
|
411
|
+
| Web UI from any LAN device | ✅ | ❌ | ❌ | ✅ |
|
|
412
|
+
| **Lightweight** (no Electron / no Python) | ✅ npm | ❌ Electron | ✅ Go | ❌ Python |
|
|
413
|
+
| Offline-first · no telemetry | ✅ | ◐ | ✅ | ✅ |
|
|
414
|
+
|
|
415
|
+
Prefer Open WebUI's chat breadth? It works great pointed at TurboLLM's OpenAI endpoint.
|
|
416
|
+
|
|
417
|
+
---
|
|
418
|
+
|
|
419
|
+
## Troubleshooting
|
|
420
|
+
|
|
421
|
+
- **`TurboLLM requires Node.js 22 or newer`** — upgrade Node: <https://nodejs.org>.
|
|
422
|
+
- **Model won't load / OOM** — pick a smaller quant (the VRAM verdict warns you), lower GPU
|
|
423
|
+
offload, or close other GPU apps. Failures surface in the Engines screen with the engine log.
|
|
424
|
+
- **Windows Defender / SmartScreen prompt** — that's the upstream `llama-server` binary on
|
|
425
|
+
first run; allow it once.
|
|
426
|
+
- **Port already in use** — `turbollm --port 9000`.
|
|
427
|
+
- **Slow generation** — open the model's load params; ensure GPU offload is high and flash
|
|
428
|
+
attention / NextN are on for supported models.
|
|
429
|
+
|
|
430
|
+
---
|
|
431
|
+
|
|
432
|
+
## Develop from source
|
|
433
|
+
|
|
434
|
+
```bash
|
|
435
|
+
npm install # daemon deps
|
|
436
|
+
cd web && npm install && cd ..
|
|
437
|
+
|
|
438
|
+
npm run build:web # build the React UI -> src/webdist
|
|
439
|
+
npm run start # run the daemon in dev (hot TS via tsx) -> :6996
|
|
440
|
+
|
|
441
|
+
npm run build # production bundle -> dist/cli.js (web assets included)
|
|
442
|
+
node dist/cli.js --port 6996
|
|
443
|
+
```
|
|
444
|
+
|
|
445
|
+
Frontend hot-reload: `cd web && npm run dev` (proxies `/api` and `/v1` to the daemon on
|
|
446
|
+
:6996).
|
|
447
|
+
|
|
448
|
+
**Stack:** Node ≥22 · TypeScript · Hono · `node:sqlite` · tsup — and a React 19 + Tailwind v4 +
|
|
449
|
+
shadcn/ui frontend. One TypeScript codebase, shipped as an npm package.
|
|
450
|
+
|
|
451
|
+
```
|
|
452
|
+
turbollm/
|
|
453
|
+
bin/turbollm.mjs launcher shim (Node guard) -> dist/cli.js
|
|
454
|
+
src/
|
|
455
|
+
cli.ts entrypoint: wiring + graceful shutdown
|
|
456
|
+
server.ts Hono app: CORS, API, gateway, embedded SPA
|
|
457
|
+
engines/ provisioning, probe, registry, lifecycle state machine
|
|
458
|
+
api/routes.ts /api/v1/* handlers
|
|
459
|
+
gateway/ /v1/* OpenAI + Anthropic gateway
|
|
460
|
+
models/ · chat/ · hf/ · bench/ · downloads/
|
|
461
|
+
web/ React + TS + Tailwind + shadcn frontend (own package.json)
|
|
462
|
+
```
|
|
463
|
+
|
|
464
|
+
---
|
|
465
|
+
|
|
466
|
+
## Screenshots
|
|
467
|
+
|
|
468
|
+
The unified engine catalog: a hardware-aware recommendation up top, then every supported engine (llama.cpp, KoboldCpp, llamafile, vLLM, and forks) with build-from-source for the rest.
|
|
469
|
+
|
|
470
|
+
<p align="center"><img src="https://raw.githubusercontent.com/mohitsoni48/Turbo-LLM/main/assets/screenshots/engines.png" width="860" alt="TurboLLM Engines screen: hardware-aware recommendation and a unified engine catalog" /></p>
|
|
471
|
+
|
|
472
|
+
Chat mid-conversation: pinned model selector, a live context meter, streaming reply with running token count and tokens/sec.
|
|
473
|
+
|
|
474
|
+
<p align="center"><img src="https://raw.githubusercontent.com/mohitsoni48/Turbo-LLM/main/assets/screenshots/chat.png" width="860" alt="TurboLLM Chat screen: model selector, live context meter, streaming reply with tokens/sec" /></p>
|
|
475
|
+
|
|
476
|
+
The Models library: GGUF and MLX models discovered in your folders, each with measured tokens/sec and a VRAM-fit verdict, grouped by quant.
|
|
477
|
+
|
|
478
|
+
<p align="center"><img src="https://raw.githubusercontent.com/mohitsoni48/Turbo-LLM/main/assets/screenshots/models.png" width="860" alt="TurboLLM Models library: discovered models with measured tokens/sec and quant grouping" /></p>
|
|
479
|
+
|
|
480
|
+
Per-model tuning: context length, GPU layers, KV-cache type, flash attention, and speculative decoding, all with a live VRAM-fit verdict.
|
|
481
|
+
|
|
482
|
+
<p align="center"><img src="https://raw.githubusercontent.com/mohitsoni48/Turbo-LLM/main/assets/screenshots/tuning.png" width="860" alt="TurboLLM model tuning panel: context, GPU layers, KV-cache type, flash attention, VRAM-fit verdict" /></p>
|
|
483
|
+
|
|
484
|
+
Customize: pick a web-search provider and wire up MCP tool servers the model can call during conversations.
|
|
485
|
+
|
|
486
|
+
<p align="center"><img src="https://raw.githubusercontent.com/mohitsoni48/Turbo-LLM/main/assets/screenshots/customize.png" width="860" alt="TurboLLM Customize screen: web-search provider and MCP tool servers" /></p>
|
|
487
|
+
|
|
488
|
+
---
|
|
489
|
+
|
|
490
|
+
## License
|
|
491
|
+
|
|
492
|
+
Source-available under the **Functional Source License 1.1 (Apache-2.0 future grant)** — SPDX
|
|
493
|
+
**`FSL-1.1-ALv2`**. Free for personal use, internal business use, education, and research; the
|
|
494
|
+
only restriction is shipping a competing product. Each release converts to Apache-2.0 two
|
|
495
|
+
years after it's published. Full text: [LICENSE.md](https://github.com/mohitsoni48/Turbo-LLM/blob/main/turbollm/LICENSE.md).
|
|
496
|
+
|
|
497
|
+
<p align="center"><sub>Built for people who refuse to wait for the mainstream to bless the fast path. ⚡</sub></p>
|