A marketplace of private AI providers
Become an AI provider and earn money!
Use models directly from private providers, easier and cheaper!
Run tokmine to share idle machine time and keep 90% of every sale, or buy model capacity from providers at a maximum price you set. Prefer to keep everything private? The same CLI still gives your own machines one public, authenticated URL. Requests bought on the marketplace are processed on third-party machines.
curl -fsSL https://tokmine.ai/install.sh | shFree 30-minute sessions need no account. New accounts get a free first year of 3 machines, 3 seats and 1 endpoint. Marketplace use is billed by usage.
- Ollama
- LM Studio
- vLLM
- llama.cpp
$ tokmine Scanning local model servers... ✓ Ollama :11434 openai, ollama 3 models ✓ LM Studio :1234 openai 1 model ✓ Tunnel connected (wss) Public URL https://tunnel.tokmine.ai/t/k7x2-m9qa Token tm_anon_•••••••••••• Free session expires in 30:00. tokmine login to keep it. Chat https://app.tokmine.ai/chat#url=…
Works with the runners and SDKs you already use
- Ollama
- LM Studio
- vLLM
- llama.cpp
- OpenAI API
- Anthropic API
- Gemini API
Earn, buy, or keep it all yours
The same tokmine CLI covers all three. Nothing is shared unless you turn it on.
Earn: become an AI provider
Share idle GPU or CPU time. You set a minimum price per 1M tokens and the weekly hours you are available, your own workload always comes first, and you keep 90% of each sale.
How providing worksBuy: use private providers
Call models directly from providers, with a maximum price you set per 1M tokens and an optional monthly budget. It is a fallback: the marketplace is only used when your own machines cannot serve a request.
See live pricesYour own machines
Run the CLI on your own computers and get one public, authenticated URL that balances traffic by live load. This works on its own, with no marketplace involved.
Open the quickstart
How the marketplace works, plainly
Tokmine keeps 10% of sales
Buyers pay the provider's asking price and providers receive 90% of it. Prices are set by providers, never by Tokmine.
Requests run on third-party machines
When you buy, your prompts are processed on a provider's computer, not ours. Treat it like any third-party API and do not send data you would not send to one.
Privacy-first, checked by the CLI
The CLI looks for prompt logging and history on each runtime and reports a privacy tier. These checks are self-reported by the provider's machine. They reduce risk, they are not a guarantee.
Invoiced monthly, card required
Usage is metered as it happens and settled once a month through invoicing. Selling and buying both need a valid card on file.
Install, run, use the URL
Install the CLI
One copy-paste on macOS, Linux or Windows. A single static binary, no runtime needed.
Run tokmine
It discovers your local model servers, detects which API dialect each one speaks, and opens an outbound tunnel. No model server yet? tokmine install ollama sets one up. Nothing to configure, no inbound ports.
Use the URL
Point any OpenAI, Anthropic or Gemini SDK at https://tunnel.tokmine.ai/t/<slug> with your token. Or open the chat link it prints to try the model in your browser. Works with Claude Code, Codex, OpenCode, Aider and more. On a paid plan, create a static URL like /t/acme-prod that several machines can share.
More than a tunnel
Tokmine knows what each machine is doing, so requests go where there is headroom.
Balanced by live load
Each machine reports CPU, RAM, GPU and VRAM use, queue depth and tokens per second. Requests go to the machine best able to serve that model right now.
Routed by model name
Ask for a model and Tokmine finds the machines that serve it, preferring ones that already have it loaded.
Fails over quietly
Unhealthy or draining machines are skipped, and a request that fails before its response starts is retried on another machine.
Every dialect, one URL
OpenAI, Anthropic and Gemini style requests work against the same URL, whichever runner sits behind it.
Your models, reachable everywhere
Share a model with teammates
Give each person their own token instead of a VPN and a wiki page of IP addresses.
Use your home GPU from anywhere
Keep the big model on the desktop at home and call it from the laptop on the train.
Cloud GPU boxes
Run the CLI on any rented VM and add machines to the pool as you need capacity.
CI and agents
Let pipelines and agent frameworks hit local models with a stable, authenticated endpoint.
Public URL, private machine
Authenticated by default
There are no open endpoints. Every request needs a consumer token, and the same tokens work with stock SDKs.
Outbound-only tunnel
The CLI dials out over TLS. Your machine never accepts inbound connections from the internet.
No LAN access
Only the model servers the CLI discovered or you configured are reachable, and only their allow-listed API paths. No arbitrary hosts, no SSRF into your network.
Nothing sensitive in logs
Tokens are stored hashed and shown once. Request bodies and tokens are never logged.