Integrating an OpenAI-Compatible Uncensored API
Developers often struggle with strict content filters and phone verification requirements when integrating large language models. This guide provides a tested integration checklist for connecting to our text-in, text-out API, including SDK settings and a step-by-step setup process for developers who need fewer restrictions.

Understanding the Uncensored Text API
This site is an independent service and is not affiliated with Anthropic.
When searching for a claude nsfw alternative, developers often look for a model that does not refuse lawful adult, fictional, or controversial topics. Our API serves one uncensored open-weight text model, identified by the model id uncensored. This model accepts text input and returns text output, making it suitable for a wide range of applications where standard filters might interfere with the desired output.
The API is hosted and accessible via a base URL at https://api.claudensfw.cc/v1. It supports standard OpenAI-compatible endpoints, including POST /v1/chat/completions and POST /v1/responses. This compatibility allows developers to use existing SDKs and tools without significant code changes. The context window supports up to 100,000 tokens for both prompt and completion combined, enabling long-form content generation and complex context handling.
Unlike many competitors, our service does not offer embeddings, image generation, audio processing, or video capabilities. It is strictly a text-in, text-out API. This focus ensures reliability for text-based tasks. Developers should verify that their use case aligns with these capabilities before integration. The model does not refuse requests based on topic alone, provided they do not involve sexual content with minors.
The API is designed for independence and simplicity. There are no named customers or benchmark scores to cite. The service is not an official product of any other company, nor is it a reseller of another vendor's model. Developers can rely on the consistent behavior of the uncensored model for their specific needs. The absence of extra features like OCR or fine-tuning keeps the integration straightforward and predictable.
Account Setup and Authentication
Getting started with our API requires minimal friction. Every new account receives $0.50 of trial credit, allowing developers to test the integration immediately. No credit card or phone number is needed for signup. Users can continue with Google or create an account using an email and password. The API key is shown immediately upon creation, enabling quick access to the service.
Authentication is handled via the API key, which must be included in the request headers. If an invalid key is used, the API returns a 401 error. This ensures that only authorized users can access the model. The key is tied to the account and can be used across multiple requests until it is revoked or the account is deleted.
Developers should store their API key securely and avoid exposing it in client-side code. The key is the primary method of access to the uncensored model. If the key is lost, it can be regenerated from the account dashboard. The service does not track user identity beyond the account creation process, providing a layer of privacy for developers who prefer not to link their identity to their usage.
The trial credit is sufficient for initial testing. Once the trial credit is exhausted, users must top up their account to continue using the service. The top-up process is straightforward and supports whole amounts between $20 and $500. This structure allows developers to control their spending and avoid unexpected charges. The trial credit never expires, so users can return to test the service at any time.
Payment Methods and Credit Management
Our API uses a prepaid credit system charged by real token usage. Errors and refusals are free, meaning developers do not pay for failed requests. The pricing is $0.15 per 1 million input tokens and $0.50 per 1 million output tokens. This model is transparent and predictable, allowing developers to estimate costs based on token consumption. The credit never expires, so users can accumulate balance over time without pressure.
Top-ups are processed via cryptocurrency only. Users can pay with USDT on the TRC20 network or USDC on the Base network. The minimum top-up amount is $20, and the maximum is $500. There are no monthly fees or subscriptions, so users pay only for what they use. This flexibility is ideal for developers with variable usage patterns or those who prefer to avoid traditional payment methods.
Bonus credit is available for top-ups of $50 or more, ranging from +5% to +15% depending on the amount. This incentive encourages larger top-ups and provides additional value for heavy users. The bonus credit is added immediately to the account balance, allowing users to start using the service without delay. The bonus is non-refundable and expires when the credit is used.
Cards, PayPal, and bank transfers are not accepted. This limitation ensures fast processing and reduces friction for crypto-savvy developers. Users must have a compatible wallet to send payments. The service does not hold funds or process refunds, so users should ensure the correct network and address are used. The transparency of the crypto system aligns with the uncensored nature of the API, offering a decentralized payment option.
Integration with OpenAI-Compatible SDKs
Integrating our API with existing SDKs is straightforward due to its OpenAI compatibility. Developers can use the standard openai library for Python or the equivalent libraries for Node.js and other languages. The base URL must be set to https://api.claudensfw.cc/v1, and the model id should be set to uncensored. This configuration ensures that requests are routed correctly to our uncensored model.
The API supports streaming over Server-Sent Events (SSE), allowing developers to receive partial responses in real-time. This feature is useful for applications that require immediate feedback or for improving the user experience. The usage information is included in the last chunk of the stream, providing accurate token counts for billing purposes. Developers can implement streaming by setting the appropriate parameters in their SDK calls.
Function calling and JSON mode are supported, enabling developers to integrate the API into complex workflows. The model can return structured data in JSON format, which is useful for parsing and processing. Parameters such as temperature, top_p, stop sequences, seed, and penalties can be adjusted to control the model's behavior. These settings allow developers to fine-tune the output for specific use cases.
The API does not support image, audio, or video generation, so developers should ensure their use case is text-based. The context window of 100,000 tokens allows for long conversations and large documents. Developers can send multiple messages in a single request, maintaining context across turns. This capability is essential for building chatbots and conversational agents that require long-term memory.
Rate Limits and Error Handling
Our API enforces a rate limit of 300 requests per minute per key. This limit ensures fair usage and prevents abuse. If the limit is exceeded, the API returns a 429 error. Developers should implement exponential backoff strategies to handle rate limits gracefully. This approach prevents overwhelming the server and ensures that requests are processed efficiently.
Errors are clearly defined and easy to handle. A 401 error indicates an invalid key, while a 402 error indicates insufficient credit. These errors are free, meaning developers do not pay for failed requests. This policy reduces the risk of unexpected charges and allows developers to test their integration without cost. Developers should monitor these errors and adjust their code accordingly.
The API does not guarantee uptime or speed, so developers should implement retry logic for transient errors. The service is hosted and accessible via the internet, so network issues may affect performance. Developers should test their integration under various conditions to ensure reliability. The lack of an SLA means that developers should not rely on the API for mission-critical applications without fallback options.
Rate limits are per key, so developers can use multiple keys to increase throughput. This strategy is useful for applications with high demand or for distributing load across different accounts. The limit is strict, so developers should monitor their usage and adjust their keys as needed. The transparency of the rate limit policy allows developers to plan their usage effectively.
When Our API Is Not the Right Choice
While our API is excellent for uncensored text generation, it may not be the right choice for all developers. If your application requires image generation, audio processing, or video creation, our API will not meet your needs. The service is strictly text-based, so developers looking for multimodal capabilities should consider other options. The absence of these features is a key differentiator that developers should consider.
Developers who need fine-tuning or model routing should also look elsewhere. Our API serves a single uncensored model, so there is no option to switch between different models or train custom versions. This limitation is suitable for developers who want a consistent experience but may not suit those who need flexibility in model selection. The simplicity of the service is its strength, but it also limits advanced use cases.
If your application requires embeddings or search capabilities, our API is not the right fit. The service does not provide vector embeddings, so developers cannot use it for semantic search or recommendation systems. This limitation is important for developers building complex AI applications that rely on multiple models and features. The focus on text generation means that other capabilities are not available.
Developers who need a guaranteed SLA or certifications such as SOC2 or HIPAA should consider other providers. Our service does not offer these guarantees, so it may not be suitable for enterprise clients with strict compliance requirements. The lack of these features is a trade-off for the uncensored nature of the model. Developers should weigh these factors when deciding if our API is the right choice for their project.
Addressing Reddit Discussions on Alternatives
Threads on r/AIToolBench often discuss the best Claude alternatives, with users expressing frustration over phone verification and content filters. Many developers seek a reliable alternative that bypasses these restrictions without requiring a credit card. Our API addresses these concerns by offering a simple signup process and uncensored content generation. The trial credit allows users to test the service without financial commitment.
On r/AI_Agents, developers frequently mention phone verification as a barrier to entry. Our API eliminates this hurdle by allowing signup with just an email or Google account. This feature is particularly appealing to developers who prefer anonymity or who have had issues with phone verification in the past. The ease of access is a key advantage for developers looking for a hassle-free integration.
Users also discuss the need for a model that does not flag them as under 18. Our uncensored model handles this by not refusing requests based on age or topic. This capability is essential for developers building applications for adult audiences or those who want to explore controversial topics. The model's behavior is consistent and predictable, providing a reliable experience for users.
Discussions on r/AIDiscussion and other subreddits highlight the demand for a free or low-cost alternative. Our API offers a prepaid model with no monthly fees, making it an attractive option for developers on a budget. The trial credit and bonus credit incentives further reduce the cost of entry. Developers can start using the service immediately and scale their usage as needed.
Frequently asked questions
How do I top up my account?
You can top up your account using USDT on the TRC20 network or USDC on the Base network. The minimum amount is $20, and the maximum is $500. Bonus credit is available for top-ups of $50 or more.
What happens if I run out of credit?
If you run out of credit, the API returns a 402 error. You can top up your account at any time to resume using the service. Errors and refusals are free, so you do not pay for failed requests.
Does the API support streaming?
Yes, the API supports streaming over Server-Sent Events (SSE). This allows you to receive partial responses in real-time. The usage information is included in the last chunk of the stream.
Can I use the API for image generation?
No, the API is strictly text-in, text-out. It does not support image, audio, or video generation. If you need multimodal capabilities, you should consider other providers.