Integrating Uncensored Models via OpenAI SDK
Developers often find that uncensored models still refuse prompts or add polite disclaimers. This guide shows how to configure the OpenAI-compatible SDK to get raw, unhedged text from the uncensored endpoint.

Understanding the Uncensored Model ID
When integrating an uncensored model, the first step is selecting the correct model identifier. Our API provides a single model ID named uncensored. This model is an open-weight text model designed to output text without the standard refusals found in many commercial models. It accepts text input and returns text output, making it suitable for a wide range of applications.
The base URL for all requests is https://api.abliteratedllmmodels.com/v1. You must send your requests to this base URL to ensure you are interacting with the correct service. The model ID uncensored is the only model available, so there is no need to select from a list of different model versions.
Using the correct model ID is important for achieving the desired output. If you use a different model ID, you might not get the uncensored behavior you expect. The uncensored model does not refuse lawful adult, fictional, security-research, or controversial topics. This makes it ideal for developers who need raw, unfiltered text.
Ensure that your SDK configuration points to the correct base URL and model ID. This setup ensures that your requests are processed by the uncensored model. You can verify the model availability by sending a GET request to the /v1/models endpoint. This endpoint confirms that the uncensored model is ready to accept requests.
Configuring SDK Parameters for Raw Output
To minimize hedging and refusals, you need to adjust the parameters in your SDK calls. The API supports parameters such as temperature, top_p, stop, seed, and penalties. These parameters control how the model generates text. Setting the temperature higher can make the output more diverse and less predictable, which may reduce hedging.
The top_p parameter controls the nucleus sampling. A lower top_p value restricts the model to the most likely tokens, while a higher value allows for more creativity. Experimenting with these values can help you find the right balance between coherence and freedom. The API also supports function calling and JSON mode, which can be useful for structured outputs.
Streaming over Server-Sent Events (SSE) is another feature to consider. Streaming allows you to receive the response in chunks, which can be useful for real-time applications. The usage information is included in the last chunk, so you can track token consumption accurately. This feature is particularly useful for monitoring costs and performance.
Remember that the uncensored model does not guarantee the absence of all hedging. You may still need to use prompt engineering techniques to achieve the desired output. The API supports a context window of 100,000 tokens, which allows for long conversations and large inputs. This is beneficial for applications that require extensive context.
Handling Errors and Rate Limits
When integrating the API, you need to handle errors and rate limits effectively. The API returns specific error codes to help you diagnose issues. A 401 error indicates an invalid key, so you should verify your API key. A 402 error means you have no credit, and you need to top up your account. A 429 error indicates that you have hit the rate limit.
The rate limit is 300 requests per minute per key. If you exceed this limit, you will receive a 429 error. You can monitor your usage and adjust your request rate to avoid hitting the limit. The API charges by real token usage, so errors and refusals are free. This means you can experiment with different parameters without worrying about extra costs.
Prepaid credit is charged by real token usage, and paid credit never expires. You can top up your account with crypto, specifically USDT on TRC20 or USDC on Base. The minimum top-up amount is $20, and the maximum is $500. You can also receive bonus credit when you top up from $50, with bonuses ranging from 5% to 15%.
Always check the error codes and handle them appropriately in your application. This ensures a smooth user experience and prevents your application from crashing. You can also use the GET /v1/models endpoint to verify the model status and ensure that the API is available.
Prompt Engineering for Uncensored Outputs
Prompt engineering is essential for getting the best results from the uncensored model. You can use techniques such as role-playing, system prompts, and specific instructions to guide the model. The model does not refuse lawful adult, fictional, security-research, or controversial topics, so you can be more direct in your prompts.
For example, you can ask the model to act as a specific character or to output text in a certain style. You can also use the stop parameter to prevent the model from generating unwanted text. The seed parameter allows you to reproduce the same output, which is useful for testing and debugging.
The penalties parameter can be used to discourage certain words or phrases. This can help you fine-tune the output to your liking. The API supports a wide range of parameters, so you can customize the behavior of the model to fit your needs.
Remember that the model is uncensored, but it is not a magic bullet. You may still need to experiment with different prompts to get the desired result. The context window of 100,000 tokens allows for long and detailed prompts, which can help the model understand the context better.
When Our API Is Not the Right Choice
While our API is excellent for text generation, it may not be the right choice for all applications. If you need embeddings, image generation, audio, or video, our API does not support these features. The API is focused on text-in, text-out interactions, so you will need to use other services for multimedia tasks.
Similarly, if you need OCR, fine-tuning, or model routing, our API does not offer these capabilities. You can use our API for the text steps around these tasks, but you will need to integrate with other tools for the full workflow. For example, you might use our API to generate text and then use another service to process images.
Additionally, if you need a service with specific SLA percentages, certifications like SOC2 or HIPAA, or on-prem deployment, our API may not meet your needs. We are an independent service and do not claim these certifications or deployment options. You should check the documentation of other providers if these features are critical for your application.
Finally, if you need a free unlimited tier, our API is not the right choice. We offer a prepaid credit system with no monthly fee, but you need to pay for token usage. The trial credit of $0.50 is available for new accounts, but it is limited. You should consider these factors when deciding if our API is suitable for your project.
Addressing Community Questions on Reddit
Users on Reddit often ask why uncensored models still seem censored or biased. Some users report that models like GLM or Gemma appear more biased than regular models. This can happen if the model is not properly configured or if the prompt is not specific enough. The uncensored model on our API is designed to reduce hedging, but it may still require careful prompt engineering.
Another common question is whether uncensored models are suitable for image-to-3D tasks. While our API is text-focused, users can use it to generate text descriptions for 3D models. You can then use other tools to convert these descriptions into 3D models. The uncensored model can provide detailed and creative text outputs for this purpose.
Users also discuss the cost-effectiveness of uncensored models. Some users find that the cost per token is reasonable, especially compared to other providers. The prepaid credit system allows you to control your spending, and the bonus credit for larger top-ups can help reduce costs. This makes our API an attractive option for developers who need reliable and affordable text generation.
Finally, users ask about the reliability of uncensored models for cyber exploitation and red teaming. The uncensored model can be used for these purposes, but it is important to note that it is a text model. You may need to integrate it with other tools for full cyber exploitation capabilities. The model does not refuse controversial topics, making it suitable for these advanced use cases.
Testing and Debugging Your Integration
Testing your integration is important to ensure that the API works as expected. You can start by sending simple requests to the /v1/chat/completions endpoint and verifying that the response is correct. Use the uncensored model ID and check that the output is raw and unhedged. You can also test the streaming feature to see how the response is delivered in chunks.
Debugging issues often involves checking the error codes and rate limits. If you receive a 401 error, verify your API key. If you receive a 402 error, check your credit balance. If you receive a 429 error, reduce your request rate. The API provides clear error messages to help you diagnose problems quickly.
You can also use the seed parameter to reproduce the same output, which is useful for testing. By setting a specific seed, you can ensure that the model generates the same text each time. This helps you verify that your prompt engineering techniques are working correctly.
Finally, monitor your usage and costs. The API charges by real token usage, so you can track your spending accurately. Use the GET /v1/models endpoint to check the model status and ensure that the API is available. Regular testing and monitoring will help you maintain a reliable and efficient integration.
Frequently asked questions
How do I get trial credit?
Every new account gets $0.50 of trial credit. You do not need to provide a card to receive this credit. It is available immediately after signup.
What payment methods are accepted?
We accept crypto only, specifically USDT on TRC20 or USDC on Base. You can top up with any whole amount from $20 to $500. Cards, PayPal, and bank transfers are not accepted.
What is the rate limit?
The rate limit is 300 requests per minute per key. If you exceed this limit, you will receive a 429 error. You can adjust your request rate to avoid hitting the limit.
Does the API support image generation?
No, the API is text-only. It does not support image, audio, or video generation. You can use it for text-in, text-out interactions, but you will need other tools for multimedia tasks.