TTodAPI

GLM

GLM API pricing

Zhipu's GLM family through an OpenAI-compatible endpoint: GLM 5.3 Flash at $0.0252 / 1M input, GLM 5.3 at $0.2160 / 1M. Both bill in USD from the same prepaid balance as every other model.

Price table

Model idInput / 1MOutput / 1MNotes
glm-5.3-flash$0.0252$0.0756Cheapest output rate on the catalogue
glm-5.3$0.2160$0.7380Full-size model for harder tasks

USD, per 1M tokens, snapshot 2026-11-16. Older GLM versions (4.5, 4.6, 4.7) appear in search results but are not necessarily enabled — check GET /v1/models for your key.

What a workload costs

WorkloadFlashGLM 5.3
1M input tokens$0.0252$0.2160
1M output tokens$0.0756$0.7380
1M typical requests (1.5k/400)$68.04$619.20

Flash is the interesting one: its output rate ($0.0756) is lower than DeepSeek V4.1 Flash ($0.1008), which makes it the cheapest choice for output-heavy work such as summarisation and rewriting.

Call it

curl https://todapi.work/v1/chat/completions \
  -H "Authorization: Bearer $TODAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5.3-flash",
    "messages": [{"role": "user", "content": "Summarise this ticket in one line."}]
  }'
from openai import OpenAI

client = OpenAI(api_key="sk-...", base_url="https://todapi.work/v1")
resp = client.chat.completions.create(
    model="glm-5.3-flash",
    messages=[{"role": "user", "content": "Summarise this ticket in one line."}],
)
print(resp.choices[0].message.content)

Anthropic-shaped clients can call POST /v1/messages with the same model id — one key covers both protocols.

Flash or full size

The price gap is 8.6×; the quality gap is not. Route by task, not by habit.

FAQ

How much does GLM cost?

Flash: $0.0252 / $0.0756 per 1M. Full: $0.2160 / $0.7380 per 1M.

Is GLM OpenAI-compatible here?

Yes — same base URL, same SDK, GLM as the model id.

Do I need a Zhipu account?

No. The gateway holds the upstream relationship; you only need a TodAPI key.

All prices

Every model, per 1M tokens.

DeepSeek pricing

The other cheap tier, 83% below list.

Get a key

One key for GLM and everything else.