EN ▾

Hosted uncensored API for developers

Get API key

Hosted Uncensored API vs Ollama: Which to Use

If you searched for unfiltered AI models for Ollama, you are choosing between two ways to run the same kind of model: on your own machine, or through a hosted OpenAI-compatible API. Here is how they differ and how to pick.

Updated

Isometric scene comparing a local GPU tower and a hosted server connected to one chat window

Key points

  1. Ollama is free software that runs models on your own hardware; the API charges $0.15 per 1M input and $0.50 per 1M output tokens.
  2. Local wins on offline use and full control. Hosted wins when your GPU is small or you need a 100,000-token context.
  3. Both speak the OpenAI chat format, so switching is a change of base URL and model name.
  4. You can use both: local for drafts, hosted for long or heavy requests.

The short answer

If you want unfiltered ai models for ollama, you have a real option on your own computer: Ollama can pull community models that were fine-tuned or modified to refuse less, and run them with no network connection. If you do not have the hardware, or you want a large context window without tuning memory settings, a hosted uncensored API gives you the same chat interface for a few cents per session.

Neither is better in general. The decision comes down to four things: the GPU or unified memory you own, how much text you send per request, whether the data may leave your machine, and how much time you want to spend on maintenance.

QuestionOllama locallyHosted API
Cost modelYour hardware and electricity, no per-token fee$0.15 per 1M input, $0.50 per 1M output
Works offlineYesNo
Model choiceAny model you can download and fitOne model, ID uncensored
Context windowSet by you, limited by memory100,000 tokens
Data leaves your machineNoYes, prompts are sent to the API (not used for training)
SetupInstall, pull a model, tuneGet a key, set a base URL

The sections below expand each row, with numbers where numbers are knowable.

When running locally in Ollama is the better choice

Local inference has three strong arguments, and they are not small.

Privacy by construction. Nothing leaves the computer. If your prompts contain material you must not send to any third party, local is the right answer, and no hosted service can match it. A hosted provider can promise not to train on your prompts, as this one does, but a promise is not the same as an air gap.

No per-token billing. Once the machine exists, a thousand experiments cost only electricity. If you run huge batch jobs all day on hardware you already own, the hosted price per token will eventually add up beyond what the local setup costs you. Do the arithmetic for your own volume rather than trusting a rule of thumb.

Choice of model. Ollama lets you try many models, switch between sizes, and use community variants. Third parties publish uncensored or "abliterated" versions of open models. Their quality, licensing and behavior differ a lot, so read the model card and test before you build on one. The API on this site has exactly one model, so if you want to compare five variants side by side, local is the better workbench.

There is also a quieter benefit: determinism over time. A model file on your disk does not change under you. With any hosted service, you depend on the provider keeping the model as it is.

When a hosted API is the better choice

The hosted option wins in situations that come up often once you try to run something real.

Your hardware is modest

Language models are memory hungry. A laptop with 8 GB of RAM can run only small, heavily compressed models, and those are noticeably weaker at long coherent writing and multi-step reasoning. Larger models need a GPU with plenty of VRAM or a machine with a lot of unified memory. If buying that is not on your list, renting inference by the token is a cheaper way in.

You need a long context

Local context length is a setting you trade against memory. Long contexts increase memory use and slow generation, and many people keep it modest as a result. The API offers a 100,000-token window, shared between prompt and completion, with the completion allowed to use whatever is left. For long stories, large documents or a big chunk of a codebase, that is convenient.

You need concurrency

One local GPU handles one conversation well and several poorly. A full API key allows 8 concurrent requests and 300 requests per minute, which suits a small app serving a few users at once.

You do not want to maintain a server

Drivers, quantization formats, model updates and out-of-memory errors are real work. A key and a URL replace most of it.

Cost comparison with a worked example

Local cost depends on hardware prices and power rates I cannot know for you, so I will only price the hosted side exactly and give you the formula for the other.

Say a job processes 10M input tokens and produces 2M output tokens over a month, for example summarizing a large pile of documents:

  • Input: 10 x $0.15 = $1.50
  • Output: 2 x $0.50 = $1.00
  • Total: $2.50

The minimum top-up is $20, which would cover eight jobs of that size, and credit never expires. A $100 top-up adds a 10% bonus and gives $110 of credit; $50 gives $52.50 with the 5% bonus, and $200 gives $230 with 15%. Failed or refused requests are not charged.

For the local side, the question is whether the machine is already paid for. If it is, marginal cost is nearly zero and local wins on money. If you would buy a GPU just for this, divide its price by the monthly spend you would otherwise have on the API to see how many months it takes to break even. At $2.50 a month, that horizon is very long. At several hundred dollars a month of steady load, it gets shorter. Check current hardware prices before deciding.

Full tables are on the pricing page.

Use both with the same client code

Ollama exposes an OpenAI-compatible endpoint under /v1 on its local server, normally at http://localhost:11434/v1, and the hosted API follows the same chat format. That means the same client code can serve both, and you decide per task. The snippet below talks to the hosted side; to point it at your local server you change the base URL and the model name to the one you pulled.

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.unfilteredaimodels.cc/v1",
    api_key=os.environ["UF_KEY"],
)

def ask(prompt: str, system: str = "You are a helpful writing partner.") -> str:
    resp = client.chat.completions.create(
        model="uncensored",
        temperature=0.8,
        messages=[
            {"role": "system", "content": system},
            {"role": "user", "content": prompt},
        ],
    )
    return resp.choices[0].message.content

print(ask("Outline a noir story set on a night ferry, five beats."))

A sensible split is to draft and experiment locally, then send the long-context or high-volume tasks to the API. Tool calling, JSON mode and streaming are all supported by the hosted endpoint, so agents written against the OpenAI format carry over. Local models vary in how well they handle tool calls, so test that part on the model you choose.

The full list of supported parameters is in the documentation. Temperature, top_p, stop, seed and the penalties are passed through.

What stays the same either way

An unfiltered model is still a language model. It can be wrong, it can make up facts, and it needs the same checking you would give any other output. Removing refusals changes what it will answer, not how reliable the answers are.

Both routes are meant for lawful adult use. The hosted model has a hard limit that cannot be switched off: no sexual content involving minors. Community local models have their own licenses and terms, and responsibility for how you use them sits with you.

The hosted service is text only. It does not generate images, audio or video, it has no embeddings endpoint, and it does not offer fine-tuning. If you need those, Ollama and other local tools have separate models for them.

When you are ready to try the hosted side, the key page lets new users claim $0.50 of trial credit with one click, no card, valid for 7 days. That is enough for a few hundred short requests, and a direct way to compare the output against your local model on your own prompts. If something fails, the troubleshooting guide covers the usual causes.

Limits to keep in mind: a trial key allows 2 concurrent requests and 60 per minute, a full key 8 and 300. Beyond those the API returns HTTP 429, with the code rate_limited or concurrency, and a short wait fixes it.

Questions and answers

Is the hosted model one of the models from the Ollama library?

No. It is a single open-weight model run by an independent provider, available under the ID uncensored. It is a separate service, not part of Ollama.

Can my Ollama-based app use this API?

If the app accepts an OpenAI-compatible base URL and key, yes. Enter the hosted base URL, your key and the model ID uncensored.

Which is cheaper, local or hosted?

If you already own capable hardware, local has almost no marginal cost. If you would have to buy it, compare the purchase price with your expected monthly API spend at $0.15 per 1M input and $0.50 per 1M output tokens.

Is my data private on the hosted API?

Prompts are not used for training, but they do leave your machine. If nothing may be sent to a third party, run locally.

Your key is one form away

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