EN ▾

Troubleshooting Unfiltered Chat Responses: Filters and Limits

Developers often struggle with inconsistent outputs when using uncensored models, finding that responses are either cut off or trigger unexpected refusals. This guide explains how to troubleshoot these issues by adjusting parameters like temperature and managing your context window effectively.

Server rack with glowing blue lights representing an uncensored AI model

Understanding Uncensored Behavior and Refusals

When you switch from a standard model to an uncensored one, you might notice that the model still refuses certain prompts. It is important to understand that uncensored does not mean completely unrestricted. Our API serves an open-weight model that allows for adult, fictional, security-research, and controversial topics. However, there is a hard content limit: the model will refuse requests involving sexual content with minors. This is the primary reason you might see a refusal in your logs.

Unlike some competitors that might block content based on political views or subjective tone, our model focuses on the specific hard limit. If your request involves other controversial subjects, the model should generate a response. If you are seeing refusals for non-minor content, it might be due to how the prompt is structured or the model's interpretation of the context. You can test this by simplifying your prompt to see if the refusal persists.

Another factor is the model's training. While it is uncensored, it still follows patterns learned during training. If your prompt is ambiguous, the model might err on the side of caution. To minimize false positives, ensure your prompt is clear and specific. You can also try using different parameters to influence the model's behavior, such as adjusting the temperature or top_p values.

Finally, remember that our API is text-in, text-out. It does not have image or audio generation, so any refusal related to those modalities is not applicable here. If you are integrating this API into a larger system, ensure that your error handling accounts for these specific refusal types. This helps you distinguish between a model refusal and a system error, making troubleshooting more efficient.

Adjusting Temperature and Top_p for Consistency

One of the most common reasons for inconsistent outputs is the temperature setting. Temperature controls the randomness of the model's output. A higher temperature makes the model more creative but also more unpredictable. A lower temperature makes the output more focused and deterministic. If you are seeing random truncations or erratic behavior, try lowering the temperature to see if it stabilizes the response.

Similarly, top_p controls the nucleus sampling, which limits the model to consider only the top probability mass of tokens. A lower top_p value makes the output more conservative, while a higher value allows for more diverse responses. If you are experiencing issues with the model generating irrelevant or off-topic content, reducing top_p might help. This is particularly useful when you want the model to stick to a specific style or tone.

Combining temperature and top_p can give you fine-grained control over the model's behavior. For example, a low temperature with a high top_p can produce coherent but diverse outputs. Conversely, a high temperature with a low top_p can produce creative but focused responses. Experiment with these values to find the right balance for your use case.

It is also worth noting that these parameters can affect the length of the output. If you are seeing truncated responses, it might be due to the model reaching its max_tokens limit. Ensure that your max_tokens setting is appropriate for your needs. If you need longer responses, increase this limit, but be mindful of your token usage and costs.

Managing the 100,000 Token Context Window

Our API offers a generous context window of 100,000 tokens, which includes both the prompt and the completion. This allows for long conversations and complex inputs. However, managing this window is important to avoid truncation. If your conversation exceeds this limit, the model may start forgetting earlier parts of the dialogue, leading to inconsistent responses.

To manage the context window effectively, you should monitor the token usage of each request. You can do this by checking the usage information returned in the response. If you are approaching the limit, consider summarizing earlier parts of the conversation or truncating older messages. This helps keep the context window within the 100,000 token limit.

Another strategy is to use the streaming feature. Streaming allows you to receive the response in chunks, which can be useful for handling large outputs. It also allows you to stop the generation early if the response becomes irrelevant or if you reach a certain token threshold. This can help you manage your token usage more efficiently.

Finally, be aware that the context window is shared between the prompt and the completion. If your prompt is very long, you will have less room for the completion. This is an important consideration when designing your API calls. Ensure that your prompts are concise and relevant to maximize the space available for the model's response.

Handling Truncation and Rate Limits

Truncation can occur when the model reaches its max_tokens limit or when the context window is full. To handle this, you should set an appropriate max_tokens value based on your needs. If you are seeing frequent truncations, consider increasing this limit. However, keep in mind that longer responses consume more tokens, which can increase your costs.

Rate limits are another factor to consider. Our API allows 300 requests per minute per key. If you are making too many requests in a short period, you might hit this limit, resulting in a 429 error. To avoid this, you can implement exponential backoff in your code to retry requests after a delay. This helps you stay within the rate limit while ensuring that your requests are processed.

Additionally, you can use the streaming feature to handle large responses more gracefully. By receiving the response in chunks, you can process the output in real-time, which can be useful for applications that require immediate feedback. This also allows you to stop the generation early if needed, saving tokens and reducing latency.

Finally, ensure that your error handling is reliable. If you receive a 429 error, log it and implement a retry mechanism. If you receive a 401 or 402 error, check your API key and credit balance. These steps will help you troubleshoot issues related to truncation and rate limits more effectively.

When This API Is Not the Right Choice

While our API is excellent for uncensored text generation, it may not be the right choice for every use case. If you need image, audio, or video generation, our API does not support these modalities. It is a text-in, text-out service, so if your application requires multimedia outputs, you will need to integrate with other services.

Similarly, if you need embeddings, OCR, or fine-tuning capabilities, our API does not offer these features. You might need to use a different provider for these specific needs. Our API is designed for text generation, so if your workflow relies heavily on these other features, it might be more efficient to use a provider that offers a broader range of tools.

Another consideration is the payment method. Our API accepts only crypto payments, specifically USDT on TRC20 or USDC on Base. If your organization prefers traditional payment methods like credit cards or bank transfers, this might be a limiting factor. Additionally, the minimum top-up amount is $20, which might be too high for some users.

Finally, if you need a service with a specific SLA or certifications like SOC2 or HIPAA, our API does not currently offer these guarantees. If these are critical for your application, you might need to look for a provider that can meet these requirements. Our API is best suited for developers who need uncensored text generation and are comfortable with crypto payments and a simpler feature set.

Addressing Community Concerns on Reddit

Users on Reddit often discuss issues with uncensored ChatGPT alternatives, such as inconsistent performance and the need for multiple attempts to get a desired output. Some users mention that they have to try several prompts before getting a response that works. This is a common complaint, and it often relates to the model's sensitivity to prompt phrasing.

Another common theme is the frustration with standard ChatGPT models that start responses with generic phrases like 'I’ll keep it clinical, respectful...' Users want more direct and unfiltered responses. Our API addresses this by serving an uncensored model that does not impose these stylistic constraints. However, users still need to craft their prompts carefully to get the best results.

Some users also mention switching to other models like Grok for better performance. While our API is a strong alternative, it is important to note that each model has its own strengths and weaknesses. Users should test our API to see if it meets their specific needs for uncensored text generation.

Finally, users often ask about the reliability of uncensored models. Our API provides a consistent experience, but as with any AI model, there can be variations in output. By adjusting parameters like temperature and top_p, you can improve the consistency of your results. It is also helpful to monitor your token usage and context window to ensure optimal performance.

Integrating with Function Calling and JSON Mode

Our API supports function calling and JSON mode, which are useful for structured data extraction and integration with other systems. Function calling allows the model to call specific functions based on the input, which can be useful for tasks like data extraction or decision making. JSON mode ensures that the output is valid JSON, making it easier to parse and use in your application.

To use function calling, you need to define the functions that the model can call. You can then pass these functions to the API along with your prompt. The model will decide which function to call based on the input. This is particularly useful for applications that require structured outputs, such as databases or APIs.

JSON mode is also helpful for ensuring that the output is consistent and easy to parse. If you are using the API to generate data for a frontend application, JSON mode can help ensure that the data is in the correct format. This reduces the need for additional parsing logic in your code.

Finally, remember that function calling and JSON mode are just two of the features available. You can also use streaming, temperature, top_p, stop sequences, and penalties to fine-tune the model's behavior. By combining these features, you can create a reliable and flexible API integration that meets your specific needs.

Frequently asked questions

Why is my uncensored ChatGPT response being refused?

Our API refuses only sexual content involving minors. Other controversial or adult topics should be allowed. If you are seeing refusals for other content, check your prompt phrasing and model parameters.

How can I prevent my responses from being truncated?

Truncation can happen if you hit the max_tokens limit or the 100,000 token context window. Increase your max_tokens setting or manage your context window by summarizing older messages.

What payment methods are accepted for topping up credit?

We accept only crypto payments: USDT on TRC20 or USDC on Base. The minimum top-up is $20, and the maximum is $500. Credit cards and PayPal are not supported.

Does this API support image or audio generation?

No, our API is text-in, text-out only. It does not support image, audio, video, or embedding generation. You will need a different provider for those capabilities.