EN ▾

Step-by-step: Switch from OpenRouter to our API

Open Router aggregates many models but often applies content filters that break roleplay or uncensored workflows. Switching to a dedicated uncensored API removes those arbitrary refusals while keeping your OpenAI-compatible code intact. This guide shows you exactly how to migrate without rewriting your entire stack.

Last updated

Why developers are leaving OpenRouter for uncensored models

Open Router is excellent for model diversity, but its default settings often prioritize safety over fidelity. You might send a prompt for a mature fictional scene, only to get a refusal because the aggregator applied a generic filter. This breaks immersion for roleplay bots or blocks nuanced analysis in research tasks. Many developers now prefer a single, dedicated uncensored endpoint. You get consistent behavior without guessing which model version your request hits. Our API serves one large language model tuned specifically to answer without content refusals for lawful adult use. You avoid the randomness of multi-model routing. Every token counts toward inference, not toward a bundled feature you never use. This approach simplifies debugging. You know exactly what you are running.

Step 1: Understand the difference in base URLs

The base URL is the single most critical change when migrating. Open Router uses a specific domain structure. Our API uses a dedicated endpoint for uncensored generation. You must update your SDK configuration to point to the correct base URL. This ensures your requests reach the right server. The change is minimal but essential for correct routing.

  • Open Router Base URL: HTTPS://openrouter.ai/api/v1
  • Our Uncensored API Base URL: HTTPS://api.apillmopen.com/v1

Updating this variable redirects all subsequent calls. Your existing code structure remains intact. You do not need to rewrite request bodies. The path /v1 remains the same. This consistency reduces migration friction significantly.

Step 2: Update your SDK configuration

SDK configuration requires two key updates. You must change the base URL and the API key. Our API key is generated instantly upon signup. You can start with Google or email authentication. No phone number is required. The key grants access to the uncensored model.

Replace your existing Open Router key with your new API key. Update the base URL variable in your code. This small change redirects traffic. Your prompts will now hit our servers. The transition is seamless for most OpenAI-compatible clients. You can verify the connection by listing available models. The endpoint returns the correct model ID. This confirms your configuration is accurate.

from openai import OpenAI

client = OpenAI(base_url="https://api.apillmopen.com/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)

Step 3: Handle model IDs and streaming differences

Model IDs determine which engine processes your text. Open Router uses complex identifiers like anthropic/claude-3.5-sonnet. Our API uses a simple, consistent ID. You must update your code to use the correct model identifier.

  • Our Model ID: uncensored

Streaming behaves similarly to OpenAI standards. You receive Server-Sent Events. The last chunk includes token usage details. This allows real-time display of responses. Function calling and JSON mode work as expected. You can set response_format to json_object. Temperature and top_p parameters function normally. The context window supports up to 100,000 tokens. This allows long conversations without frequent truncation. Max output is 16,000 tokens per request.

Step 4: Verify pricing and token usage

Pricing structures differ significantly between providers. Open Router charges per model and sometimes adds a markup. Our API uses pure token economics. You pay only for what you use. There are no monthly fees. Credit is prepaid and never expires.

  • Input Tokens: $0.15 per 1M tokens
  • Output Tokens: $0.50 per 1M tokens

Errors and refusals are free. You do not pay for failed requests. This protects your budget. You can top up with crypto. We accept USDT on TRC20 or USDC on Base. Minimum top-up is $20. Bonus credit applies for larger amounts. This model ensures every cent buys inference. You avoid paying for idle capacity.

Step 5: Test with your existing prompts

Testing ensures your prompts work as expected. Use your existing prompt templates. Send them to the new endpoint. Verify the response structure. Check for content refusals. Our model is tuned to answer without refusals for lawful adult use. You should see consistent outputs. Streaming responses should display correctly. Function calling should parse correctly. JSON mode should return valid objects. This validation step confirms compatibility. You can then proceed to production. Keep a backup of your old configuration. You can revert if needed. This safety net reduces risk during migration.

Step 6: Monitor for refusals and content filters

Monitor your first few requests closely. Check for any unexpected refusals. Our model allows NSFW content for lawful use. However, one hard limit always applies. Sexual content involving minors is refused. This is a standard safety baseline. All other adult, fictional, or controversial topics are allowed. You can verify this by sending a test prompt. The response should contain the expected content. No additional filters should block your request. This consistency is crucial for roleplay bots. It ensures uninterrupted immersion. You can adjust parameters like temperature to refine tone. The lack of filters allows for more creative outputs.

Step 7: Optimize for cost and speed

Optimization involves reducing token usage. Shorter prompts cost less. Use efficient system instructions. Avoid redundant context. Our API supports up to 8 concurrent requests per key. This allows parallel processing for faster results. You can handle multiple user requests simultaneously. Rate limits are set at 300 requests per minute. This is sufficient for most applications. Monitor your token usage via the dashboard. Adjust your budget accordingly. Crypto top-ups process quickly. You can maintain a steady credit balance. This ensures uninterrupted service. Your applications will run smoothly without unexpected downtime.

Frequently asked questions about switching providers

QuestionAnswer
Is this a true open LLM API?Yes, it is OpenAI-compatible and serves an uncensored model without proprietary restrictions.
Can I use my existing Open Router code?Yes, just update the base URL, model ID, and API key.
What payment methods are accepted?We accept USDT (TRC20) and USDC (Base) for prepaid credit.
Is there a free trial?New accounts receive $0.50 trial credit valid for 7 days.

Common questions

What is the primary benefit of switching from Open Router to an uncensored API?

The main benefit is consistent content availability. Open Router often applies generic filters that block NSFW or controversial topics. Our dedicated model answers without these arbitrary refusals, ensuring your roleplay or research workflows remain uninterrupted.

How does the pricing compare to Open Router's model?

Our pricing is pure token economics with no monthly fees. You pay $0.15 per 1M input tokens and $0.50 per 1M output tokens. Errors are free, and prepaid credit never expires. Open Router may charge different rates per model or add markups.

Do I need to rewrite my Python or Node.js code?

No. Our API is fully OpenAI-compatible. You only need to update the base URL, model ID, and API key in your SDK configuration. The request body structure remains the same.

What happens if I make a mistake with my token usage?

Errors and refusals are free. You only pay for successful token generation. If you double-charge yourself, you can request a fix through our Support page. Your credit balance is safe and never expires.

Get your API key

Sign up, retrieve your key, and update your base URL. That is the entire configuration.