What is an uncensored AI API?

An uncensored AI API provides hosted access to reduced-refusal models without running your own inference hardware. Authenticate with your RouterHub key and select a model by its exact API ID.

Set up your API key

  1. Create a RouterHub account and add prepaid credits in Billing.
  2. Create an API key in your dashboard and set ROUTERHUB_API_KEY privately in your terminal.
  3. Choose the exact model ID and supported protocol from the catalogue below.

Keep the key out of browser JavaScript, public repositories and AI chats. Running an example sends a paid request.

Python and cURL examples

Example model: DeepSeek V4 Pro Uncensored (deepseek-v4-pro-uncensored). Install openai with pip install openai.

Python

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["ROUTERHUB_API_KEY"],
    base_url="https://routerhub.si/v1",
    timeout=600.0,
    max_retries=0,
)
response = client.chat.completions.create(
    model="deepseek-v4-pro-uncensored",
    messages=[{"role": "user", "content": "Write a short noir scene set in a lighthouse."}],
    max_tokens=256,
)
print(response.choices[0].message.content)

cURL

curl --connect-timeout 30 --max-time 600 https://routerhub.si/v1/chat/completions \
  -H "Authorization: Bearer $ROUTERHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"deepseek-v4-pro-uncensored","messages":[{"role":"user","content":"Write a short noir scene set in a lighthouse."}],"max_tokens":256}'

Streaming, retries and timeouts

For streaming Chat Completions, add stream=True in Python and read chunk.choices[0].delta.content when present. Streaming delivers incremental output. After a disconnect or timeout, check the request ID and Usage before resending a paid request.

The Python example sets a ten-minute client timeout and disables automatic retries. Intermediary timeouts are configured separately.

Instruction profiles

RouterHub’s prompt-profile uncensored variants use a server-managed instruction profile. Customer system/developer instructions can be replaced by that profile; put task-specific requirements in the user message.

Choose an exact variant ID

RouterHub token prices · USD per million tokens
Model / exact API IDVariantInputCached inputOutputContextAvailability
DeepSeek V4 Pro Uncensored
deepseek-v4-pro-uncensored
uncensored$0.2$0.0016$0.4Not publishedpreview
DeepSeek V4.1 Flash Uncensored
deepseek-v4.1-flash-uncensored
uncensored$0.15$0.0026906$0.6Not publishedpreview
GLM 5.3 Flash Uncensored
glm-5.3-flash-uncensored
uncensored$0.15$0.013453$0.5Not publishedpreview
GLM 5.3 Uncensored
glm-5.3-uncensored
uncensored$0.2$0.116591985714$0.628571428571Not publishedpreview
GLM 5.3 Flash Abliterated
glm-5.3-flash-abliterated
abliterated$0.3$0.12$11,048,576 tokenspreview
GLM 5.3 Abliterated
glm-5.3-abliterated
abliterated$0.4$0.16$1.3333333333331,048,576 tokenspreview
Qwen 3.8 Max Uncensored
qwen3.8-max-uncensored
uncensored$0.25$0.03125$0.751,000,000 tokenspreview
Kimi K3.1 Pro Uncensored
kimi-k3.1-pro-uncensored
uncensored$0.3$0.03$1.51,048,576 tokenspreview
DeepSeek V4.1 Flash Abliterated
deepseek-v4.1-flash-abliterated
abliterated$0.3$0.055$1.251,000,000 tokenspreview
DeepSeek V4 Pro Abliterated
deepseek-v4-pro-abliterated
abliterated$0.4$0.04$1.61,000,000 tokenspreview
DeepSeek V4.1 Flash 1017 Abliterated
deepseek-v4.1-flash-1017-abliterated
abliterated$0.3$0.055$1.251,000,000 tokenspreview

Coding tools and further setup