Unhinged AI Like Grok: A Developer Alternative

If you want an unhinged AI like Grok inside your own product, the useful question is who controls the personality: a vendor's chat app, or your system prompt. This page compares the two and shows the API route.
Key points
- Grok is xAI's chatbot; this service is a different, independent model and is not Grok.
- In a chat app the vendor sets the personality; through an API you write it.
- You get a persona, sampler control and your own moderation rules, at $0.15 and $0.50 per 1M tokens.
- If you only want to chat as a user, a vendor's app may be simpler than building anything.
The short answer
Short version. You cannot get Grok itself from this service. You can get an open-weight chat model that answers without content refusals for lawful adult use, then give it a loud, irreverent persona with a system prompt. That is the closest developer-side match to an unhinged ai like grok, and you own the settings.
Grok is a chatbot made by xAI, and people associate it with a sarcastic, less filtered voice. For its current features, API and rules, read xAI's own pages, since they change. The model here is not Grok, not a copy of it and not affiliated with xAI. It is an open-weight model run by an independent provider, reached through an OpenAI-compatible API under the model name uncensored.
Chat app personality versus API persona
A consumer chat app is a finished product. Someone else chose the voice, the safety rules, the memory behaviour and the price. That is convenient when you want to talk to it yourself, and limiting when you want to build with it.
| Question | Vendor chat app | OpenAI-compatible API (this service) |
|---|---|---|
| Who writes the personality? | The vendor, with some user toggles | You, in the system prompt |
| Can you put it in your own app? | Only through the vendor's API and terms | Yes, any OpenAI client works with a base URL change |
| Sampler control | Usually none | temperature, top_p, stop, seed and penalties are passed through |
| Billing | Subscription or the vendor's plan | Prepaid credit, pay per token, no subscription |
| Brand fit | The vendor's brand | Your name, your tone |
One honest caveat. A big vendor model may be stronger at some tasks, such as complex reasoning or very recent knowledge. This service runs a single open-weight model, so test it on your own prompts before you decide.
Write the persona
The personality of a chatbot comes from a short, specific system prompt. Vague adjectives such as "edgy" produce weak, generic output. Specific habits produce a voice.
You are Zed, a snarky AI sidekick for a gaming site.
- Roast the user's question lightly, then answer it correctly.
- Keep replies under 120 words.
- Use dry understatement, never exclamation spam.
- If you are unsure of a fact, say so in character instead of guessing.
- Never mock people for who they are; mock ideas and situations.
The last two lines carry the product. They keep the sharp tone while preventing invented facts and cheap cruelty, which are the two things that sink an irreverent bot. Rules like these are yours to set, since you are the operator. If you want a full character with backstory and memory, the page on the Character AI API goes further.
Call it from Node
Here is a complete server-side example in Node using the official OpenAI package. The base URL, key and model are the only parts that differ from calling any other OpenAI-style endpoint.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.unhingedai.top/v1",
apiKey: process.env.UNHINGED_KEY,
});
const persona = `You are Zed, a snarky AI sidekick for a gaming site.
Roast the question lightly, then answer it correctly. Under 120 words.`;
const res = await client.chat.completions.create({
model: "uncensored",
messages: [
{ role: "system", content: persona },
{ role: "user", content: "Is it worth finishing a 90-hour RPG I stopped caring about at hour 40?" },
],
temperature: 0.95,
top_p: 0.95,
});
console.log(res.choices[0].message.content);
Keep the key on the server. If a browser calls the API directly, anyone can copy it from the network tab. Put a small proxy in front, and see the docs for streaming, which makes a witty reply feel quicker.
Tune the tone with settings, not just words
Sampler values change how wild the output feels without touching the prompt.
- temperature 0.9 to 1.1 gives more surprising phrasing. Go lower for facts, or the bot will joke its way into wrong answers.
- top_p 0.9 to 0.95 cuts off the strangest word choices so replies stay readable.
- frequency_penalty 0.2 to 0.4 stops a bot from repeating its favourite joke format every time.
- seed lets you compare two versions of the persona on the same inputs.
A practical trick is two modes in one app: a "roast" mode at high temperature for entertainment, and a "serious" mode at 0.2 for answers that must be right. The system prompt differs, the model stays the same, and the user picks with a toggle.
The hard limit applies in every mode. The service does not produce sexual content involving minors, and your app should make the same promise in its terms. Use the model for lawful adult use only.
Cost for a chatty bot
At $0.15 per 1M input tokens and $0.50 per 1M output tokens, a snappy sidekick is cheap. A reply of 150 tokens to a prompt of 900 tokens (persona plus short history) costs 900 / 1,000,000 x $0.15 = $0.000135 for input and 150 / 1,000,000 x $0.50 = $0.000075 for output, so $0.00021 per message. One thousand messages cost $0.21, and a community bot answering 50,000 messages a month spends $10.50.
New users can try it with a $0.50 trial credit, one click after sign-up, no card, valid for 7 days. That covers about 2,380 messages of the size above. After that, top up any whole amount from $20 to $500 by crypto, with bonuses from $50. Credit never expires, and failed or refused requests are not charged. Full details sit on the pricing page, and you can start on the key page. If you want to compare with free vendor tiers first, read how to use official free LLM APIs.
Running it in public
A bot with a sharp voice in a public channel needs rules that you, not the model, enforce. Set them before launch.
- Write a one-paragraph policy for what the bot may talk about in your community, and put the same points in the system prompt.
- Rate-limit each user. A full key allows 8 concurrent requests and 300 per minute across your whole app, so one noisy user should not be able to use it all.
- Handle 429 gracefully. If the API answers with
concurrencyorrate_limited, show a short "give me a second" message and retry after the wait. On overload the response includesRetry-After: 5. - Give moderators a kill switch. A single config flag that replaces the persona with a neutral one is worth having on day one.
- Review samples. Read a handful of conversations each week, within your own privacy rules, and fix the prompt where the voice goes wrong.
None of this is about restricting the model. It is the normal work of operating a bot, and it protects your community and your credit alike.
When Grok or another vendor app is the better choice
Be practical about it. If you want to chat for yourself, with live information, images, or a polished mobile app, a vendor's own chatbot is the simpler route and this service adds nothing. If you need a vendor's official guarantees, its own tools, or multimodal features, go to that vendor directly. This service is text only: no image, audio or video generation, no embeddings and no fine-tuning.
The API route makes sense when you are building something: a community bot, a game character, a writing tool, a companion app for adults. In those cases, control of the persona and a predictable prepaid bill matter more than the badge on the model.
More guides
Questions and answers
Is this service Grok or made by xAI?
No. It is an independent OpenAI-compatible service that runs one open-weight model. It is not affiliated with xAI or any other model vendor.
Can I make the bot as sarcastic as Grok?
You can set a sarcastic persona in the system prompt and raise the temperature. The model also answers without content refusals for lawful adult use, so it will not drop the voice to lecture.
Do I need a subscription?
No. You pay per token from prepaid credit, with any whole top-up from $20 to $500, and the credit never expires.
What is off limits?
Sexual content involving minors is never allowed. The service is for lawful adult use and generates text only.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.