---
title: "GLM-5.3 API Pricing, Context & Caching | Inference.net"
description: "Run Z.ai GLM-5.3 API on Inference.net: $0.084/1M in, $3.00/1M out, $0.079 cached. 1M context, ZDR, self-serve."
url: "https://inference.net/models/glm-5-3/"
---

# GLM-5.3

Run GLM-5.3, Z.ai's flagship open-weight reasoning model for coding and tool use, on Inference.net at $0.084/1M input, $3.00/1M output, and $0.079/1M cached tokens. With a 1M-token context window, reasoning and tool calling, it delivers instant self-serve API access with Zero Data Retention enabled by default.

Z.ai Reasoning Model Mixture-of-Experts 1M context US residency

[Get started](https://inference.net/register/) [Documentation](https://inference.net/docs/api/quickstart/)`glm-5.3`

MODEL API PRICING

PER 1M TOKENS

Input

$0.084

Cache read

$0.079

Output

$3.00

[See all pricing](https://inference.net/subscription/)

LIVE PERFORMANCE LIVE

MEDIAN · LAST 15 MIN

Time to first token (p50)

248 ms

Output throughput (p50)

115 tok/s

[Live benchmarks](https://inference.net/benchmarks/)

MODEL SPEC

Developed by

Z.ai

Model family

GLM-5.3

Size

Not disclosed

Architecture

Mixture-of-Experts

Context window

1M tokens

Max output

944K tokens

License

MIT

Overview

GLM-5.3 (glm-5.3) is Z.ai's flagship open-weight model built on a Mixture-of-Experts architecture for complex multi-step reasoning, repository-scale coding, and structured tool orchestration. Teams running tiered agent stacks pair it with its speed-optimized sibling at /models/glm-5-3-flash/ and track live production latency and throughput on /benchmarks/.

With a 1M tokens context window, up to 944K tokens output tokens, text input and reasoning and tool calling support, GLM-5.3 handles long-context multi-turn workflows cleanly. On Inference.net, it is priced at $0.084/1M input tokens, $3.00/1M output tokens, and $0.079/1M cached reads (6% savings on cached prefix reads); model your prefix hit rate in /tools/prompt-cache-calculator/. Prompt caching is supported by keeping the prompt prefix byte-identical and passing a stable prompt_cache_key routing hint.

Zero Data Retention (ZDR) is enabled by default for new accounts on Inference.net, so prompts and completions are not retained after processing or used for model training. Call it through https://api.inference.net/v1 or https://us.api.inference.net/v1 for US data residency across /v1/chat/completions, /v1/responses, and /v1/messages with instant self-serve API keys and no approval queue.

QUICKSTART [Get API key](https://inference.net/dashboard/api-keys/)

```typescript
import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://api.inference.net/v1',
  apiKey: process.env.INFERENCE_API_KEY,
})

const completion = await client.chat.completions.create({
  model: 'glm-5.3',
  messages: [{ role: 'user', content: 'Hello' }],
})
```

```python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.inference.net/v1",
    api_key=os.environ["INFERENCE_API_KEY"],
)

completion = client.chat.completions.create(
    model="glm-5.3",
    messages=[{"role": "user", "content": "Hello"}],
)
```

```curl
curl https://api.inference.net/v1/chat/completions \
  -H "Authorization: Bearer $INFERENCE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5.3",
    "messages": [
      { "role": "user", "content": "Hello" }
    ]
  }'
```

## PRICING & TOKEN RATES

USD per 1M tokens

| Token type | Rate (per 1M) | Details |
| --- | --- | --- |
| Input | $0.084 | Standard prompt tokens |
| Cache read | $0.079 | 6% savings vs. standard input |
| Output | $3.00 | Generated completion tokens |

## SPECIFICATIONS & CAPABILITIES

glm-5.3

| Specification | Value |
| --- | --- |
| Maker | Z.ai |
| Architecture | Mixture-of-Experts |
| Parameters | |
| Quantization | fp4 |
| Context window | 1M tokens (1,048,576) |
| Max output | 944K tokens (943,718) |
| Input modalities | Text |
| Output modalities | Text |
| Tool calling | Supported |
| Structured outputs | Supported |
| JSON object mode | Supported |
| Logprobs | Not specified |
| Reasoning efforts | Supported (low, high, max) |
| Supported wire endpoints | `/v1/chat/completions``/v1/responses``/v1/messages` |
| Data residency | Global (`api.inference.net`) US in-region (`us.api.inference.net`) |
| License | MIT |
| Hugging Face repository | [`nvidia/GLM-5.3-NVFP4`](https://huggingface.co/nvidia/GLM-5.3-NVFP4) |
| Release date | Aug 28, 2026 |

PROMPT CACHING

1. Keep the prompt prefix byte-identical across calls: same text, same order.
2. Pass a stable prompt_cache_key string. It is a routing-affinity hint; it does not create or identify cached content.
3. Check usage.prompt_tokens_details.cached_tokens in the response to confirm cache reads.

```
{
  "prompt_cache_key": "v1-stable-prefix",
  "messages": [{ "role": "user", "content": "..." }]
}
```

Estimate monthly savings for your prefix length and hit rate in the [Prompt Cache Savings Calculator](https://inference.net/tools/prompt-cache-calculator/).

AGENT INTEGRATIONS [View all](https://inference.net/docs/integrations/overview/)

[### Claude Code Native Anthropic /v1/messages. Six model slots for every Claude Code workload. `fast claude on`](https://inference.net/docs/integrations/claude-code/) [### Codex OpenAI-compatible Responses API with a reversible Codex configuration. `fast codex on`](https://inference.net/docs/integrations/codex/) [### Grok Chat completions with a catalog-backed section for each supported alias. `fast grok on`](https://inference.net/docs/integrations/grok/) [### OpenCode Chat completions with Inference.net models registered as an OpenCode provider. `fast opencode on`](https://inference.net/docs/integrations/opencode/) [### Pi Chat completions with model and provider settings written for Pi Agent. `fast pi on`](https://inference.net/docs/integrations/pi/) [### Hermes Hermes provider configuration is documented while its CLI adapter is in preview. `CLI adapter in preview`](https://inference.net/docs/integrations/hermes/) [### OpenClaw OpenClaw provider routing is documented while its CLI adapter is in preview. `CLI adapter in preview`](https://inference.net/docs/integrations/openclaw/) [### Fx Fx gateway configuration is documented while its CLI adapter is in preview. `CLI adapter in preview`](https://inference.net/docs/integrations/fx/) [### Cursor Cursor base URL routing is documented while its CLI adapter is in preview. `CLI adapter in preview`](https://inference.net/docs/integrations/cursor/)

FAQ

## Frequently asked questions about GLM-5.3

### What is the difference between GLM-5.3 and GLM-5.3 Flash?

GLM-5.3 (glm-5.3) is Z.ai's full-capability flagship tier with a 1M tokens context window built for complex coding, planning, and multi-tool orchestration. When you want lower latency and lower per-token spend for high-concurrency chat, routing, or agent sub-tasks in the same family, pair it with /models/glm-5-3-flash/. Compare both tiers at /compare/glm-5-3-vs-glm-5-3-flash/ and view live telemetry on /benchmarks/.

### How much does GLM-5.3 cost on Inference.net, and how does prompt caching work?

On Inference.net, GLM-5.3 is priced at $0.084 per 1M input tokens and $3.00 per 1M output tokens. Cached input reads are $0.079 per 1M tokens (6% less than standard input). Prompt caching is supported by keeping the prompt prefix byte-identical and passing a stable prompt_cache_key routing hint. Estimate monthly savings for your shared prefix length in /tools/prompt-cache-calculator/.

### What are the context window, output limits, and modalities for GLM-5.3?

GLM-5.3 supports a 1M tokens (1,048,576) context window and up to 944K tokens (943,718) output tokens per request. It accepts text input and produces text output. Configurable reasoning efforts (low, high, max) are supported.

### Does Inference.net offer Zero Data Retention and US residency for GLM-5.3?

Yes. Zero Data Retention (ZDR) is enabled by default for new accounts on Inference.net, so prompts and outputs sent to GLM-5.3 are not retained after processing or used for model training. Inference.net is SOC 2 Type 2 compliant; see our [ZDR policy](https://inference.net/zero-data-retention/) for full details. For US data residency, send requests to https://us.api.inference.net/v1 instead of the global https://api.inference.net/v1 host.

### How do I call GLM-5.3 with the OpenAI SDK or coding agents?

Point the official OpenAI TypeScript or Python SDK (or coding agents such as Claude Code, Codex, OpenCode, or Cursor) to https://api.inference.net/v1 with your INFERENCE_API_KEY and set model to "glm-5.3". It is callable over /v1/chat/completions, /v1/responses, and /v1/messages. New accounts get instant self-serve API keys with no approval queue. Track rolling 15-minute TTFT and output throughput on /benchmarks/.

Head-to-head comparisons

[All comparisons](https://inference.net/compare/)

[**Kimi K3 vs GLM-5.2**Two flagship open-weight coding models compared live on pricing, prompt caching, context window, and capabilities. Live pricing & telemetry](https://inference.net/compare/kimi-k3-vs-glm-5-2/) [**DeepSeek V4.1 Flash vs GLM-5.2**Flash-tier throughput and long context vs interactive tool calling — live catalog pricing and specs compared. Live pricing & telemetry](https://inference.net/compare/deepseek-v4-1-flash-vs-glm-5-2/) [**Kimi K3 vs GLM-5.3**Two flagship open-weight coding and reasoning models hosted directly on Inference.net — live pricing, 15m speed telemetry, and caching compared. Live pricing & telemetry](https://inference.net/compare/kimi-k3-vs-glm-5-3/) [**GLM-5.3 vs GLM-5.3 Flash**Full-capability GLM-5.3 vs speed-optimized GLM-5.3 Flash — live catalog pricing, 15m ClickHouse speed telemetry, and routing guide. Live pricing & telemetry](https://inference.net/compare/glm-5-3-vs-glm-5-3-flash/)

Related models

[See all models](https://inference.net/models/)

[**GLM-5.3-Flash**Z.ai 1M context Vision Tools Reasoning In **$0.10** Out **$0.35**](https://inference.net/models/glm-5-3-flash/) [**Kimi K3**Moonshot AI 1M context Vision Tools Reasoning In **$0.245** Out **$15.00**](https://inference.net/models/kimi-k3/) [**DeepSeek V4.1 Flash**DeepSeek 1M context Vision Tools Reasoning In **$0.103** Out **$0.60**](https://inference.net/models/deepseek-v4-1-flash/) [**Kimi K3.1 Pro**Moonshot AI 1M context Vision Tools Reasoning In **$1.80** Out **$9.00**](https://inference.net/models/kimi-k3-1-pro/)

Ready when you are

## Start building with GLM-5.3 today

Serverless, OpenAI-compatible, and billed per token. No commitments.

[Get started](https://inference.net/register/) [Read the docs](https://inference.net/docs/api/quickstart/)
