MacProvider — making mlx-lm endpoints addressable over the internet, with verifiable inference #3616
Augustas11
started this conversation in
Show and tell
Replies: 1 comment
|
"MacProvider making mlx-lm endpoints addressable over the internet, with verifiable inference" is the kind of thread where I would make raw usage and normalized cost visible before trying to optimize model choice. I would keep provider, model, request type, prompt/output tokens, cached-token behavior, latency, retry count, and final billing bucket together in one event. That makes cost debugging and future routing decisions much easier. I am testing a multi-model OpenAI-compatible API layer around official Chinese models, so the routing and usage-accounting parts of this are directly relevant to me. For mlx, would the first win be user-facing cost transparency, internal spend debugging, or routing cheaper calls to cheaper models? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi all — sharing a project built on top of mlx-lm that some of you might find interesting (or want to poke holes in).
The premise: a lot of the most interesting LLM applications — long-running personal agents, privacy-sensitive tooling, dev workflows that hammer a model thousands of times a day — don't really belong in a cloud datacenter. But the moment you want your Mac's MLX endpoint to be reachable from somewhere that isn't localhost, you fall off a cliff (auth, tunneling, multi-tenant routing, observability, none of it exists out of the box).
MacProvider is an attempt to fill that gap as a thin layer over mlx-lm:
What this is not: a replacement for JACCL/tensor-parallel across a TB-linked cluster. Each Mac stays an independent endpoint; the coordinator just picks one per request. Different trade-off from exo — no model sharding, but also no cluster bring-up.
Why I think it matters for this community: a lot of MLX is being used today for on-device personal experiments that hit a ceiling the moment they need to be addressable from a phone, a teammate, or a cron job running elsewhere. Making MLX endpoints first-class internet citizens opens up the design space for apps that are local-first by default rather than cloud-first by inertia.
Repo: https://github.com/Augustas11/macprovider
Install (single Mac, one-liner):
curl -fsSL get.streamvc.live/install.sh | shSpecifically would love feedback on:
Thanks for mlx and mlx-lm — none of this exists without them.
All reactions