Skip to content

    GLM 5.3 Flash

    Text generation

    GLM-5.3-Flash

    GLM 5.3 Flash on FlexAI: Z.ai LLM, MIT license, $0.088 / $0.25 per M tokens on the OpenAI-compatible Token Factory.

    Pricing and availability

    GLM 5.3 Flash rates on FlexAI, in US dollars. Billed per usage unit with no minimum.
    RatePrice
    Input$0.088 / M tokens
    Output$0.25 / M tokens
    Cached input$0.0132 / M tokens
    AvailabilityServerless, on the shared Token Factory API

    Deployment requirements

    Context
    1.0M tokens
    Capabilities
    Accepts image input (vendor-declared)
    API endpoint
    /v1/chat/completions
    Compatibility
    OpenAI
    Parameters
    321.3B
    License
    MIT
    Hardware
    8× H100
    GPUs to self-host
    8× H100
    Quantization (served)
    FP8
    Native precision
    FP8, from quantization_config
    Weights
    zai-org/GLM-5.3-Flash
    Published by
    Z.ai
    Origin
    China
    Agent-ready
    Tool calling (measured)

    Estimate your monthly cost

    M tokens
    M tokens
    Cache hit rate25%

    Share of input tokens served from prompt cache: repeated system prompts, long documents, and multi-turn context.

    7.5M × $0.088/M input$0.66
    2.5M × $0.0132/M cached input$0.03
    2M × $0.25/M output$0.5
    Estimated monthly cost$1.19
    Saved vs. no caching$0.19 (14%)

    Estimate only, at the current market-tracked rate. Usage-based; no minimums.

    Get an API key

    Serverless or dedicated for GLM 5.3 Flash

    Serverless, per token Dedicated, 8× H100 from $25,287/mo

    A dedicated 8× H100 endpoint costs $25,287/month and serves at most 52.56B tokens a month, which is less serverless spend than it costs. Serverless is cheaper at every volume for this model.

    Assumes a 70/30 input/output token mix and an always-on endpoint at 730 hours a month. Dedicated bills per minute and autoscales, so serving less than continuously moves the crossover earlier. Your mix moves the crossover. Open the full calculator.

    How to call GLM 5.3 Flash

    from openai import OpenAI
    
    client = OpenAI(base_url="https://api.flex.ai/v1", api_key="your-api-key")
    
    response = client.chat.completions.create(
        model="GLM-5.3-Flash",
        messages=[{
            "role": "user",
            "content": [
                {"type": "text", "text": "What's in this image?"},
                {"type": "image_url", "image_url": {"url": "https://example.com/photo.jpg"}},
            ],
        }],
    )
    
    print(response.choices[0].message.content)

    Swap models, not your agent

    GLM 5.3 Flash runs behind the same OpenAI-compatible key as every other model in the catalog. Change the model string and your skills, tools, scoped memory, and governance carry over unchanged. The same setup scales to a dedicated endpoint or your own private cloud.

    Compare alternatives