Claim trial key

Claude api key production checklist

Switching from the Claude API key involves navigating distinct pricing models and uncensored alternatives for unrestricted text generation. Our OpenAI-compatible endpoint offers a single, powerful uncensored model with transparent prepaid token billing and no monthly fees. This guide details how to migrate your integration while avoiding common rate limit and context window pitfalls.

Last updated

Why switch from claude API key?

Our API provides a direct, uncensored alternative for developers needing unrestricted content generation without complex model routing. While the Claude API key serves specific enterprise needs, our single-model approach simplifies integration and reduces operational overhead. You get a consistent output quality for adult, fictional, or controversial topics without unexpected refusals.

The base URL HTTPS://api.gemmaapikey.com/v1 works with any OpenAI-compatible client. This means you only change the base_url and API key in your existing code. No new SDKs or complex authentication flows are required.

We do not claim to replace every use case. If you need embeddings or image generation, stick with your current provider. But for pure text generation, our transparent prepaid billing and lack of monthly fees make it a pragmatic choice.

Understanding token costs

Our pricing is straightforward: $0.15 per 1M input tokens and $0.50 per 1M output tokens. Errors and refusals incur no charge, so you only pay for actual token usage. This prepaid model ensures costs remain predictable without subscription surprises.

Top-ups are processed via crypto only. You can deposit any whole amount from $20 to $500 using USDT (TRC20) or USDC (Base). Bonus credit applies automatically: +5% from $50, +10% from $100, and +15% from $200. Paid credit never expires, so you can top up once and use it over time.

New accounts receive $0.50 of trial credit valid for 7 days. This allows you to verify integration before committing to a larger deposit.

Integration basics

Start by sending a POST request to /v1/chat/completions. Use the model id "uncensored" to access our single, open-weight model. It is tuned to answer without content refusals for lawful adult use. The model is not GPT, Claude, Gemini, or any other vendor's model.

The context window supports 100,000 tokens total for prompt and completion. Max output is 16,000 tokens per request, or 2,048 if max_tokens is unset. This large window allows for extensive context retention in long conversations.

Supported parameters include temperature, top_p, stop, seed, presence_penalty, and frequency_penalty. These allow fine-tuning of response style and determinism without needing additional endpoints.

Streaming responses

Enable streaming by setting stream to true in your request. Responses arrive as Server-Sent Events (SSE). Each chunk contains partial text, allowing your application to display output in real time.

The final chunk includes token usage details. This lets you track costs accurately during streaming sessions. You do not need to wait for the full response to know approximate usage.

Streaming works with all standard OpenAI SDKs. Simply update the base_url to HTTPS://api.gemmaapikey.com/v1. The SDK handles the SSE parsing automatically. This reduces boilerplate code significantly compared to manual stream handling.

Function calling

Our API supports function calling via the tools parameter. Define your functions in the request, and the model will output structured JSON for tool use. This enables complex workflows like data extraction or action triggering.

Set tool_choice to "auto" or specify a specific function. The model respects these constraints and outputs valid JSON. Use response_format set to json_object for strict JSON compliance.

Function calling is ideal for building assistants that interact with external systems. It works seamlessly with the uncensored model. You do not need a separate routing layer to enable tools. The same endpoint handles both chat and function calls.

Error handling

Errors return standard HTTP status codes. Common errors include 429 for rate limits and 400 for invalid parameters. Check the error message for details. Refusals due to content policies are rare but possible for minor-related content.

Implement retry logic for 429 errors. Our rate limit allows 300 requests per minute per key. Burst limits allow 8 concurrent requests. Exceeding these results in a 429 response. Wait briefly before retrying.

Errors do not consume tokens. If a request fails, you are not charged. This protects your prepaid credit from wasted API calls. Always validate parameters before sending large payloads.

Rate limits

Each API key allows 300 requests per minute. You can run 8 requests concurrently. The maximum request body size is 8 MB. These limits ensure stable performance for most use cases.

One active key is allowed per account. Generating a new key replaces the old one immediately. Use this to rotate keys if needed. Each key has its own rate limit counter.

Monitor your usage via the streaming response token counts. This helps you stay within limits. If you hit the 429 error, reduce your request rate or distribute load across multiple keys. The limits are per key, not per account.

Security best practices

Keep your API key secure. It is shown immediately upon signup. Store it in environment variables, not in client-side code. Use HTTPS for all requests. Our API uses standard authentication headers.

Account security requires only an email address. Sign up via Google or email and password. No phone number is needed. Prompts are not used for training. Your data remains private.

A hard content limit applies: no sexual content involving minors. Requests with this content are refused. This is the only strict filter. All other lawful adult content is allowed. Verify your client library version for optimal security headers.

Common questions

Is the uncensored model the same as Claude?

No. Our model is an open-weight model run on our own servers. It is tuned for unrestricted output but is not Claude, GPT, or any other vendor's model. It uses the same API format for easy migration.

How do I top up my credit?

Top ups are crypto-only. Deposit USDT (TRC20) or USDC (Base) between $20 and $500. Bonus credit applies automatically for larger deposits. Credit never expires.

Does streaming include token usage?

Yes. The final SSE chunk contains token usage details. This allows accurate cost tracking during streaming sessions without waiting for the full response.

What happens if I hit a rate limit?

You receive a 429 error. Requests do not consume tokens. Implement retry logic with exponential backoff. You can also rotate API keys to distribute load, as each key has its own 300 requests/minute limit.

Key ready in a moment

Register, copy the token, update the endpoint. That is all you need.

Claim trial key