EN ▾
apertus.topUncensored LLM API, pay per token

XAI API: Independent Guide & Alternative

XAI API provides access to advanced language models like Grok, but developers often seek alternatives that offer uncensored generation, transparent prepaid billing, and strict OpenAI compatibility without monthly commitments. Apertus offers a drop-in replacement API that handles text completion with a single dedicated model, allowing you to pay only for the tokens you actually use by crypto (USDT on TRC20, USDC on Base).

XAI API: Independent Guide & Alternative

Updated

Key points

  1. XAI API serves Grok models with specific rate limits and pricing structures that vary by tier.
  2. Apertus provides an uncensored, OpenAI-compatible endpoint that accepts the same client code as XAI or OpenAI.
  3. Billing is strictly prepaid via crypto (USDT/USDC) with no monthly subscriptions or card requirements.
  4. The Apertus model supports a 100k context window and function calling, operating independently of XAI's infrastructure.

What is XAI API?

XAI API is the programmatic interface provided by xAI, the artificial intelligence company founded by Elon Musk. It gives developers access to its primary large language model, known as Grok. Unlike general-purpose models that might prioritize safety filters, Grok is marketed with a distinct personality and a focus on real-time data access when integrated with X (formerly Twitter). The API allows you to send prompts and receive text completions, supporting standard parameters like temperature and top_p.

The API follows a structure similar to OpenAI's chat completions interface, making it relatively easy to integrate into existing applications. However, the specific model versions, rate limits, and pricing are determined solely by xAI and can change without notice. For the most accurate details on current model capabilities and pricing tiers, you should consult the official xAI documentation directly.

Why Consider an Alternative?

While XAI API is a powerful tool, many developers look for alternatives due to specific constraints. Pricing structures can be complex, and rate limits may not suit high-throughput applications without upgrading to expensive tiers. Additionally, some users find the content filtering policies restrictive, especially for creative writing, adult themes, or controversial topics that fall within legal bounds.

Another consideration is billing flexibility. Many API providers require monthly subscriptions or credit card auto-renewals, which can be inconvenient for short-term projects or developers who prefer to pay only for what they use. If you need a straightforward, uncensored model that doesn't refuse lawful adult or speculative content, a dedicated alternative might offer a more predictable and transparent experience.

Apertus: The Uncensored Option

Apertus is an independent API service designed for developers who want uncensored text generation with transparent billing. It serves a single, open-weight large language model tuned to answer without content refusals for lawful adult use. This means you can generate controversial, sexual, or politically charged content without the model shutting down mid-generation.

The API is fully OpenAI-compatible, meaning you can use the same SDKs and client code you use for OpenAI or XAI, just by changing the base URL and API key. It supports streaming via Server-Sent Events (SSE), function calling, and JSON mode. The model handles a 100,000 token context window, making it suitable for long documents or complex conversations.

Billing Comparison

Apertus uses a prepaid credit system charged by real token usage. Errors and refusals are free. There are no monthly subscriptions or hidden fees. Credit never expires, and you can top up by crypto (USDT on TRC20, USDC on Base).

  • XAI API: Pricing varies by model and tier; often involves complex rate limits and potential monthly costs for higher tiers.
  • Apertus: $0.15 per 1M input tokens, $0.50 per 1M output tokens. Prepaid, by crypto (USDT TRC20 or USDC Base). No card needed to sign up.

This model is ideal for developers who want to control costs precisely without worrying about subscription renewals or overage fees.

Technical Compatibility

Apertus is built to be a drop-in replacement for standard chat-completion APIs. It exposes the same endpoints as OpenAI and compatible services like XAI:

  • POST /v1/chat/completions: For sending prompts and receiving responses.
  • GET /v1/models: To list available models.

It supports standard parameters including temperature, top_p, stop, seed, presence_penalty, and frequency_penalty. Function calling and JSON mode are fully supported. The base URL is https://api.apertus.top/v1. You can swap in the API key and base URL in your existing code to start using the uncensored model.

Setup & Integration

Getting started with Apertus is straightforward. You can sign up using Google or an email and password. No phone number is required. Once registered, you receive an API key immediately. There is no need to add a credit card.

To integrate, update your client's base URL to https://api.apertus.top/v1 and set the model ID to uncensored. The API key is used for authentication. You can start sending requests immediately. For streaming responses, use the SSE endpoint, which includes token usage details in the final chunk.

Limits & Performance

Apertus enforces clear limits to ensure fair usage:

  • Rate Limit: 300 requests per minute per key.
  • Concurrency: 8 requests at the same time per key.
  • Request Body: Maximum 8 MB.
  • Context Window: 100,000 tokens total (prompt + completion).
  • Max Output: up to the end of the 100,000-token window, even if max_tokens is not specified.

These limits are sufficient for most development and production use cases. If you need higher concurrency, you can generate additional keys, though each account is limited to one active key at a time (a new key replaces the old one).

Getting Started with Apertus

Start by signing up for an account. You will receive $0.50 in trial credit, valid for 7 days, with no card needed. Claim this credit with one click on your API key page. To add more credit, top up by crypto (USDT on TRC20, USDC on Base). Minimum top-up is $20, maximum is $500. Bonuses are available: +5% from $50, +10% from $100, +15% from $200. Credit never expires.

Use your API key with any OpenAI-compatible SDK. Point it to https://api.apertus.top/v1 and set the model to uncensored. You can now generate content without content filters, paying only for the tokens you use.

Questions and answers

Is Apertus an official xAI product?

No, Apertus is an independent service. It serves its own uncensored model and is not affiliated with xAI or Grok. It uses the same API structure but runs on separate infrastructure.

How do I pay for Apertus API usage?

Apertus uses a prepaid system. You can top up by crypto (USDT on TRC20, USDC on Base). Credit never expires.

What is the context window size?

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

Does Apertus support function calling?

Yes, Apertus supports function calling (tools and tool_choice) as well as JSON mode and streaming via SSE. It is fully OpenAI-compatible.

Your key is one form away

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

Get API keyRead the docs