# GLM 5.3 API Pricing vs Flash: Cost per Session

> GLM 5.3 API pricing in USD per 1M tokens: GLM 5.3 vs Flash, Z.ai list rates vs the Coding Plan, and what a 40-call coding session really costs.

Source: https://goiapi.com/en/blog/glm-5-3-api-pricing
Updated: 2026-12-05

Author: GoiAPI, December 5, 2026

[GLM 5.3](https://goiapi.com/en/models/glm-5.3) API pricing on GoiAPI is $0.144144 per 1M input tokens and $0.432432 per 1M output tokens, and [GLM 5.3 Flash](https://goiapi.com/en/models/glm-5.3-flash) is $0.0408408 input and $0.1225224 output (checked on December 5, 2026). Z.ai's own list price for GLM-5.3 is $1.40 input and $4.40 output per 1M tokens, and its GLM Coding Plan is a separate subscription billed in credits, not tokens. Below you will find both price lists side by side, the difference between GLM 5.3 and Flash, a worked cost estimate for a 40-call coding session, and a setup that runs GLM in Claude Code or Cline.

Disclosure: GoiAPI sells API access to the models mentioned in this article.

## GLM 5.3 API pricing at a glance

All prices are in USD per 1M tokens. You pay for the tokens each request actually uses: input tokens (what you send) and output tokens (what the model writes back, including its reasoning). If tokens are new to you, start with our explainer on [what AI API tokens are and what 1M tokens costs](https://goiapi.com/en/blog/ai-api-tokens-pricing).

### GoiAPI prices for GLM 5.3 and GLM 5.3 Flash

| Model | Model name | Input | Output | Cache read | Cache write |
|---|---|---|---|---|---|
| [GLM 5.3](https://goiapi.com/en/models/glm-5.3) | `glm-5.3` | $0.144144 | $0.432432 | $0.014495 | $0.18018 |
| [GLM 5.3 Flash](https://goiapi.com/en/models/glm-5.3-flash) | `glm-5.3-flash` | $0.0408408 | $0.1225224 | $0.0040664 | $0.051051 |

Source: [GoiAPI pricing](https://goiapi.com/en/pricing), checked on December 5, 2026. Each request that returns content has a small minimum charge, which only matters for very short requests. A request that fails without returning any content is not charged, unless you cancel it yourself.

### Z.ai list prices (pay per token)

| Model (Z.ai) | Input | Cached input | Cached input storage | Output |
|---|---|---|---|---|
| GLM-5.3 | $1.40 | $0.26 | $0 for a limited time | $4.40 |
| GLM-5.3-Flash | $0.15 | $0.03 | $0 for a limited time | $0.50 |
| GLM-5.3-FlashX | $0.37 | $0.075 | $0 for a limited time | $1.25 |
| GLM-5.4 | $1.40 | $0.26 | $0 for a limited time | $4.40 |

Source: [Z.ai pricing](https://docs.z.ai/guides/overview/pricing), checked on December 5, 2026. Z.ai shows no end date for the limited-time $0 storage rate, so check the page again before you budget around it.

### What a single chat message costs

For a typical chat turn of 2,000 input tokens and 500 output tokens, the GoiAPI rates above work out to:

| Model | Cost of one 2,000-in / 500-out request |
|---|---|
| GLM 5.3 | about $0.0005 |
| GLM 5.3 Flash | about $0.00014 |

Worked by hand from the prices checked on December 5, 2026, before the per-request minimum. You can run your own numbers in the [GoiAPI cost calculator](https://goiapi.com/en/tools/cost-calculator).

## Why GLM 5.3 prices look different on every site

Search results for GLM pricing mix news articles, price trackers and API marketplaces, and the numbers rarely match. Four things explain most of the gap.

### 1. Per-token API pricing vs the GLM Coding Plan

Z.ai sells GLM two ways. The API is billed per token, as in the table above. The [GLM Coding Plan](https://docs.z.ai/devpack/overview) is a subscription "starting at just 18 USD per month" that is metered in credits, not tokens (checked on December 5, 2026):

| Coding Plan tier | Credits per 5 hours | Credits per week |
|---|---|---|
| Lite | 2,000 | 10,000 |
| Pro | 12,000 | 60,000 |
| Max | 28,000 | 140,000 |

The 5-hour credits refresh five hours after you use them, and weekly credits reset every 7 days. Off-peak usage is charged at 50% of the standard credit rate; peak hours are Monday to Friday, 14:00 to 18:00 Singapore time (UTC+8). All tiers include GLM-5.4, GLM-5.3 and GLM-5.3-Flash.

Putting "$18 a month" next to "$1.40 per 1M tokens" compares two different units. The plan only makes sense if you use it heavily and inside the tools it supports (more on that below).

### 2. Two platforms for two markets

Besides Z.ai for international users, the same company runs the BigModel platform for mainland China ([docs.bigmodel.cn](https://docs.bigmodel.cn/cn/guide/models/text/glm-5.3)). We have not verified the BigModel price list, so we don't quote it here. If you see GLM prices in yuan, don't compare them directly with USD rates.

### 3. Cache columns have different names

Z.ai lists "Cached input" and "Cached input storage". GoiAPI lists "Cache read" and "Cache write". Compare input with input and output with output first; the cache columns only apply when your tool uses prompt caching.

### 4. Similar model names

GLM-5.3, GLM-5.3-Flash and GLM-5.3-FlashX are three different models with three different prices on Z.ai. Some trackers also list a "GLM 5.3 Prime" tier, but Z.ai's pricing page does not list any model named Prime (checked on December 5, 2026). On GoiAPI, the two GLM model names are `glm-5.3` and `glm-5.3-flash`; FlashX, Prime and GLM-5.4 are not available.

## GLM 5.3 vs GLM 5.3 Flash

GLM is the large language model family from Z.ai, the international name of the company formerly known as Zhipu AI. It was founded in 2019 in Beijing, started at Tsinghua University, and adopted the Z.ai name abroad in July 2025 ([Wikipedia: Z.ai](https://en.wikipedia.org/wiki/Z.ai), checked on December 5, 2026). On GoiAPI's pricing page the maker is listed as "Zhipu (GLM)".

| | GLM 5.3 | GLM 5.3 Flash |
|---|---|---|
| Released (per Z.ai) | August 18, 2026 | August 26, 2026 |
| Positioning (per Z.ai) | Flagship model for software engineering and agent tasks | First native multimodal model in the GLM-5 series |
| Input (per Z.ai) | Text only | Video, image, text, file |
| Context / max output (per Z.ai) | 1M / 128K tokens | 1M / 128K tokens |
| Reasoning | Always on | Always on |
| GoiAPI input / output per 1M tokens | $0.144144 / $0.432432 | $0.0408408 / $0.1225224 |

Sources: Z.ai's [GLM-5.3](https://docs.z.ai/guides/llm/glm-5.3) and [GLM-5.3-Flash](https://docs.z.ai/guides/llm/glm-5.3-flash) pages and [release notes](https://docs.z.ai/release-notes/new-released), checked on December 5, 2026. We have not tested sending images or video to `glm-5.3-flash` through GoiAPI.

### Reasoning tokens are billed as output

Both models always think before they answer. Z.ai's GLM-5.3 page says the model "always operates with reasoning enabled" and that disabling reasoning is no longer supported; the Flash page says thinking cannot be disabled. Those reasoning tokens count as output tokens, so they are billed at the output rate. In our own test calls on December 3, 2026, the reasoning tokens appeared inside the output count in `usage`.

Two practical consequences:

- **A lower per-token price does not guarantee a proportionally lower cost per answer.** A model that thinks longer on the same question writes more output tokens. Compare models on your own prompts and check the real cost per request in the dashboard.
- **Don't set `max_tokens` too low.** The model can spend the whole budget on reasoning and return an empty answer, and you still pay for the tokens it generated.

### Which one to pick

Use GLM 5.3 for hard, multi-step coding and agent work. Use GLM 5.3 Flash for high-volume jobs, simple tasks, or as a secondary model for background work in a coding tool.

## How to call the GLM 5.3 API

GoiAPI accepts both the OpenAI format (Chat Completions) and the Anthropic format (Messages) for both GLM models. On December 3, 2026 we called `glm-5.3` and `glm-5.3-flash` through each format and both returned HTTP 200. If you are unsure which format your tool uses, read [what an OpenAI-compatible API is](https://goiapi.com/en/blog/openai-compatible-api).

| Format | Base URL | Endpoint |
|---|---|---|
| OpenAI (Chat Completions) | `https://api.goiapi.com/v1` | `/chat/completions` |
| Anthropic (Messages) | `https://api.goiapi.com` | `/v1/messages` |

### OpenAI format with curl

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

Swap `glm-5.3` for `glm-5.3-flash` to use Flash. Full parameters are in the [Chat Completions docs](https://goiapi.com/en/docs/openai-chat-completions).

### Anthropic format with curl

```bash
curl https://api.goiapi.com/v1/messages \
  -H "x-api-key: sk-..." \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{"model": "glm-5.3", "max_tokens": 1024, "messages": [{"role": "user", "content": "Hello"}]}'
```

See the [Anthropic Messages docs](https://goiapi.com/en/docs/anthropic-messages) for headers and body fields.

## Using GLM 5.3 in Claude Code

Claude Code speaks the Anthropic format only, so point it at the Anthropic-format base URL (no `/v1`) and set the model with `ANTHROPIC_MODEL`.

macOS / Linux:

```bash
export ANTHROPIC_BASE_URL="https://api.goiapi.com"
export ANTHROPIC_AUTH_TOKEN="sk-..."
export ANTHROPIC_MODEL="glm-5.3"
claude
```

Windows PowerShell:

```powershell
$env:ANTHROPIC_BASE_URL = "https://api.goiapi.com"
$env:ANTHROPIC_AUTH_TOKEN = "sk-..."
$env:ANTHROPIC_MODEL = "glm-5.3"
claude
```

On December 3, 2026 we ran Claude Code 2.1.325 this way with `glm-5.3` and a one-line question. The model answered correctly. Claude Code printed this warning to stderr and kept running:

```text
[claude-code:unrecognized_model] {"model":"glm-5.3","query_source":"sdk"}
```

That was a single short question, not a long session that reads and edits files, and we have not tested `glm-5.3-flash` inside Claude Code. The base setup for Claude models is in the [Claude Code integration docs](https://goiapi.com/en/docs/integrations/claude-code), and sending different tasks to different models is covered in our [Claude Code Router guide](https://goiapi.com/en/blog/claude-code-router).

Be aware of the support boundary. Claude Code's own documentation says Anthropic "doesn't support routing Claude Code to non-Claude models through any gateway" ([Claude Code: Other LLM gateways](https://code.claude.com/docs/en/llm-gateway), checked on December 5, 2026). If something breaks while Claude Code runs on GLM, Anthropic will not help fix it.

Z.ai also publishes its own [guide to using Claude Code with GLM](https://docs.z.ai/devpack/tool/claude) through its Anthropic endpoint (checked on December 5, 2026).

## Using GLM 5.3 in Cline, Roo Code and Kilo Code

These VS Code extensions call models through the OpenAI format. Choose the "OpenAI Compatible" option and fill in:

- Base URL: `https://api.goiapi.com/v1`
- API Key: `sk-...`
- Model ID: `glm-5.3` or `glm-5.3-flash`

Field-by-field steps are in the [Cline and Roo Code docs](https://goiapi.com/en/docs/integrations/cline) and in our guide to [setting one API key in Cline, Roo Code, Kilo Code and Cursor](https://goiapi.com/en/blog/cline-roo-code-kilo-code-cursor-api-key).

## GLM 5.3 cost per coding session

Coding tools send far more input than a chat. Every call resends the system prompt, tool definitions and file contents. In our Claude Code test above (December 3, 2026), one short question with `glm-5.3` used 14,730 input tokens, 1,536 cache-read tokens and 52 output tokens. Most of that input is Claude Code's own system prompt and tool list. At GoiAPI's GLM 5.3 rates that one call costs about $0.0022, compared with a small fraction of a cent for the same question sent straight to the API.

For a full session, here is an estimate. These are assumptions, not measurements: 40 calls, each with 30,000 input tokens and 800 output tokens (reasoning included). The "with caching" column assumes 80% of the input tokens are billed as cache reads.

| Model | No caching: per call / per session | 80% cache reads: per call / per session |
|---|---|---|
| GLM 5.3 | $0.0047 / $0.19 | $0.0016 / $0.062 |
| GLM 5.3 Flash | $0.0013 / $0.053 | $0.00044 / $0.018 |
| [Claude Opus 5.5](https://goiapi.com/en/models/claude-opus-5-5) (for reference) | $0.015 / $0.60 | $0.0050 / $0.20 |
| [Claude Haiku 5.5](https://goiapi.com/en/models/claude-haiku-5-5) (for reference) | $0.00075 / $0.030 | $0.00027 / $0.011 |

Worked from GoiAPI prices checked on December 5, 2026. Example for GLM 5.3 without caching: 30,000 × $0.144144 ÷ 1,000,000 = $0.00432 for input, plus 800 × $0.432432 ÷ 1,000,000 = $0.00035 for output, so about $0.0047 per call and $0.19 for 40 calls. Cache-write charges and the per-request minimum are left out to keep the math readable.

Read the table with three caveats:

- **The cache column is an assumption.** In our single Claude Code call, only 1,536 of more than 16,000 tokens were cache reads. We have not measured cache hit rates over a long GLM session.
- **Output may be higher than 800 tokens per call**, because both GLM models always reason and reasoning is billed as output.
- **Haiku 5.5 has lower per-token rates than GLM 5.3 Flash** on GoiAPI's price list. If your only goal is to lower the cost of Claude Code, trying `claude-haiku-5-5` first is reasonable, and it avoids the support caveat above. For the full Claude price list, see [Claude API pricing](https://goiapi.com/en/blog/claude-api-pricing).

After each session, the **Request history** page in the GoiAPI dashboard shows the real token count and cost of every request.

## When the Z.ai Coding Plan or Z.ai API is the better choice

Paying per token through GoiAPI is not the right fit for everyone. Go direct to Z.ai when:

- **You code many hours a day with GLM only.** With heavy, steady usage, a Coding Plan can work out better than paying per token. Note that Z.ai's [quick start](https://docs.z.ai/devpack/quick-start) says the plan is strictly limited to the tools and products Z.ai supports, and that API keys for its plan types and its standard model API "are not interchangeable" (checked on December 5, 2026).
- **You need GLM-5.4, GLM-5.3-FlashX or another GLM model** that GoiAPI does not offer.
- **You need a data-processing agreement directly with the model maker.**

GoiAPI fits when you want one API key for GLM, Claude, GPT and DeepSeek, pay as you go, and top up with USDT instead of a credit card. For another lower-cost model family on the same key, compare [DeepSeek V4 API pricing](https://goiapi.com/en/blog/deepseek-v4-api-pricing).

## FAQ

### How much does the GLM 5.3 API cost?

On GoiAPI, GLM 5.3 costs $0.144144 per 1M input tokens and $0.432432 per 1M output tokens; GLM 5.3 Flash costs $0.0408408 and $0.1225224 (checked on December 5, 2026). Z.ai's list price for GLM-5.3 is $1.40 input and $4.40 output per 1M tokens.

### Is GLM 5.3 Flash the same as GLM 5.3?

No. Flash has lower per-token prices and, according to Z.ai, accepts video, image, text and file input, while GLM 5.3 accepts text only. Both have a 1M-token context window, up to 128K output tokens, and reasoning that cannot be turned off.

### Is the GLM Coding Plan cheaper than the API?

It depends on volume. The plan starts at $18 per month and is metered in credits per 5 hours and per week, and it only works in tools Z.ai supports. Light or irregular use is usually easier to budget per token; heavy daily use inside supported tools may favor the plan.

### Do reasoning tokens cost extra with GLM 5.3?

They are not a separate fee, but they are billed as output tokens. Because GLM 5.3 and Flash always reason, expect more output tokens than the visible answer suggests.

### Can I use GLM 5.3 with Claude Code?

Yes, it runs. We ran Claude Code with `ANTHROPIC_MODEL=glm-5.3` against `https://api.goiapi.com` on December 3, 2026 and got a correct answer, with an `unrecognized_model` warning. Anthropic does not support using non-Claude models in Claude Code, and our test was a short question, not a long session.

### Are Z.ai and Zhipu AI the same company?

Yes. Z.ai is the international name, adopted in July 2025, of the company formerly known as Zhipu AI.

## Get started with GLM 5.3 on GoiAPI

1. [Create a GoiAPI account](https://goiapi.com/en/signup) and verify your email.
2. Top up with USDT (TRC20 or BEP20) or Binance Pay. No credit card and no monthly fee; 1 USDT adds 1 USD to your balance. Top-ups are final and non-refundable, so only add what you plan to use. Paying with crypto is explained in [Claude API without a credit card](https://goiapi.com/en/blog/claude-api-without-credit-card).
3. Create an API key in the dashboard. It is shown only once.
4. Set the base URL to `https://api.goiapi.com/v1` for OpenAI-format tools or `https://api.goiapi.com` for Anthropic-format tools, and use `glm-5.3` or `glm-5.3-flash` as the model name.

The [quickstart guide](https://goiapi.com/en/docs/quickstart) walks through each step, and the [pricing page](https://goiapi.com/en/pricing) lists every model on the same key.
