GLM uncensored and abliterated models

GLM 5.3 and GLM 5.3 Flash are Z.ai model families available in standard, uncensored and abliterated variants. Compare their API IDs, context windows and token rates for coding, structured responses and creative tasks.

Compare GLM API IDs and prices

RouterHub token prices · USD per million tokens
Model / exact API IDVariantInputCached inputOutputContextAvailability
GLM 5.3 Flash
glm-5.3-flash
standard$0.1$0.013453$0.333333333333Not publishedpreview
GLM 5.3 Flash Uncensored
glm-5.3-flash-uncensored
uncensored$0.15$0.013453$0.5Not publishedpreview
GLM 5.3
glm-5.3
standard$0.15$0.116591985714$0.471428571429Not publishedpreview
GLM 5.3 Uncensored
glm-5.3-uncensored
uncensored$0.2$0.116591985714$0.628571428571Not publishedpreview
GLM 5.3 Flash Abliterated
glm-5.3-flash-abliterated
abliterated$0.3$0.12$11,048,576 tokenspreview
GLM 5.3 Abliterated
glm-5.3-abliterated
abliterated$0.4$0.16$1.3333333333331,048,576 tokenspreview

Standard, uncensored or abliterated?

Uncensored models are reduced-refusal language model variants for open-ended generation, coding and creative work. Uncensored variants use prompting, fine-tuning, weight changes, or a combination of these techniques.

Abliteration reduces refusal-related behavior by modifying model weights. RouterHub serves uncensored and abliterated variants under separate API IDs, with their own token prices and context limits.

RouterHub’s prompt-profile uncensored variants use a server-managed instruction profile. Customer system/developer instructions can be replaced by that profile; put task-specific requirements in the user message.

Connect GLM to your application

For a model that lists chat, use https://routerhub.si/v1/chat/completions with an OpenAI-compatible SDK. OpenCode, Continue and compatible Cline configurations support Chat Completions; Claude Code uses Messages-compatible models.

How to choose between GLM variants

  1. Fix the task. Use the same inputs, output format, reasoning setting and output budget for each exact model ID.
  2. Separate refusal from failure. Record an explicit refusal separately from a timeout, empty response, invalid JSON, wrong answer or truncated generation.
  3. Keep every attempt. Repeat your tests and retain unsuccessful outputs, not just the best answer.
  4. Measure useful work. Compare task acceptance, instruction following, tool-call validity and cost per successful task, not token price alone.
  5. Re-test changes. A hosted alias or model update can change behavior even when your client configuration stays the same.

For ordinary uncached text usage, estimate cost as input tokens × input price / 1,000,000 + output tokens × output price / 1,000,000. Reported cache reads and writes use their own published rates. The final Usage record, not time spent waiting or a headline token limit, is the billing reference.

Example: at $0.20 per million input tokens and $0.60 per million output tokens, 10,000 uncached input tokens and 2,000 output tokens cost an estimated $0.0032. This is an illustrative calculation, not a quoted price for a particular model.

For model selection, divide the total cost of all measured attempts by the number of acceptable results. A lower token rate is not automatically a lower cost per completed task.

Evidence and further reading

RouterHub’s public coding evaluations on GitHub include prompts, raw outputs, settings, candidate hashes and sandbox-scored tests. The GLM results record both the default-effort attempts and the low-effort cohort, so you can compare runs with their original settings.