EN ▾

Uncensored API for developers.

Get API key

Cohere API Guide: Why Developers Choose Nanbeige

The Cohere API provides solid text generation and embedding capabilities for enterprise-grade applications, but its closed ecosystem and usage-based pricing can limit flexibility for developers seeking direct model access. Nanbeige offers a transparent, uncensored alternative that prioritizes data privacy and straightforward crypto payments while maintaining OpenAI-compatible integration standards.

Cohere API Guide: Why Developers Choose Nanbeige

Updated

Key points

  1. Cohere specializes in RAG-ready embeddings and command models but operates as a closed platform.
  2. Nanbeige provides a single uncensored endpoint compatible with standard OpenAI SDKs for immediate drop-in use.
  3. Paying by crypto (USDT on TRC20, USDC on Base) reduces transaction friction for API credits.
  4. Data privacy is enhanced at Nanbeige as prompts are not used for training, unlike many standard LLM providers.

Understanding the Cohere API

The Cohere API is designed for developers who need reliable text generation, classification, and embedding capabilities. It stands out for its focus on retrieval-augmented generation (RAG) workflows, offering high-quality embeddings that help applications understand context and retrieve relevant information efficiently. The API supports multiple models, including Command and Command Light, which are optimized for instruction-following and natural language processing tasks.

Unlike general-purpose chat models, Cohere’s architecture emphasizes precision in semantic search and text classification. Developers can integrate these features using standard REST endpoints, but they must navigate Cohere’s proprietary ecosystem for billing and model selection. The API is particularly useful for applications requiring structured data extraction or multilingual support, though it does not offer the same broad conversational flexibility as some competitors.

Limitations of Standard LLM APIs

Standard LLM APIs often introduce complexity through multi-model routing, where requests are dynamically sent to different models based on latency or cost. This can obscure pricing and make debugging more difficult. Additionally, many providers use usage data to train their models, which may be a concern for enterprises handling sensitive information.

  • Complex Routing: Requests may be routed to multiple models, making it hard to predict behavior or costs.
  • Data Training: Some providers retain prompts to improve their models, potentially impacting data privacy.
  • Pricing Opacity: Tiered pricing structures can make it difficult to estimate costs for high-volume applications.

These limitations often force developers to build additional abstraction layers to manage model selection and cost optimization, increasing engineering overhead.

Why Uncensored Matters

Uncensored models do not apply strict content filters, allowing them to generate responses on a wider range of topics, including adult, controversial, or niche subjects. This is particularly useful for creative writing, role-playing, or research applications where creative freedom is prioritized over safety filters. An uncensored model can provide more direct and less filtered answers, which is valuable for developers who want full control over content moderation.

However, uncensored models may require additional post-processing to filter out undesirable content. They are not inherently less capable but rather less restricted. This distinction is important for applications where standard safety filters might hinder creativity or accuracy. The lack of refusals ensures that the model focuses on generating relevant content rather than deciding what is acceptable.

Nanbeige as an OpenAI-Compatible Alternative

Nanbeige provides a single, uncensored endpoint that works with standard OpenAI SDKs, stripping away the complexity of multi-model routing. It serves one open-weight model tuned to answer without content refusals for lawful adult use. The base URL is https://api.nanbeige.cc/v1, and developers use the model ID uncensored.

This approach ensures immediate integration without the need for custom routing logic. The API supports streaming, function calling, and JSON mode, making it a drop-in replacement for many OpenAI-dependent applications. Unlike Cohere, Nanbeige does not offer embeddings or image generation, focusing solely on text-based chat completions.

Integration Ease

Using the Nanbeige API is straightforward for developers already familiar with OpenAI’s SDKs. By changing the base URL and API key, existing code can be reused without significant modifications. The API supports standard parameters like temperature, top_p, and stop, ensuring compatibility with most existing workflows.

from openai import OpenAI

client = OpenAI(base_url="https://api.nanbeige.cc/v1", api_key="YOUR_KEY")

resp = client.chat.completions.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Summarise this thread without softening it."}],
)
print(resp.choices[0].message.content)

For streaming responses, Nanbeige uses Server-Sent Events (SSE), allowing real-time token delivery. This is useful for applications requiring instant feedback, such as chat interfaces or live translations. The API also supports function calling, enabling developers to integrate custom tools and functions smoothly.

Cost Efficiency

Nanbeige offers transparent pricing with no hidden fees. The cost is $0.15 per 1 million input tokens and $0.50 per 1 million output tokens. Errors and refusals are free, ensuring you only pay for successful completions. Prepaid credit is charged by real token usage, and the credit never expires.

Payments are made by crypto (USDT on TRC20, USDC on Base). Top-ups range from $20 to $500, with bonuses for larger amounts. PayPal is not supported.

Data Privacy

Privacy is a key differentiator for Nanbeige. Prompts are not used for training, ensuring that your data remains private. This is particularly important for applications handling sensitive information or proprietary content. Unlike some providers that retain data for model improvement, Nanbeige’s approach ensures that your data is not repurposed.

Accounts require only an email, with no phone number needed. This reduces the amount of personal data collected and stored. For enterprises, this level of privacy can simplify compliance with data protection regulations, although specific legal advice should be sought for individual use cases.

Conclusion

The Cohere API is a powerful tool for RAG and classification tasks, but its closed ecosystem and data training policies may not suit all developers. Nanbeige offers a transparent, uncensored alternative with easy integration and strong privacy guarantees. By using standard OpenAI-compatible endpoints, developers can quickly switch to Nanbeige without significant code changes.

For those prioritizing uncensored content, data privacy, and crypto payments, Nanbeige provides a compelling option. Its straightforward pricing and lack of training data retention make it a valuable addition to the developer toolkit, especially for applications requiring creative freedom and strict data control.

Questions and answers

What is the context window for Nanbeige’s uncensored model?

The context window is 100,000 tokens, including both prompt and completion. There is no separate output cap per request, and if max_tokens is not specified, the response can run to the end of the window.

How do I pay for the Nanbeige API?

Payments are accepted by crypto (USDT on TRC20, USDC on Base). Top-ups range from $20 to $500, with bonuses for larger amounts. No PayPal is accepted.

Is my data used for training?

No, prompts are not used for training. Nanbeige ensures that your data remains private and is not repurposed for model improvement.

Can I use Nanbeige with OpenAI SDKs?

Yes, Nanbeige is fully OpenAI-compatible. You can use the same SDKs by changing the base URL to https://api.nanbeige.cc/v1 and using the model ID uncensored.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.