EN ▾

unhinged.topHosted uncensored API for developers

Unhinged Local LLM vs Hosted: Which to Pick

A balance scale weighing a GPU tower against a cloud of glowing coins, local versus hosted LLM

Running an unhinged local llm gives you privacy and full control but needs hardware and upkeep. A hosted OpenAI-compatible API costs pay-per-token and needs none. This article compares both on cost, speed, privacy and effort so you can pick one, or use both.

Updated

Key points

  1. Local wins on privacy, offline use and tinkering; hosted wins on zero upkeep, no memory limit from your own GPU and parallel requests.
  2. At $0.15 per 1M input and $0.50 per 1M output tokens, moderate use costs cents per day.
  3. Both speak the OpenAI format, so moving is a base URL, key and model ID change.
  4. Many people keep a small local model and use the hosted endpoint for heavy work.

Quick decision table

If you care most aboutPickWhy
Nothing leaving your machineLocalPrompts stay on your own disk and memory
Working offlineLocalNo network needed once the model is downloaded
No cap from your own video memoryHostedThe model runs on the provider's servers, so your GPU does not limit it
Zero setupHostedOne key and one URL
Several users at onceHosted8 concurrent requests on a full key, no hardware to scale
Learning how models runLocalYou see quantization, context and speed trade-offs first hand
Low, irregular useHostedYou pay only for tokens used; no idle machine

If none of these rows decides it for you, start hosted. It costs very little to try, and you can still build a local setup later.

The real cost of going local

Local feels free because there is no invoice per request. It is not free. The costs are:

  • Hardware. Good local speed comes from a graphics card with plenty of video memory. Larger models need more of it. Check current retail and used prices yourself; they change.
  • Electricity. A busy card draws a lot of power while generating, and it adds up if the machine runs all day.
  • Time. Installing drivers, choosing quantizations, updating runtimes and fixing things after an update all take hours.
  • Opportunity. The memory you can afford caps the model you can run. A model that fits on your card may answer worse than a larger one you cannot fit.

For a view of the high end, the page about an unhinged AI model explains what sort of model is behind our endpoint. If you already own a strong GPU and like tuning it, those costs are partly sunk, and local becomes attractive.

The real cost of hosted

Hosted pricing is simple. You prepay credit, then spend it per token: $0.15 per 1M input tokens and $0.50 per 1M output tokens. There is no subscription, failed or refused requests are not charged, and credit never expires.

Here is a heavy hobby day: 300 chat turns, each with 2,000 input tokens and 300 output tokens.

  • Input: 300 x 2,000 = 600,000 tokens, so 0.6 x $0.15 = $0.09
  • Output: 300 x 300 = 90,000 tokens, so 0.09 x $0.50 = $0.045
  • Total: $0.135 for the day

Thirty such days cost $4.05. The smallest top-up is $20, which covers about 148 days of that heavy pattern (20 / 0.135 is roughly 148). Top-ups reach $500, and the bonus is +5% from $50, +10% from $100 and +15% from $200. You can pay by crypto (USDT on TRC20, USDC on Base). More on the pricing page.

To compare with another hosted provider, check their current pricing yourself rather than relying on figures from articles like this one.

Privacy and control

This is the strongest argument for local. When the model runs on your machine, no third party sees your prompts. With a hosted API, your text travels to a server run by an independent provider. On this endpoint prompts are not used for training, but they are still transmitted, and you should not send anything you would not be comfortable sharing with a service operator.

Control is a second point. Locally you can swap models, change quantization and set every parameter. On the hosted side you get one model, called uncensored, tuned to answer without content refusals for lawful adult use, plus the standard sampling controls: temperature, top_p, stop, seed and penalties. It is not an official product of any model vendor. It is a text API with no image, audio or video generation, no embeddings and no fine-tuning. A hard rule applies in both worlds: no sexual content involving minors.

Speed, context and concurrency

Local speed depends entirely on your hardware, the model and the prompt length. A card with ample memory is quick; a CPU is not. Hosted speed depends on the provider and the load, and temporary overload returns HTTP 429 with a Retry-After: 5 header, so a well-written client waits that long and retries instead of failing the user's request outright.

The hosted context window is 100,000 tokens for prompt plus completion, which is more than many home setups can run comfortably. A full key allows 8 concurrent requests and 300 requests per minute; a trial key allows 2 and 60. If you exceed them the code is rate_limited or concurrency. For one person chatting, you will hardly notice these limits. For a Discord bot with many users, see the page on an unrestricted AI Discord bot for patterns that respect them.

Switching between them with one config change

Local servers such as Ollama and llama.cpp offer OpenAI-compatible endpoints, so one program can target either side. Keep the three values in environment variables:

import os
from openai import OpenAI

client = OpenAI(
    base_url=os.getenv("LLM_BASE_URL", "https://api.unhinged.top/v1"),
    api_key=os.getenv("LLM_API_KEY", "YOUR_KEY"),
)

r = client.chat.completions.create(
    model=os.getenv("LLM_MODEL", "uncensored"),
    messages=[{"role": "user", "content": "Give me a villain monologue in four lines."}],
    temperature=0.9,
)
print(r.choices[0].message.content)

For the local run, set LLM_BASE_URL to your local server's address and LLM_MODEL to the name of the model you loaded. For the hosted run, leave the defaults above. Re-test your prompts after every switch, because two models never answer identically.

The cheapest way to find out whether hosted suits you is the trial: after sign-up, claim $0.50 of credit with one click on the API key page. It needs no card, is valid for 7 days and is limited to one per person. The docs cover every parameter.

A ten-minute test to settle it

Opinions about speed and quality are cheap; your own prompts are better evidence. Do this:

  1. Collect ten prompts you really use: a few short, a few long, one with a long history.
  2. Run all ten against your local model and write down the time to the first word and the time to finish.
  3. Run the same ten against the hosted endpoint with the trial credit, and note the same two numbers, plus the usage block from each response.
  4. Read the answers side by side. Mark each as good enough, wrong in tone, or wrong in content.
  5. Multiply the token counts by your expected daily volume to estimate the hosted cost, and compare it with what your machine costs you per month in power and time.

If the local answers are good enough and the machine is already yours, stay local. If the hosted answers are clearly better, or if the local run is too slow for your patience, the cents per day are easy to justify. Either way you will have numbers, not impressions, and you can repeat the test whenever a new local model appears or your usage grows.

A sensible hybrid

You do not have to choose once. A common pattern is to run a small local model for private drafts, quick tests and offline work, and to send long or demanding prompts to the hosted endpoint. Because the client code is identical, the switch can be a flag in your config. Local handles the free, private cases; the API handles anything that needs a larger model or more parallel requests, at a cost of a fraction of a cent per turn.

01

Questions and answers

Is a local LLM cheaper than a hosted API?

Only if you already own suitable hardware and use it a lot. For light or irregular use, pay-per-token at $0.15 and $0.50 per 1M tokens is usually cheaper than buying and powering a machine.

Is the hosted model really uncensored?

It is one open-weight model tuned to answer without content refusals for lawful adult use. Sexual content involving minors is never allowed.

Can I move my code between local and hosted?

Yes, if it uses an OpenAI-style client. Change the base URL, the API key and the model ID.

Is my data private on the hosted API?

Prompts are not used for training, but they are sent to the provider's servers. If nothing may leave your machine, run locally.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.

Get API keyRead the docs