OpenAI-Compatible
Drop-in integration using standard OpenAI SDKs. Change the base URL and API key to start using our API immediately.
OpenAI-compatible uncensored LLM API.
A direct, code-first alternative to major providers, featuring one uncensored model with a 100k context window and 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."}]
}'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);curl https://api.glmapi.cc/v1/chat/completions -H "Authorization: Bearer $API_KEY" -d '{"model":"uncensored","messages":[{"role":"user","content":"Hi"}]}'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.
Drop-in integration using standard OpenAI SDKs. Change the base URL and API key to start using our API immediately.
Process large documents efficiently. The context window supports up to 100,000 tokens for prompt and completion combined.
The model answers without standard content refusals for lawful adult, fictional, or controversial topics. Minors content is blocked.
Receive real-time responses via Server-Sent Events (SSE). Token usage details are included in the final chunk.
Enable tools and tool_choice for structured interactions. Supports JSON mode for consistent, parseable responses.
Top up by crypto (USDT on TRC20, USDC on Base). No monthly fees or subscriptions; credit never expires.
Sign up with Google or email to receive your API key instantly.
Add crypto credit starting from $20 to get started with the uncensored model.
Point your SDK to the base URL and begin sending requests to the chat-completions endpoint.
Process entire books or long codebases in a single request. The 100k context window handles substantial inputs without truncation.
Generate uncensored stories or scripts without hitting standard content filters. Ideal for adult or controversial fictional narratives.
Analyze prompts and responses without artificial limitations. The model provides direct answers for security evaluations.
Use JSON mode and function calling to structure outputs. Reliable for parsing large volumes of text data.
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.
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.
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.
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.
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.
Short summaries of public Reddit threads, in our own words. They are not reviews or comments from our users.
r/LocalLLM · Apr 2026
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.
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
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.
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.
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.
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.
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.
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.
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.
Create an account, copy the key, change the base URL. That is the whole setup.
Practical articles on setup, pricing and integration.
GLM API Base URL: Connect Any OpenAI ClientThe base URL, auth header and model ID to point an OpenAI SDK or chat app at glmapi.cc, with curl, Python and Node examples and fixes for the…
GLM API Python: Chat, Streaming and Tools ExamplesWorking glm api python examples with the openai SDK: chat, streaming, JSON mode, tool calling, async batches and 429 handling against…
GLM API Pricing: $0.15 In, $0.50 Out per 1M TokensPrepaid token pricing explained: $0.15 per 1M input, $0.50 per 1M output, top-up bonuses to 15%, a no-card trial and worked monthly cost examples.
Gemma API: Myths vs FactsDiscover the truth about the Gemma API. We debunk common myths regarding its performance, context limits, and uncensored capabilities compared to