Skip to main content
AnyAIGC

Zhipu Z.ai · glm-5.3-flash

GLM-5.3-Flash API

The first natively multimodal GLM-5 model, with 320B total and 18B active parameters. Zhipu says it beats GLM-5.2 overall at a tenth of the price. On AnyAIGC it costs about 60% less than the official price.

glm-5.3-flash input $0.0607 per 1M tokens, output $0.2025 per 1M tokens, cache hit $0.0122: about 1/15 the price of GLM-5.3.

  • Model ID glm-5.3-flash
  • Context 1M tokens
  • Input $0.0607 / 1M
  • Concurrency Unlimited
  • Business Self-service invoices
About

A natively multimodal model on a new base and architecture

Zhipu calls GLM-5.3-Flash the first natively multimodal GLM-5 model, delivering more than GLM-5.2 at a very low cost. Unlike GLM-5.3, it starts from a newly trained base model, pretrained on about 30T tokens that include multimodal data.

It is a MoE with 320B total and 18B active parameters. Zhipu says it is the first open frontier model to combine sparse attention with linear attention, and it uses manifold-constrained hyper-connections (mHC). Compared with GLM-5.3, attention compute drops about 3x and KV cache about 4.4x, which keeps long-context ability while cutting serving cost sharply. It has a 1M-token context, up to 128K output, and thinking is always on.

On AnyAIGC, glm-5.3-flash runs on the OpenAI-compatible /v1/chat/completions endpoint, accepts text and images, and works directly in Claude Code, with unlimited concurrency.

Context window
1Mtokens
Max output
128Ktokens
Parameters
320B18B active, MoE
Input
Text, imagesNative multimodal
Thinking
Always onreasoning_effort: low / high / max
Weights
OpenMIT license
Capabilities

What GLM-5.3-Flash can do

  • 01

    Design to code

    Zhipu reports 77.8 on Vision2Web. It builds and fixes front-end UI from design files and screenshots.

  • 02

    Charts and documents

    Zhipu reports 89.4 on CharXiv Reasoning (with tools) and 62.4 on OfficeQA Pro, for reading charts and reports and producing office deliverables.

  • 03

    Coding and agents

    Zhipu reports 84.3 on Terminal Bench 2.1, 63.4 on DeepSWE and 78.4 on Toolathlon Verified, beating GLM-5.2 overall.

  • 04

    Computer use

    Zhipu reports 59.1 on OSWorld 2.0. It plans and carries out actions from screenshots.

  • 05

    Low-cost long context

    1M context at $0.0607 input and $0.0122 cache hit per 1M tokens, so long documents and multi-turn agents cost less.

  • 06

    Built for high volume

    AnyAIGC does not cap concurrency, so batch classification, extraction, summaries and parallel agents run as-is.

Pricing

GLM-5.3-Flash API pricing

Pay per token at fixed rates, with no subscription or monthly fee. Input, output and cache hits all cost about 40.5% of Zhipu's official USD prices (about 60% off).

  • Per tokenInput, output and cache priced separately
  • About 60% offvs Zhipu official USD prices
  • Unlimited concurrencyOn by default for every user
  • USDOne balance for 300+ models
glm-5.3-flash prices per 1M tokens (USD), AnyAIGC vs Zhipu official
ItemModelAnyAIGCZhipu officialSavings
Inputper 1M tokensglm-5.3-flash$0.0607$0.1560%
Outputper 1M tokens, incl. thinkingglm-5.3-flash$0.2025$0.5060%
Cache hitper 1M tokensglm-5.3-flash$0.0122$0.0359%

Prices are in USD and billed on the tokens you actually use. Output includes thinking tokens, and repeated prompt prefixes are billed at the cache-hit rate automatically. Official prices come from the Zhipu Z.ai pricing page (USD). The table shows the lowest price in the model catalog; see the AnyAIGC model catalog for live pricing.

Cost examples

Estimates for common workloads. The struck-through figure is the same usage at Zhipu official prices.

  • Classify 10,000 tickets

    Each ticket: 2,000 input tokens + 300 output

    $1.82

    Official $4.50

  • 50 coding agent turns

    Each turn: 40K cache-hit tokens + 4,000 input + 2,000 output

    $0.057

    Official $0.140

  • 1M input + 1M output

    1M input tokens + 1M output tokens

    $0.263

    Official $0.650

Benchmarks

Where it beats GLM-5.2

Scores Zhipu published in the GLM-5.3-Flash technical blog, compared with GLM-5.2. GLM-5.2 does not support vision benchmarks, so only Flash scores are listed there.

GLM-5.3-Flash vs GLM-5.2 · Zhipu evals

  • 5.3-Flash · DeepSWE63.4
  • 5.2 · DeepSWE46.2
  • 5.3-Flash · Toolathlon78.4
  • 5.2 · Toolathlon59.9
  • 5.3-Flash · AutomationBench48.8
  • 5.2 · AutomationBench26.2
GLM-5.3-Flash vs GLM-5.2 official benchmarks (published by Zhipu)
BenchmarkGLM-5.3-FlashGLM-5.2
Terminal Bench 2.1Terminal coding84.381.0
DeepSWE v1.1Software engineering63.446.2
NL2RepoRepo from scratch56.348.9
Toolathlon VerifiedTool use78.459.9
AutomationBench v1.0.6Automation agent48.826.2
Agents' Last ExamGeneral agent26.320.4
HLE w/ ToolsGeneral reasoning, with tools55.354.7
GDPval-AA v2Knowledge work, Elo17731504
OfficeQA ProOffice and finance QA62.4–
CharXiv ReasoningChart reasoning, with tools89.4–
OSWorld 2.0Computer use59.1–
Vision2WebScreenshot to web page77.8–

Source: the GLM-5.3-Flash technical blog. Scores are Zhipu's published results; "–" means GLM-5.2 does not support that task type or Zhipu did not publish a score.

Compare

GLM-5.3-Flash vs GLM-5.3 vs GLM-5.2

Use Flash for high-volume, image and budget-sensitive tasks, and hand the hardest coding work to GLM-5.3.

GLM-5.3-Flash, GLM-5.3 and GLM-5.2 compared; prices are AnyAIGC USD per 1M tokens
SpecGLM-5.3-FlashGLM-5.3GLM-5.2
RoleNative multimodal, low costLatest flagshipLong-horizon flagship
Context1M1M1M
InputText, imagesTextText
ThinkingAlways onAlways onOn or off
AnyAIGC inputper 1M tokens$0.0607$0.9450$0.9450
AnyAIGC outputper 1M tokens$0.2025$2.9700$2.9700
Cache hitper 1M tokens$0.0122$0.1758$0.2362

Specs come from Zhipu Z.ai's official docs. Prices are current AnyAIGC prices; see the model catalog for live pricing. More on the GLM-5.3 API.

Use cases

Where GLM-5.3-Flash fits

  • 01 · Front end

    Designs to components

    Upload a design file or page screenshot, generate React, Vue or plain HTML/CSS, and iterate on the rendered result.

  • 02 · Batch jobs

    Classification, extraction and summaries

    Ticket triage, field extraction, review tagging and long-document summaries. Low unit prices and no concurrency cap suit large parallel runs.

  • 03 · Documents and charts

    Reports, PDF scans and charts

    Hand over report screenshots, scanned pages or charts to extract data, check numbers and write up the analysis.

  • 04 · Coding agents

    A budget option for Claude Code

    Use Flash for everyday coding in Claude Code, or set it only as the lightweight subtask model and leave the main work to GLM-5.3.

Quickstart

Connect to the GLM-5.3-Flash API in three steps

  1. Sign up and add credit: create an account at anyaigc.ai. Top up from $1; your balance works across every model on the platform.
  2. Create an API key: create a key in the console, copy the value that starts with sk-, and store it in the ANYAIGC_API_KEY environment variable.
  3. Send a request: call POST https://anyaigc.ai/v1/chat/completions with model set to glm-5.3-flash and an Authorization: Bearer header. With the OpenAI SDK, just set base_url to https://anyaigc.ai/v1.
POST /v1/chat/completions
curl https://anyaigc.ai/v1/chat/completions \
  -H "Authorization: Bearer $ANYAIGC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5.3-flash",
    "messages": [
      {"role": "user", "content": "Explain what a database index is in three sentences."}
    ]
  }'
Python · openai SDK
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://anyaigc.ai/v1",
    api_key=os.environ["ANYAIGC_API_KEY"],
)

resp = client.chat.completions.create(
    model="glm-5.3-flash",
    messages=[
        {"role": "system", "content": "You are a senior front-end engineer. Answer with runnable code."},
        {"role": "user", "content": "Write an accessible dropdown menu component."},
    ],
)
msg = resp.choices[0].message
print(getattr(msg, "reasoning_content", None))  # reasoning trace, if any
print(msg.content)
print(resp.usage)
Python · image_url
import base64
import os
from pathlib import Path
from openai import OpenAI

client = OpenAI(base_url="https://anyaigc.ai/v1", api_key=os.environ["ANYAIGC_API_KEY"])

# Encode a local image as a Base64 data URL; a public image URL works too
b64 = base64.b64encode(Path("design.png").read_bytes()).decode()

resp = client.chat.completions.create(
    model="glm-5.3-flash",
    messages=[{
        "role": "user",
        "content": [
            {"type": "image_url", "image_url": {"url": f"data:image/png;base64,{b64}"}},
            {"type": "text", "text": "Build a responsive HTML + CSS page from this design."},
        ],
    }],
)
print(resp.choices[0].message.content)
Python · stream=True
import os
from openai import OpenAI

client = OpenAI(base_url="https://anyaigc.ai/v1", api_key=os.environ["ANYAIGC_API_KEY"])

stream = client.chat.completions.create(
    model="glm-5.3-flash",
    messages=[{"role": "user", "content": "Write 5 changelog entries for a SaaS product."}],
    stream=True,
)
for chunk in stream:
    if not chunk.choices:
        continue
    delta = chunk.choices[0].delta
    # reasoning_content deltas (if any) arrive first, then the final answer in content
    reasoning = getattr(delta, "reasoning_content", None)
    if reasoning:
        print(reasoning, end="", flush=True)
    if delta.content:
        print(delta.content, end="", flush=True)
print()

Tip: GLM-5.3-Flash always thinks. Its reasoning comes back in the reasoning_content field, and reasoning_effort (low / high / max) sets the depth. Send images as image_url content blocks, using a public URL or Base64. In multi-turn chats and tool calls, send the full assistant message back in the next request unchanged.

See the Chat Completions reference for every parameter. Replace the model name in the docs examples with the GLM model ID you want.

Claude Code

Use GLM-5.3-Flash in Claude Code

Switch Claude Code to GLM-5.3-Flash: at about 1/15 the price of GLM-5.3, it handles everyday coding and reads screenshots to fix UI.

  1. Install Claude Code: use the official installer, for example curl -fsSL https://claude.ai/install.sh | bash on macOS or Linux.
  2. Add the config: edit ~/.claude/settings.json, add the env block below, and replace ANTHROPIC_AUTH_TOKEN with the key you created on AnyAIGC.
  3. Start coding: run claude in your project folder. Type /model to confirm the current model is glm-5.3-flash.
~/.claude/settings.json
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://anyaigc.ai",
    "ANTHROPIC_AUTH_TOKEN": "sk-your-API-key",
    "ANTHROPIC_MODEL": "glm-5.3-flash",
    "ANTHROPIC_DEFAULT_OPUS_MODEL": "glm-5.3-flash",
    "ANTHROPIC_DEFAULT_SONNET_MODEL": "glm-5.3-flash",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "glm-5.3-flash",
    "API_TIMEOUT_MS": "300000",
    "CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS": "1"
  }
}

For hard problems: for complex cross-module refactors or long-running tasks, change ANTHROPIC_MODEL in the config to glm-5.3 and keep Flash for lightweight subtasks.

For the full walkthrough and common errors, see the Claude Code setup guide. Swap the model name in the guide for glm-5.3-flash.

Enterprise

GLM-5.3-Flash API for teams and enterprises

Teams can top up, issue invoices themselves, and work with a dedicated support and technical contact.

  • Invoices

    Issue them yourself

    Issue an invoice in the console for the amount you actually topped up, whenever you need one.

  • Dedicated support

    Account and technical contacts

    Work with a dedicated support contact and technical engineer for onboarding, migration and troubleshooting.

Payment methods
  • WeChat Pay
  • Alipay
  • USDT
  • Credit card

Why teams trust AnyAIGC

Trial credit, top-ups, refunds, data handling and billing, spelled out up front.

  • 5M free tokens to start

    New accounts get trial credit, so you can test before you top up.

  • Top up from $1, refundable

    Top up from $1. Unused balance can be refunded with no fee.

  • Official channels, real models

    Requests go to official model channels, never cheaper or reverse-engineered substitutes.

  • No retention, no training

    Unless the law requires it, your prompts and outputs are not persistently stored or used for training. See the privacy policy.

  • Transparent billing, spend caps

    See tokens and cost for every request in the console, and set a quota on each API key.

  • 24/7 support

    Contact support any time about integration, billing or incidents.

SPECS

Specs and how to choose it

Z.ai's docs call GLM-5.3-Flash the first native multimodal model in the GLM-5 series, with stronger intelligence than GLM-5.2.

The docs state 320B total and 18B active parameters, and describe it as the first open-source frontier model to combine sparse and linear attention, cutting attention computation by 3.01x and KV cache by 4.44x versus GLM-5.3.

The official model overview table lists a 1M-token context.

This page lists Input at $0.0607, Output at $0.2025, Cache hit at $0.0122, matching the pricing table above.

Compared with glm-5.3: the official docs say GLM-5.3 currently takes text-only input, so choose GLM-5.3-Flash when you need image and other multimodal input.

Specs come from the vendor's official documentation (docs.z.ai). The table on this page is the price, and the model catalog is authoritative for live rates.

FAQ

GLM-5.3-Flash API FAQ

How much does the GLM-5.3-Flash API cost?

On AnyAIGC, glm-5.3-flash is billed per token: input $0.0607 per 1M tokens, output $0.2025 per 1M tokens, cache hit $0.0122 per 1M tokens. Zhipu's official USD prices are input $0.15, output $0.50 and cache hit $0.03, so AnyAIGC costs about 40.5% of official (about 60% off). Output includes thinking tokens. See the model catalog for live pricing.

What is the GLM-5.3-Flash model ID, and how large is the context?

The model ID is glm-5.3-flash. Zhipu lists a 1M-token context window and up to 128K output tokens. Through AnyAIGC it accepts text and image input.

How is GLM-5.3-Flash different from GLM-5.3?

GLM-5.3-Flash is built on a newly trained base model: 320B total and 18B active parameters, with hybrid sparse and linear attention. It is the first natively multimodal GLM-5 model. Zhipu says that compared with GLM-5.3, it needs about 3x less attention compute and about 4.4x less KV cache. GLM-5.3 is the stronger flagship for the hardest coding work and accepts text only. Flash accepts images and costs about 1/15 as much (input $0.0607 vs $0.9450).

Is GLM-5.3-Flash better than GLM-5.2?

Zhipu says GLM-5.3-Flash beats GLM-5.2 overall at about a tenth of the price. Reported comparisons: DeepSWE 63.4 vs 46.2, Toolathlon Verified 78.4 vs 59.9, AutomationBench 48.8 vs 26.2, and GDPval-AA v2 1773 vs 1504.

Does GLM-5.3-Flash accept images? How do I send them?

Yes. Add a {"type": "image_url", "image_url": {"url": ...}} content block to the messages[].content array. The url can be a public image URL or a Base64 data URL. For several images, add several blocks.

Can I use GLM-5.3-Flash in Claude Code?

Yes. In the env block of ~/.claude/settings.json, set ANTHROPIC_BASE_URL to https://anyaigc.ai, ANTHROPIC_AUTH_TOKEN to your API key, and ANTHROPIC_MODEL to glm-5.3-flash. Then run claude. You pay per token, with no 5-hour quota window like a subscription plan.

Can I turn off thinking on GLM-5.3-Flash?

No. GLM-5.3-Flash always thinks, and Zhipu does not support turning it off. Use reasoning_effort to set depth: low, high or max (default max). For simple tasks like classification and extraction, low cuts output tokens.

Is GLM-5.3-Flash open source?

Yes. Zhipu has published the GLM-5.3-Flash weights on Hugging Face (zai-org/GLM-5.3-Flash) under the MIT license. Calling the API through AnyAIGC means you do not have to host it yourself. Commercial use is governed by Zhipu AI's official terms.

Are there concurrency or rate limits?

AnyAIGC does not cap concurrency for glm-5.3-flash, and every user gets this by default. That suits batch jobs, CI pipelines and parallel agents. Billing is per token, so there is no quota that resets on a time window like a subscription plan.

How do I get a GLM-5.3-Flash API key?

Sign up at anyaigc.ai, add credit, and create a key in the console. The same key works for every GLM model and 300+ other models on the platform, so you do not need a separate Zhipu platform account or a GLM Coding Plan.

Can I get an invoice from AnyAIGC?

Yes. You can issue invoices yourself in the console, for the amount you actually topped up.

Which payment methods are supported?

You can top up with WeChat Pay, Alipay, USDT or a credit card. Your balance is in USD and works across every model on the platform. Invoices can be issued in the console for the amount you topped up.

Is there free trial credit for new users?

Yes. New accounts get 5 million tokens of trial credit, so you can test before deciding to top up. Top-ups start at $1.

Can I get a refund on my balance?

Yes. Unused balance can be refunded with no fee. Contact support to start a refund.

Are these the real models? Is my data safe?

Requests go to official model channels, never cheaper or reverse-engineered substitutes. Unless the law requires it, we do not persistently store your prompts or outputs or use them for training, and the console shows tokens and cost for every request.

Will my data be used for training?

No. Except where required by law, AnyAIGC does not persistently store your prompts or outputs and does not use them to train models. Requests are encrypted over HTTPS. See the AnyAIGC Privacy Policy. The model's own data policy is governed by Zhipu AI's official terms.

Run GLM-5.3-Flash at about 60% off the official price

Sign up, create an API key, and you can use glm-5.3-flash in your code or Claude Code within minutes.