EN ▾
Get API key

How to Get an Uncensored AI API Key and Keep It Safe

To get an uncensored ai api key you sign up, open the API key page and copy the key. The trial credit is a single click, so you can send a first request in a few minutes. Below are the exact steps, a test call, and the habits that keep a key from leaking.

Last updated

A glowing key on a pedestal linked by a light path to a terminal, illustrating getting and storing an API key

Summary

  • Sign up with Google, or with email and password, then open the API key page.

  • Claim $0.50 trial credit with one click: one per person, 7 days, no card, 2 concurrent and 60 per minute.

  • Store the key in an environment variable, never in browser code or a public repository.

  • Check GET /v1/models and the X-Balance-USD header to confirm the key works.

Steps from sign-up to key

  1. Sign up. Use Google, or email and password.
  2. Open the API key page. Your key is shown there. Copy it and store it in a password manager or secrets store.
  3. Claim the trial. New users can claim $0.50 of trial credit with one click on that page. It is one per person, valid for 7 days, and needs no card.
  4. Test it. Run the checks in the next section.
  5. Top up when you are ready. Any whole amount from $20 to $500, in crypto (USDT on TRC20 or USDC on Base). Bonus credit: +5% from $50, +10% from $100, +15% from $200.

No card is needed for the trial. For account questions beyond this, the docs and the support page are the right places.

Your first request

Put the key in an environment variable so it stays out of your code:

export UNCENSORED_KEY="paste-your-key-here"

# 1. Confirm the key is accepted and see the model ID
curl https://api.aiuncensoredinfo.com/v1/models \
  -H "Authorization: Bearer $UNCENSORED_KEY"

# 2. Send a chat request and print headers (look for X-Balance-USD)
curl -i https://api.aiuncensoredinfo.com/v1/chat/completions \
  -H "Authorization: Bearer $UNCENSORED_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"uncensored","messages":[{"role":"user","content":"Reply with the word ready."}],"max_tokens":5}'

The first call returns the list of models, and you should see uncensored. The second returns a reply and response headers including X-Request-Id and X-Balance-USD. The same in Python:

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.aiuncensoredinfo.com/v1",
    api_key=os.environ["UNCENSORED_KEY"],
)
r = client.chat.completions.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Reply with the word ready."}],
    max_tokens=5,
)
print(r.choices[0].message.content)

Trial key versus full key

TrialAfter a top-up
Credit$0.50, valid 7 daysWhatever you add; never expires
Concurrent requests28
Requests per minute60300
PaymentNot neededCrypto only

Hitting a limit gives HTTP 429. The error code rate_limited means too many requests per minute and concurrency means too many at once. Streamed requests hold their slot until the stream finishes, which is how a trial key with 2 slots can look "stuck" if you start two streams and forget to read them to the end.

Common first-key problems

  • Key rejected. Check for a trailing space or newline copied with the key, and that the header reads Authorization: Bearer followed by the key.
  • Wrong base URL. Your client must use https://api.aiuncensoredinfo.com/v1. Some tools want the full path, and some want only the host; read their field label carefully.
  • Model not found. The model ID is uncensored, written exactly like that. Client defaults such as a vendor's model names will not work.
  • Empty balance. Trial credit expires after 7 days. Read X-Balance-USD or call GET /v1/balance.
  • 429 on a new script. You probably fired requests in parallel. Cap workers at 2 on the trial key.

Keeping the key safe

An API key is a password that spends your money. Anyone who has it can use your credit. These habits prevent most leaks:

  • Environment variables or a secrets manager. Not hard-coded in source files.
  • Never in the browser. JavaScript on a page is readable by every visitor. Call your own server, and let it add the key.
  • Keep it out of git. Put .env in .gitignore before your first commit. A key pushed to a public repository should be treated as leaked, even if you delete the commit.
  • One key per environment. Accounts that have topped up can hold up to 5 keys with labels, so give development and production their own and a leak in a test script does not touch production.
  • Do not paste keys in chats, tickets or screenshots.

Rotation and what to do after a leak

Rotate keys on a schedule you can keep, such as when someone leaves the team or when a laptop is lost, and always after a suspected leak. Replacing a key is self-service: open the API key page and regenerate (reissue) the key. The old key stops working at once, so update your environment variable or secrets store straight away. There is no need to contact support to replace a key.

If you cannot afford a gap in service, top up first and use the extra keys. Accounts that have topped up can hold up to 5 keys, give each a label and revoke any of them. Create a new labelled key, deploy it, confirm traffic works, then revoke the old one. After a leak, revoke or regenerate first and investigate afterwards.

Meanwhile, watch the balance. Because every response carries X-Balance-USD, a script that polls a cheap request or GET /v1/balance and alerts on a sudden drop gives you an early warning. Capping spend on your side, by limiting how many requests your app can make, adds a second guard.

Your key is billed against the credit on your account, and each response reports the remaining amount in X-Balance-USD. That has two practical effects. A leaked key can only drain what you have loaded, so keeping a modest balance limits the damage. And a sudden drop in the header between two quiet periods is the clearest sign that something else is using the key. Check it after deploys, and set a reminder to look at the balance each week while you are still testing.

Using the key in a Node project and in chat clients

In Node, the official SDK reads the same settings as the Python one:

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.aiuncensoredinfo.com/v1",
  apiKey: process.env.UNCENSORED_KEY,
});

const r = await client.chat.completions.create({
  model: "uncensored",
  messages: [{ role: "user", content: "Reply with the word ready." }],
  max_tokens: 5,
});
console.log(r.choices[0].message.content);

Chat front ends that accept an OpenAI-compatible endpoint (SillyTavern is an example) need three fields: the base URL, your key and the model name uncensored. Paste the key into the client's settings on your own device, not into a shared computer. If the client has a "test connection" button, use it before you start a long session.

What the key gives you access to

One key reaches POST /v1/chat/completions, POST /v1/responses and GET /v1/models, plus the balance endpoints. The model is one open-weight model run by an independent provider, tuned for lawful adult use, with a 100,000-token context window. The service is text only. Price is $0.15 per 1M input tokens and $0.50 per 1M output tokens, and failed or refused requests are not charged. Details are on the pricing page. If you are still deciding how to wire it into an app, read how to integrate uncensored AI into your application.

Frequently asked questions

Where do I find my API key?

Sign up with Google or email and password, then open the API key page. The key is available there, and new users can claim $0.50 of trial credit with one click.

Do I need to pay to try it?

No. The trial needs no card, and paid top-ups are crypto only, using USDT on TRC20 or USDC on Base.

Can I put the key in my website's JavaScript?

No. Anyone can read it and spend your credit. Keep it on a server and call the API from there.

Which model name do I use?

Use uncensored as the model ID, with the base URL https://api.aiuncensoredinfo.com/v1.

Retrieve your API key

Sign up, copy the key, and update the base URL. Simple setup.