EN ▾

An Open AI Alternative With No Content Refusals

If your main problem with OpenAI is refusals, a drop-in replacement takes about ten minutes to try. If your problem is something else, this article will help you decide honestly.

Updated

Key points

  • Any OpenAI SDK works after changing the base URL and key; the model ID is a single fixed string.
  • You gain a model without content refusals for lawful adult use and a flat per-token price: $0.15 in, $0.50 out per 1M tokens.
  • You lose images, audio, embeddings, fine-tuning and a choice of models: this service is one text model.
  • Run the same prompts on both before moving anything that matters.
Two different connectors fitting one adapter, illustrating a drop-in swap of API providers

When an open ai alternative makes sense

People look for an open ai alternative for different reasons, and the right answer depends on which one is yours. Some are tired of refusals on fiction, security research or frank health questions. Some want predictable per-token costs without a subscription. Some want to avoid depending on a single vendor. A few simply want something to test against.

This service fits the first group best. It is an OpenAI-compatible endpoint serving one open-weight model that has been tuned to answer without content refusals for lawful adult use. The model is run by an independent provider. It is not OpenAI's model and it is not a router that forwards to other vendors.

It fits poorly if you rely on image generation, speech, embeddings, fine-tuning or a menu of different model sizes. None of those exist here. Better to know now than after a migration.

What stays the same when you switch

The goal of compatibility is that your integration code barely changes. Here is what carries over.

  • Endpoints. POST /v1/chat/completions and GET /v1/models.
  • Authentication. Authorization: Bearer <key>, the same header as before.
  • Streaming. Server-sent events with stream: true, with usage reported at the end.
  • Tool calling. tools, tool_choice, streamed tool_calls, and results returned as messages with role tool.
  • JSON mode. response_format: {"type": "json_object"}.
  • Sampling. temperature, top_p, stop, seed and the frequency and presence penalties are passed through.

In most apps that is the whole surface area. A chatbot, a summariser or a tool-using agent built on the chat completions API needs no structural rewrite.

What changes, and what you lose

AreaHere
ModelsOne, with the ID uncensored
Content refusalsRemoved for lawful adult use; sexual content involving minors is still blocked
Context window100,000 tokens, prompt plus completion
ModalitiesText only: no image input or output, no audio, no video
Embeddings and fine-tuningNot offered
BillingPrepaid credit, pay as you go, no subscription
Training on promptsPrompts are not used for training

For anything not listed, such as the other provider's model lineup, pricing tiers or policies, check their current documentation. Those details change, and a stale comparison does you no good.

The practical consequence is architectural. If your app uses OpenAI for both chat and embeddings, you can move the chat part and keep embeddings where they are. Mixed setups are common: one client object per provider, each with its own base URL.

Before you decide, write down which OpenAI features your product actually calls today. Teams are often surprised that the list is short: chat completions, maybe streaming, maybe function calls. If that is your list, the gap in features does not affect you at all, and the question reduces to output behaviour and price.

Migrating in four steps

Most migrations are a configuration change. Do them in this order so you can roll back easily.

  1. Get a key. Sign up with Google or email and password, then claim the trial credit on the API key page. See how to get an API key.
  2. Put the base URL and key in environment variables rather than in code, so you can switch with a deploy setting.
  3. Change the model string to uncensored.
  4. Run your test prompts and compare outputs before switching production traffic.
import os
from openai import OpenAI

client = OpenAI(
    base_url=os.environ.get("LLM_BASE_URL", "https://api.unrestrictedaimodel.cc/v1"),
    api_key=os.environ["LLM_API_KEY"],
)
MODEL = os.environ.get("LLM_MODEL", "uncensored")

def reply(user_text):
    r = client.chat.completions.create(
        model=MODEL,
        messages=[{"role": "user", "content": user_text}],
        temperature=0.7,
    )
    return r.choices[0].message.content

print(reply("Write two sentences about a lighthouse keeper who distrusts the sea."))

Because every value comes from the environment, pointing the app back at another provider is a one-line change.

A useful safeguard is a small shadow test. Send the same ten real user prompts to both providers for a day, store the answers side by side and have someone read them blind. You are looking for three things: refusals that disappeared, formatting that changed, and any task where the new answers are noticeably weaker. Decide your pass mark before you look at the results so you do not argue yourself into it afterwards.

Things that break during a switch

A few problems recur when people move an existing app.

Hard-coded model names

If your code branches on a model string, for example to choose a token limit, an unknown ID will fall through to a default. Search for the old name across the codebase, not only in the client call.

Unsupported request types

Messages that contain image parts, requests to embeddings endpoints and fine-tuning jobs will fail, because those features do not exist here. Remove or reroute them.

Rate limits tuned for another vendor

A full key allows 8 concurrent requests and 300 requests per minute. A trial key allows 2 and 60. A batch job written for higher limits will receive HTTP 429 with the code rate_limited or concurrency. Cap your worker pool and retry with backoff. When the service is briefly overloaded you will also see 429 with Retry-After: 5; honour it.

Prompts that apologise in advance

Prompts written to coax a cautious model often contain long disclaimers. They are harmless but cost tokens on every call. Trim them once you confirm the new model answers directly.

Cost: worked example

Pricing is $0.15 per 1M input tokens and $0.50 per 1M output tokens. Suppose a month of your product sends 10M tokens of prompts and receives 2M tokens of replies.

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

Scale it up and the arithmetic stays simple. At 100M input and 20M output tokens the bill is $15.00 plus $10.00, which is $25.00. Output tokens cost more than three times as much as input tokens here, so applications that generate long answers from short prompts, like fiction writing, spend most of their budget on the output side.

Use these numbers to compare against whatever you pay today, after checking the other provider's current price list yourself. Also compare what you do not pay for here: failed or refused requests are free, credit never expires, and there is no seat fee.

Top-ups start at $20 and go up to $500 in any whole amount. Larger top-ups add a bonus: 5% from $50, 10% from $100, 15% from $200. Crypto (USDT on TRC20, USDC on Base) is accepted. The pricing page has the details.

One more cost detail matters for chat apps. Each turn resends the conversation history, so input tokens grow as the dialogue gets longer. A conversation that ends at 20 turns with 6,000 tokens of history costs $0.0009 for that last input alone. Trimming or summarising old turns keeps both cost and latency down, and with a 100,000 token window you have room to be selective about it.

Deciding

Move if refusals are blocking legitimate work, you only need text, and one model is enough. Stay, or run both side by side, if you need multimodal input, embeddings, fine-tuning or a particular model you already depend on. A hybrid is a perfectly good outcome: send refusal-prone tasks like creative drafting or security write-ups to this endpoint and keep everything else where it is.

The quickest test costs nothing. Claim the trial credit, run your twenty most annoying prompts, and read the answers. The quickstart has the minimal code, and our overview of uncensored model options helps if you want to compare more than one provider.

Whatever you choose, keep your integration thin. A single module that builds the client, a model constant and one retry wrapper make later changes cheap. Provider choice is rarely permanent, and teams that treat it as a setting, not as an architecture decision, move faster in either direction.

Questions and answers

Is this the official OpenAI API under another name?

No. It is a different service that speaks the same API format and serves one open-weight model from an independent provider.

Can I use the openai Python or Node package?

Yes. Set the base URL to https://api.unrestrictedaimodel.cc/v1, use your key and set the one model ID the service lists.

Does it support vision, embeddings or fine-tuning?

No. The service is text only, with no image, audio or video, no embeddings and no fine-tuning.

How much does it cost per request?

It depends on token counts. At $0.15 per 1M input tokens and $0.50 per 1M output tokens, a request with 2,000 tokens in and 1,000 out costs $0.0008.

Your key is one form away

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

Get API key
Get API key