Unrestricted LLM for LM Studio: Local or Hosted
Looking for an unrestricted LLM for LM Studio usually means one of two things: running an open-weight model on your own machine, or reaching a hosted model from tools you already use. Here is how both work.
Updated

Key points
- LM Studio runs models you download to your computer and can expose them on a local OpenAI-style server.
- A hosted uncensored API is a separate endpoint, reached with the same SDK code.
- Switch between the two by changing base URL, key and model name.
- Check LM Studio's current documentation for features beyond what is described here.
Two different things people mean
LM Studio is a desktop application for downloading open-weight models and running them on your own computer. It has a chat window and, as publicly documented, a local server mode that speaks an OpenAI-style API, by default on port 1234. That detail matters, because it explains how the pieces fit together.
So the search for an unrestricted LLM for LM Studio splits in two. The first reading is "which downloadable model should I load in LM Studio so it stops refusing?" That is a question about model files, and the answer depends on your hardware and taste; browse the model catalogue inside the app and read each model's card. The second reading is "can I use a hosted uncensored model instead of running one locally?" That is what this page covers, because it needs no download and no GPU.
We should be straightforward about one limit. LM Studio is built around local models. We are not aware of LM Studio's own chat window letting you point it at a remote API, and its features change between versions, so check its current documentation. The workable pattern is different: write your code against the OpenAI format once, and aim it at LM Studio's local server or at a hosted endpoint as needed.
Option A: a local model in LM Studio
Local is the right choice when privacy is the priority, when you work offline, or when you have a capable GPU and enjoy tinkering. The basic flow:
- Install LM Studio and search the built-in model browser for the model you want.
- Pick a quantisation that fits your memory. Smaller quantisations use less memory and lose some quality.
- Load the model and chat in the app, or start the local server from the developer section.
The costs are not in dollars. Larger models need a lot of GPU or system memory, generation on modest hardware can be slow, and you choose and maintain the prompt format yourself. In return nothing leaves your machine, and nobody can change the rules under you.
How willing a local model is to answer varies from file to file. Fine-tunes that advertise reduced refusals exist, but behaviour differs, so test with your own prompts rather than trusting a title.
Picking a local model that fits your machine
If you decide to stay local, the practical limit is memory. A model has to fit in GPU memory, or spill into system memory and run much more slowly. As a rule, a model with more parameters writes better and reasons better, and needs more memory to do it. Quantised files shrink that need at some cost in quality, and LM Studio shows the file size next to each download, which is the quickest guide to whether it will load.
Read the model card before downloading. It tells you the intended prompt format, the context length and what the author changed. Try two or three candidates on the same ten prompts from your own work, and keep the one whose tone you prefer. Do not choose by name alone, since labels like "uncensored" or "abliterated" describe intent, not a measured result.
Where your data goes
With a local model, prompts stay on your computer. With a hosted API, they cross the network to the provider. Ours does not use prompts for training, and the privacy policy explains the rest. Choose according to how sensitive your material is, not according to habit.
A sensible split is to draft anything personal or unpublished locally, and use the hosted endpoint for features other people touch, such as a public writing tool or a character chat. Because both speak the same API format, moving a task from one side to the other is a one-line change in your environment file, and you can test a prompt on each to see which output you prefer before deciding where it should live. Keep a short notes file with the results so the choice is easy to revisit later.
Option B: a hosted uncensored API
If your machine cannot hold a large model, or you need an answer in a few seconds without fans spinning up, a hosted API removes the hardware question. Ours is OpenAI-compatible: base URL https://api.unrestricted.cc/v1, model ID uncensored, authentication with Authorization: Bearer <key>. It exposes POST /v1/chat/completions and GET /v1/models.
It is one open-weight model run by an independent provider and tuned to answer without content refusals for lawful adult use. It is text only, with a 100,000-token context window. Content involving minors is never permitted. Pricing is $0.15 per 1M input tokens and $0.50 per 1M output tokens, from prepaid credit with no subscription.
You can check the connection before writing any code:
curl https://api.unrestricted.cc/v1/models \
-H "Authorization: Bearer $UNRESTRICTED_KEY"
Get a key on the API key page. New accounts can claim $0.50 of trial credit with one click, valid for 7 days, no card.
One codebase for both
Because LM Studio's server and our API both follow the OpenAI format, a small script can talk to either. Put the three differing values in environment variables and leave the rest alone.
import os
from openai import OpenAI
# Hosted: LLM_BASE_URL=https://api.unrestricted.cc/v1 LLM_MODEL=uncensored
# Local: LLM_BASE_URL=http://localhost:1234/v1 LLM_MODEL=<name shown in LM Studio>
client = OpenAI(
base_url=os.environ.get("LLM_BASE_URL", "https://api.unrestricted.cc/v1"),
api_key=os.environ.get("LLM_API_KEY", "not-needed-locally"),
)
resp = client.chat.completions.create(
model=os.environ.get("LLM_MODEL", "uncensored"),
messages=[
{"role": "system", "content": "You are a blunt editor for adult fiction."},
{"role": "user", "content": "Tighten this paragraph without softening its tone: ..."},
],
)
print(resp.choices[0].message.content)
The same trick works in Node. The official package takes the same baseURL and apiKey options:
import OpenAI from "openai";
const client = new OpenAI({
baseURL: process.env.LLM_BASE_URL ?? "https://api.unrestricted.cc/v1",
apiKey: process.env.LLM_API_KEY ?? "not-needed-locally",
});
const resp = await client.chat.completions.create({
model: process.env.LLM_MODEL ?? "uncensored",
messages: [{ role: "user", content: "Suggest three plot twists for a heist story." }],
});
console.log(resp.choices[0].message.content);
Local servers often ignore the API key, which is why the placeholder works there. The hosted endpoint requires a real one. Never commit the real key to a repository.
Which one should you use
| Your situation | Better fit |
|---|---|
| Prompts must never leave your computer | Local model in LM Studio |
| No GPU, or a small laptop | Hosted API |
| Working offline or on a plane | Local model |
| Building an app with unpredictable traffic | Hosted API, pay per token |
| Experimenting with many different models and fine-tunes | Local, since you can swap files freely |
| Need streaming, tool calling and JSON mode working in one endpoint | Hosted API, then verify the same features locally if you also use it |
Many people end up using both: a local model for private drafting and a hosted one for the app that other people use. Since the code does not change, there is no lock-in either way.
Costs and limits to know before switching
Local use is free per request after the hardware is paid for. Hosted use is metered, so estimate before you start. As an example, a drafting session with 50 requests, each sending 2,000 tokens and receiving 600, uses 100,000 input tokens and 30,000 output tokens. That is 0.1 x $0.15 = $0.015 for input plus 0.03 x $0.50 = $0.015 for output, so $0.03 for the whole session.
The hosted limits are simple. A full key allows 8 concurrent requests and 300 requests per minute; a trial key allows 2 and 60. Going over returns HTTP 429, with error code rate_limited or concurrency. Requests can be up to 8 MB. Responses carry an X-Balance-USD header so you can watch your credit, and failed or refused requests are not charged.
Top-ups run from $20 to $500 in whole amounts, with a bonus of 5% from $50, 10% from $100 and 15% from $200. Credit does not expire. See the pricing page for details, or the quickstart for streaming, tools and JSON mode.
Troubleshooting
- Connection refused on localhost: the LM Studio server is not started, or it uses a different port than you configured.
- 401 from the hosted API: the key is missing, mistyped, or the header is not in the form
Bearer <key>. - Model not found: use
uncensoredfor the hosted API; a local server expects the exact name LM Studio shows.
More guides
Questions and answers
Can LM Studio's chat window connect to a hosted API?
We are not aware that it can, since the app is built around local models. Check LM Studio's current documentation, and use the SDK pattern above if you need code that works with both.
What is LM Studio's default local server address?
Its documentation describes an OpenAI-style server at http://localhost:1234/v1 by default, though you can change the port in the app.
Is the hosted model the same as a model I download?
Not necessarily. It is one open-weight model run by an independent provider, so compare outputs on your own prompts rather than assuming they match.
Is there a free way to try the hosted endpoint?
Yes. Claim the $0.50 trial credit on the API key page after sign-up. It is valid for 7 days and needs no card.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.