Models / LLMs

GLM 5.3 - API, Playground & Pricing

Z.ai GLM 5.3 is the flagship GLM model for agentic coding and long-horizon tool use, with reasoning on by default, function tools and a 1M-token context. Run it in the playground, call its API, or let Claude Code, Codex or Cursor run it through one FlyMy.AI MCP. No Z.ai API key: runs are billed to your FlyMy.AI balance.

Provider
Z.ai
Category
LLMs / Chat model
Price
$1.40 / $4.40 per 1M tokens
Returns
output, finish_reason, service_tier, reasoning
Commercial use
Allowed
Model ID
flymyai/glm-5_3
GLM 5.3 by Z.ai: chat model sample, long-horizon tool use
GLM 5.3 sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude CodeCodexCursorAny agent

Use GLM 5.3 in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

Read https://flymy.ai/skill.md and https://flymy.ai/models/glm-5-3.md. Help me connect the FlyMy.AI MCP to this assistant, then run GLM 5.3 (flymyai/glm-5_3) for this task: Ask GLM 5.3: write unit tests for this Python module.
Open FlyMy.AIDownload brief

What GLM 5.3 does

Send a prompt, or a chat history in messages, and get a text answer from a 1M-token context; it takes text only. reasoning_effort is low, medium, high or max (medium by default), and reasoning tokens are billed as output; system_prompt and max_tokens (up to 131,072) work as usual, and private_mode keeps the prompt and answer out of FlyMy.AI storage and logs on synchronous calls. Call it with your FlyMy.AI key in two ways: the FlyMy.AI API, or the OpenAI-compatible Chat Completions endpoint, where it also calls your function tools and takes their results back. It answers in text only; use the image, video and audio models to create media.

GLM 5.3 inputs

Every input of flymyai/glm-5_3 as its live schema lists them. Returns output (string), finish_reason (string), service_tier (string), reasoning (string), stream_details (string).

InputType, values and default
# prompt
string required What to ask GLM 5.3
# messages
string optional Chat history as a JSON array of {role, content}; used instead of the prompt
# system_prompt
string optional Instructions for the whole chat
# reasoning_effort
string optional Allowed: low, medium, high, max Default: medium How hard GLM 5.3 thinks before answering
# max_tokens
integer optional Allowed: 1 to 131072 Most tokens to generate, reasoning included
# private_mode
boolean optional Default: false Keep the prompt and the answer out of FlyMyAI storage and logs (synchronous requests only)

Ask your agent

Requests to paste as they are, once the FlyMy.AI MCP is connected.

“Ask GLM 5.3: write unit tests for this Python module.”runs flymyai/glm-5_3
“Compare these two product specs in a table with GLM 5.3.”runs flymyai/glm-5_3
“With GLM 5.3, rewrite this landing page paragraph to be shorter and clearer.”runs flymyai/glm-5_3

GLM 5.3 price

$1.40 per 1M input tokens, $4.40 per 1M output tokens, cached input $0.26 per 1M. Cached input is $0.26 per 1M tokens. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

GLM 5.3 vs similar models

Popular LLMs models beside it, with prices from billing and settings from each live schema.

ModelProviderKindPriceDefault runInput tokensOutput tokens
GLM 5.3Z.aiChat model$1.40 / $4.40 per 1M tokens$1.40 / $4.40 per 1M tokens$1.40 per 1M$4.40 per 1M
Kimi K3.1 ProMoonshot AIChat model$2.00 / $10.00 per 1M tokens$2.00 / $10.00 per 1M tokens$2.00 per 1M$10.00 per 1M
TypeSafe Jev 1.13FlyMy.AITyped decisions$0.042 per 1M tokens$0.042 / $0.00 per 1M tokens$0.042 per 1M$0.00 per 1M
Claude Haiku 5.5AnthropicChat model$0.10 / $0.50 per 1M tokens$0.10 / $0.50 per 1M tokens$0.10 per 1M$0.50 per 1M

GLM 5.3 API

The same model from your own code or from an agent. Send your FlyMy.AI API key in the X-API-KEY header; get a key in your account.

cURL

Form fields, not JSON; files go as uploads or public URLs. Text models answer on the streaming route.

curl -X POST https://api.flymy.ai/api/v1/flymyai/glm-5_3/predict/stream/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'prompt=Explain in two sentences what an MCP server is.'

Python

The OpenAI SDK with only the base URL and the key changed.

# pip install openai
import os

from openai import OpenAI

client = OpenAI(base_url="https://api.flymy.ai/api/v1/flymyai/glm-5_3/openai/v1", api_key=os.environ["FLYMYAI_API_KEY"])
reply = client.chat.completions.create(
    model="flymyai/glm-5_3",
    messages=[{"role": "user", "content": "Explain in two sentences what an MCP server is."}],
)
print(reply.choices[0].message.content)

JavaScript / TypeScript

The OpenAI SDK with only the base URL and the key changed.

// npm install openai
import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.flymy.ai/api/v1/flymyai/glm-5_3/openai/v1", apiKey: process.env.FLYMYAI_API_KEY });
const reply = await client.chat.completions.create({
  model: "flymyai/glm-5_3",
  messages: [{ role: "user", content: "Explain in two sentences what an MCP server is." }],
});
console.log(reply.choices[0].message.content);

MCP

Your agent calls get_model_schema, then run_model with:

{
  "endpoint_id": "flymyai/glm-5_3",
  "input": {
    "prompt": "Explain in two sentences what an MCP server is."
  }
}

Questions about GLM 5.3

Do I need a Z.ai API key for GLM 5.3?

No. GLM 5.3 runs on FlyMy.AI's account, so you need no Z.ai key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.

How much does GLM 5.3 cost?

$1.40 per 1M input tokens, $4.40 per 1M output tokens, cached input $0.26 per 1M. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-18.

Can I try GLM 5.3 before I write code?

Yes. Open GLM 5.3 in the FlyMy.AI playground at https://app.flymy.ai/models/flymyai/glm-5_3, fill in its inputs and run it; the same run is one API call later, billed the same way.

How do I use GLM 5.3 in Claude Code, Codex or Cursor?

Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Ask GLM 5.3: write unit tests for this Python module." Your agent reads the inputs with get_model_schema and runs flymyai/glm-5_3 with run_model.

What does GLM 5.3 need as input?

GLM 5.3 requires prompt; it also takes 5 optional inputs, each listed on this page with its allowed values and default.

Can I call GLM 5.3 from my own code?

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/glm-5_3/predict/stream/ with your FlyMy.AI API key in the X-API-KEY header; it also answers the OpenAI Chat Completions protocol at https://api.flymy.ai/api/v1/flymyai/glm-5_3/openai/v1.

Go to the source

From the FlyMy.AI model catalog of 2026-11-18: inputs from each model's live schema, prices from FlyMy.AI billing. Requests are examples to paste, not recorded runs.