Integrating an Uncensored Text API: A Developer Checklist
Connecting to an uncensored backend often requires adjusting standard OpenAI client settings. This guide walks you through the specific endpoints, parameter configurations, and verification steps needed to ensure smooth text-in, text-out functionality.

Understanding the Base URL and Model ID
Before writing any code, you must configure your client to communicate with the correct endpoint. Our API is hosted at https://api.chatgptsemfiltro.com/v1. Unlike standard OpenAI integrations that might default to api.openai.com, you need to update your base URL variable to point here. This ensures that your requests are routed to the uncensored model rather than a filtered one.
Once the base URL is set, you must specify the model ID in your requests. The model ID to send is simply uncensored. This identifier tells the server which specific open-weight text model to invoke. It is important to use this exact string to avoid errors, as the system does not support model routing or switching between different models dynamically.
Keeping these two elements correct is the foundation of your integration. If the base URL is wrong, your requests will fail to reach the service. If the model ID is incorrect, the server may not recognize the request or may default to a different behavior. Always double-check these values in your configuration files before proceeding to more complex features.
This setup is straightforward but essential. It allows you to maintain a standard OpenAI-compatible structure while accessing the uncensored capabilities of our service. By isolating these configuration steps, you can ensure that your application connects reliably to the backend.
Configuring Endpoints and Parameters
Our API supports three main endpoints: POST /v1/chat/completions, POST /v1/responses, and GET /v1/models. The chat completions endpoint is the primary interface for generating text. It accepts standard parameters such as temperature, top_p, stop, and seed. These parameters allow you to control the randomness and reproducibility of the output.
Function calling and JSON mode are also supported. You can define tools for function calling, enabling your application to interact with external systems or parse structured data. JSON mode ensures that the output is strictly valid JSON, which is useful for programmatic integration. The streaming feature is available over Server-Sent Events (SSE), allowing you to receive usage information in the last chunk of the stream.
It is important to note that the context window is 100,000 tokens, covering both the prompt and the completion together. This large context window allows for handling lengthy conversations or documents. However, you must manage your token usage carefully, as the API charges based on token consumption. Understanding these parameters helps you optimize your requests for cost and performance.
By configuring these endpoints and parameters correctly, you can use the full power of the uncensored model. The flexibility in parameters allows you to tailor the model's behavior to your specific use case, whether it is creative writing, code generation, or data extraction.
Pricing and Credit Management
The pricing structure is straightforward: $0.15 per 1M input tokens and $0.50 per 1M output tokens. You pay for real token usage, and errors or refusals are free. This means you are not charged for failed requests or content that is filtered out. The prepaid credit is charged based on actual usage, and there is no monthly subscription fee. Your paid credit never expires, providing flexibility in how you manage your budget.
To add credit, you can use crypto only. The accepted currencies are USDT on the TRC20 network or USDC on the Base network. You can top up with any whole amount between $20 and $500. If you top up with $50 or more, you receive a bonus credit ranging from +5% to +15%. This bonus incentivizes larger top-ups and provides additional value for your investment.
New accounts start with $0.50 of trial credit, requiring no credit card. This allows you to test the API without immediate financial commitment. The trial credit is sufficient for basic testing and verification of the integration. Once the trial credit is exhausted, you will need to top up to continue using the service.
Understanding the pricing and credit system is important for managing your usage. By monitoring your token consumption, you can avoid unexpected charges and ensure that your budget aligns with your project needs. The prepaid model offers transparency and control over your spending.
Integration and Verification Checklist
When integrating the API, start by verifying the connection with a simple text request. Ensure that the base URL and model ID are correct. Then, test the streaming functionality to confirm that SSE works as expected. This step is important for applications that rely on real-time responses.
Next, verify the function calling and JSON mode capabilities. Define a simple tool and request the model to use it. Check that the output is valid JSON and that the function call is executed correctly. This verification ensures that your application can interact with external systems or parse data accurately.
Test the rate limits by sending multiple requests in quick succession. The API allows 300 requests per minute per key. Ensure that your application handles rate limit errors gracefully, typically by implementing exponential backoff. This prevents your application from being throttled during high-traffic periods.
Finally, review the error handling. The API returns specific error codes: 401 for invalid keys, 402 for no credit, and 429 for rate limits. Ensure that your application handles these errors appropriately, providing meaningful feedback to the user or retrying the request as needed. This checklist ensures a reliable and reliable integration.
When This API Is Not the Right Choice
While our API excels at text generation, it is not a complete solution for all AI needs. It is a text-only API, meaning it does not support image, audio, or video generation. If your project requires multimodal capabilities, such as generating images from text prompts or analyzing audio files, this API will not suffice.
Additionally, the API does not offer embeddings, OCR, or fine-tuning. If you need to create vector embeddings for semantic search, perform optical character recognition on documents, or fine-tune the model on your specific dataset, you will need to look for other services. The API is designed for text-in, text-out scenarios, so its capabilities are limited to natural language processing.
Furthermore, the API does not provide model routing or multiple model options. If you need to switch between different models based on performance or cost, this API may not be the best fit. It serves a single uncensored open-weight text model, so you cannot use the strengths of different models for different tasks.
Finally, if you require an SLA guarantee or certification such as SOC2 or HIPAA, this API may not meet your compliance needs. It is an independent service that focuses on providing uncensored text generation without these enterprise-level guarantees. Consider these limitations when deciding if this API is the right choice for your project.
Addressing Common Developer Questions
Developers often ask how to handle uncensored chat applications without breaking their workflow. The key is to configure the client correctly and understand the model's behavior. By using the uncensored model ID and adjusting parameters like temperature, you can achieve the desired level of freedom in the output.
Another common question is about the difference between general chatbots and uncensored models. General chatbots often have moderation layers that block certain topics, while uncensored models allow for more open-ended conversations. Our API provides this openness, allowing users to explore a wider range of topics without artificial restrictions.
Users also inquire about the best practices for prompting. Since the model does not refuse lawful adult, fictional, or controversial topics, you can craft prompts that are more direct and less constrained. However, it is important to note that the model still has a hard content limit regarding sexual content involving minors, so prompts should be crafted accordingly.
Finally, developers often ask about the reliability of the API. With a 100,000 token context window and support for streaming and function calling, the API is designed for reliable integration. By following the integration checklist and understanding the pricing model, you can ensure a smooth and reliable experience.
Troubleshooting and Best Practices
Troubleshooting common issues starts with checking your API key and credit balance. If you receive a 401 error, verify that your key is correct and active. If you receive a 402 error, ensure that you have sufficient credit. You can top up using USDT on TRC20 or USDC on Base to resolve this issue.
Rate limiting is another common challenge. If you encounter a 429 error, implement exponential backoff in your application. This ensures that your application does not overwhelm the API with requests. Monitoring your request rate and adjusting your application's behavior accordingly can help prevent throttling.
It is also important to manage your token usage efficiently. Since the context window is 100,000 tokens, you can handle long conversations without losing context. However, be mindful of the input and output token counts to optimize costs. Using the formula (tokens divided by 1,000,000 times the per-million price) can help you estimate costs accurately.
Finally, stay updated with the API's features and limitations. Since the API is an independent service, it may evolve over time. Keep an eye on the documentation for any updates to endpoints, parameters, or pricing. By staying informed, you can ensure that your integration remains reliable and up-to-date.
Frequently asked questions
How do I start using the uncensored API?
Sign up with Google or email to receive your API key immediately. You will get $0.50 of trial credit to test the service without a credit card. Update your client's base URL to https://api.chatgptsemfiltro.com/v1 and use the model ID 'uncensored'.
What payment methods are accepted?
The API accepts crypto only: USDT on the TRC20 network or USDC on the Base network. You can top up with amounts between $20 and $500. There is no support for credit cards, PayPal, or bank transfers.
Does the API support image generation?
No, this is a text-only API. It does not support image, audio, video generation, embeddings, OCR, or fine-tuning. It is designed for text-in, text-out scenarios with a 100,000 token context window.
How is pricing calculated?
Pricing is $0.15 per 1M input tokens and $0.50 per 1M output tokens. You are charged for real token usage, while errors and refusals are free. Paid credit never expires, and there is no monthly subscription fee.