EN ▾
Get API key

OpenAI-compatible uncensored LLM API.

uncensored LLM API explained

A direct, code-first alternative to major providers, featuring one uncensored model with a 100k context window and transparent token pricing.

  • 100k context window
  • Uncensored model
  • Transparent token pricing

Try it in one request

curl https://api.glmapi.cc/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [{"role": "user", "content": "Write a blunt product review of a cheap VPN."}]
  }'
per 1M input tokens
$0.15
Output tokens / 1M
$0.50
token context
100,000
trial credit
$0.50
requests per minute
300
glmapi engine8 live panels

Every request, live. One real day of our API, 27 Nov, replayed second by second.

REPLAY · --:--:-- UTC · 27 Nov
  • Answers so far30,716of 30,716 on 27 Nov
  • Tokens read186Mprompts + history
  • Tokens written2.7Mmodel replies
  • First token1.8 smedian · p90 4.5 s
  • Speed122 tok/smedian · p90 172
  • Last 30 days861Kanswers · peak 50.9K
01

Live requests

one node = one real request · grouped by prompt sizeLOADING
  • prompt < 1K tokens0
  • prompt 1K–4K0
  • prompt 4K–16K0
  • prompt 16K+0
  • since you opened · 27 Nov
zoom 100% · nodes 0 · links 0 · signals 0
02

Request log

no prompt textLOADING
$ tail -f requests.log
    03

    Request lifecycle

    one sampled request · real timingLOADING
    1. key checkok
    2. balanceok
    3. safety checkpass
    4. routed to modeluncensored
    5. generating
    6. streamed back
    04

    24 hours

    answers per hour, UTCLOADING
    2,021peak hour 08:00 UTC
    0006121824
    05

    30 days

    answers per dayLOADING
    860,888answers in 30 days
    10-2911-27
    06

    Speed

    output tokens per secondLOADING
    median
    122 tok/s
    fastest 10%
    172+ tok/s
    needle
    sampled requests
    07

    First token

    streamed repliesLOADING
    1.8 smedian wait
    01 s2 s4 s10 s+
    08

    Plug in

    OpenAI-compatible · one modelLOADING
    curl https://api.glmapi.cc/v1/chat/completions -H "Authorization: Bearer $API_KEY" -d '{"model":"uncensored","messages":[{"role":"user","content":"Hi"}]}'
    • per 1M input tokens$0.15
    • Output tokens / 1M$0.50
    • token context100,000
    • trial credit$0.50
    • requests per minute300

    Data: the request log of the API service behind this site, all of its sites together, for 27 Nov 2026 (UTC), successful answers only. The log keeps counts, token sizes and timings, never prompt text or who sent it. The live panels replay that day at real speed: one node or log line is one request made that day at this time of day.

    What you get

    OpenAI-Compatible

    Drop-in integration using standard OpenAI SDKs. Change the base URL and API key to start using our API immediately.

    100,000 Token Context

    Process large documents efficiently. The context window supports up to 100,000 tokens for prompt and completion combined.

    Uncensored Output

    The model answers without standard content refusals for lawful adult, fictional, or controversial topics. Minors content is blocked.

    Streaming Support

    Receive real-time responses via Server-Sent Events (SSE). Token usage details are included in the final chunk.

    Function Calling

    Enable tools and tool_choice for structured interactions. Supports JSON mode for consistent, parseable responses.

    Crypto Payments

    Top up by crypto (USDT on TRC20, USDC on Base). No monthly fees or subscriptions; credit never expires.

    How it works

    Create Account

    Sign up with Google or email to receive your API key instantly.

    Top Up Credit

    Add crypto credit starting from $20 to get started with the uncensored model.

    Start Coding

    Point your SDK to the base URL and begin sending requests to the chat-completions endpoint.

    What people build with it

    Large Document Analysis

    Process entire books or long codebases in a single request. The 100k context window handles substantial inputs without truncation.

    Creative Writing

    Generate uncensored stories or scripts without hitting standard content filters. Ideal for adult or controversial fictional narratives.

    Security Research

    Analyze prompts and responses without artificial limitations. The model provides direct answers for security evaluations.

    Data Extraction

    Use JSON mode and function calling to structure outputs. Reliable for parsing large volumes of text data.

    What is the Uncensored GLM API?

    The GLM API is a hosted, OpenAI-compatible service designed for developers who want an unrestricted alternative to major providers. We serve a single, open-weight large language model that is tuned to answer without content refusals for lawful adult use. Unlike multi-model aggregators, we focus on one high-quality uncensored model with a generous context window.

    Our API supports standard endpoints like POST /v1/chat/completions and GET /v1/models. It works seamlessly with official OpenAI SDKs and any compatible client. You simply update your base URL to https://api.glmapi.cc/v1 and provide your API key. The model id to use is "uncensored". It is not GPT, Claude, Gemini, Grok, DeepSeek, Qwen, Llama, or any other vendor's model; it is an independent open-weight model run on our own servers.

    Why Choose This API Over Others?

    Many providers offer multiple models or complex routing, but we keep it simple. You get one uncensored model with a 100,000 token context window and transparent token pricing. There are no monthly subscriptions, no hidden fees, and no vendor lock-in. Your prepaid credit never expires, and errors are free, so you only pay for real token usage.

    We also offer a generous top-up bonus structure. Payments are accepted by crypto (USDT on TRC20, USDC on Base) for amounts between $20 and $500. You receive a +5% bonus from $50, a +10% bonus from $100, and a +15% bonus from $200 or more. This approach ensures you control your costs. New accounts also receive $0.50 in trial credit valid for 7 days, with no card required. Claim this credit with one click on your API key page.

    Developer Integration & SDK Support

    Our API is built for developers who value immediate integration. It supports streaming via Server-Sent Events (SSE), function calling with tools, and JSON mode for structured outputs. You can control generation parameters like temperature, top_p, stop sequences, seed, and penalties. Output can run to the end of our 100,000 token total context window.

    from openai import OpenAI
    
    client = OpenAI(base_url="https://api.glmapi.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)

    import OpenAI from "openai";
    
    const client = new OpenAI({ baseURL: "https://api.glmapi.cc/v1", apiKey: process.env.API_KEY });
    
    const resp = await client.chat.completions.create({
      model: "uncensored",
      messages: [{ role: "user", content: "Draft a villain monologue for my game." }],
    });
    console.log(resp.choices[0].message.content);
    stream = client.chat.completions.create(
        model="uncensored",
        messages=[{"role": "user", "content": "Tell the story in second person."}],
        stream=True,
    )
    for chunk in stream:
        if chunk.choices and chunk.choices[0].delta.content:
            print(chunk.choices[0].delta.content, end="", flush=True)

    Our rate limits are set at 300 requests per minute and 8 concurrent requests per key. Each account is limited to one active key, but you can generate a new one to replace it. The request body is capped at 8 MB. We do not offer embeddings, image generation, audio, video, fine-tuning, or OCR. If you need those features, this API is not for you.

    Pricing: Transparent Token Costs

    We charge $0.15 per 1M input tokens and $0.50 per 1M output tokens. This pricing is straightforward and applies to all requests. Errors and refusals are free, ensuring you only pay for actual work done. There are no subscription fees or monthly costs. Your prepaid credit is charged by real token usage and never expires.

    Top-ups are processed by crypto (USDT on TRC20, USDC on Base). We accept USDT on the TRC20 network or USDC on the Base network. Any whole amount from $20 to $500 is accepted. You receive a +5% bonus for deposits of $50 or more, a +10% bonus for deposits of $100 or more, and a +15% bonus for deposits of $200 or more. Mistakes like double charges are handled through our Support page. Credit is not refunded, but it remains available for future use.

    Get Your API Key Now

    Getting started is quick and requires no phone number. You can sign up using "Continue with Google" or by creating an account with an email and password. Your API key is shown immediately upon creation. Each account is limited to one active key; generating a new key replaces the old one. We do not use your prompts for training, ensuring privacy for your development work.

    A hard content limit always applies: sexual content involving minors is blocked. For all other lawful adult, fictional, security-research, or controversial topics, the model will provide uncensored responses. This makes our API ideal for developers who need reliable, unrestricted output without the complexity of multi-model routing or expensive subscriptions.

    What developers are discussing

    Short summaries of public Reddit threads, in our own words. They are not reviews or comments from our users.

    r/LocalLLM · Apr 2026

    Is GLM-5.1's coding performance real hype?

    The author tried GLM-5.1 on a multi-step refactoring of a legacy backend and was surprised that it kept track of the task. They still think Opus is ahead on deep reasoning and ask whether others have used the model for real work.

    • One reply has used it at work for a week and calls it decent; running the same work with Sonnet was faster, but there they hit the quota early, while the GLM allowance was far more generous.
    • Another reply mentions using the model in ForgeCode, comparing it to Opus 4.5, and deciding to keep an annual coding plan while maintaining a smaller model locally.

    Our noteOur service provides a hosted, uncensored text-only API with a 100,000 token context window. We do not offer embeddings, images, audio, fine-tuning, model downloads, or a choice of other models.

    r/LocalLLaMA · Jun 2026

    Does GLM 5.2's attitude stem from its training data?

    The author praises GLM 5.2's direct, non-sycophantic style and wonders if this reflects differences in local culture within the training datasets compared to US models.

    • One reply suggests that model attitude is highly configurable via system prompts, noting that models follow trained styles unless guided otherwise.
    • Another reply thinks culture is likely part of it: in their experience Gemma 4 is far more direct when prompted in Dutch, while in English it tries much harder to please unless the system prompt says otherwise.
    • A third reply guesses that it comes from the training data the maker added itself, since a larger share of one language in that data can change the attitude of a model.

    Our noteOur service hosts a single uncensored open-weight model with a 100,000-token context window. We do not offer a choice of other models or fine-tuning capabilities.

    Questions and answers

    What is the context window size?

    The context window is 100,000 tokens for the prompt and completion combined. There is no separate output cap. If you do not set the max_tokens parameter, the response can run to the end of the window.

    How do I pay for the API?

    We accept top-ups by crypto (USDT on TRC20, USDC on Base). You can top up any whole amount from $20 to $500. Credits are charged by real token usage and never expire.

    Is there a free trial?

    Yes, new users get $0.50 of trial credit, one per person, valid for 7 days. Claim this credit with one click on your API key page. No card is needed to sign up. You can use Google or email to create your account and receive your API key instantly.

    Does this API support embeddings or image generation?

    No. We offer a text-in, text-out chat-completions API. We do not support embeddings, image generation, audio, video, OCR, or fine-tuning. If you need those features, this API is not for you.

    What happens if I make an error in my request?

    Errors and refusals are free. You only pay for the actual tokens used in valid responses. If you experience a billing issue like a double charge, you can resolve it through our Support page.

    Your key is one form away

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

    Start with trial credit

    Email and password, key on screen right away.

    Guides

    Practical articles on setup, pricing and integration.

    All guides →