> ## Documentation Index
> Fetch the complete documentation index at: https://veniceai-feat-models-redesign.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# GLM 5.3 API

> GLM 5.3 API on Venice: 1M context, $1.75 input and $5.50 output per 1M tokens. Private and end-to-end encrypted variants. Pricing, specs and code examples.

export const HubMount = ({view, children, ...props}) => {
  const [hub, setHub] = useState(null);
  const [failed, setFailed] = useState(false);
  useEffect(() => {
    let alive = true;
    const w = window;
    if (!w.__veniceModelHub) {
      const urls = w.location.hostname === 'localhost' ? ['http://localhost:3333/data/model-hub.bundle.json', '/data/model-hub.bundle.json'] : ['/data/model-hub.bundle.json'];
      const load = i => fetch(urls[i], {
        cache: 'no-cache'
      }).then(res => {
        if (!res.ok) throw new Error(`bundle ${res.status}`);
        return res.json();
      }).catch(err => i + 1 < urls.length ? load(i + 1) : Promise.reject(err));
      const Frag = <></>.type;
      const h = (type, props, ...kids) => {
        const T = type;
        const {key, ...rest} = props || ({});
        if (!kids.length) return <T key={key} {...rest} />;
        if (kids.length === 1) return <T key={key} {...rest}>{kids[0]}</T>;
        return <T key={key} {...rest}>{kids.map((kid, i) => <Frag key={i}>{kid}</Frag>)}</T>;
      };
      w.__veniceModelHub = load(0).then(bundle => new Function(`return (${bundle.code})`)()({
        h,
        Fragment: Frag,
        useState,
        useEffect,
        useRef,
        useMemo,
        useCallback
      }));
    }
    w.__veniceModelHub.then(instance => {
      if (alive) setHub(instance);
    }).catch(() => {
      w.__veniceModelHub = null;
      if (alive) setFailed(true);
    });
    return () => {
      alive = false;
    };
  }, []);
  const View = hub ? hub[view] : null;
  if (View) return <View {...props}>{children}</View>;
  if (failed) {
    return <div className="vx-mount is-failed">
        <p className="vx-mount-note">The interactive model catalog could not load. The full data is below.</p>
        {children}
      </div>;
  }
  return <div className="vx-mount" aria-busy="true">
      <div className="vx-mount-skeleton" aria-hidden="true"><span /><span /><span /></div>
      <div className="vx-mount-source">{children}</div>
    </div>;
};

<HubMount view="ModelPage" data={{"family":{"slug":"glm-5-3","name":"GLM 5.3","modality":"text","task":"chat","provider":"zai","description":"GLM-5.3 is a large-scale reasoning model from Z.ai, built for complex software engineering and long-horizon agent tasks. It supports text input and output with a 1M-token context window, and improves on GLM-5.2 in coding and in the balance between performance and token efficiency.","primary":"z-ai-glm-5-3","variants":["z-ai-glm-5-3","e2ee-glm-5-3-p"],"created":1787011200,"updated":1788652800,"privacy":["private","e2ee"],"openWeights":true},"models":[{"id":"z-ai-glm-5-3","name":"GLM 5.3","type":"text","modality":"text","task":"chat","variant":"standard","provider":"zai","created":1787011200,"description":"GLM-5.3 is a large-scale reasoning model from Z.ai, built for complex software engineering and long-horizon agent tasks. It supports text input and output with a 1M-token context window, and improves on GLM-5.2 in coding and in the balance between performance and token efficiency.","source":"https://huggingface.co/zai-org/GLM-5.3","privacy":"private","openWeights":true,"text":{"context":1000000,"maxOutput":131072,"reasoning":{"supported":true},"caps":{"tools":true,"structured":true,"webSearch":true,"code":true}},"pricing":{"input":1.75,"output":5.5,"cacheRead":0.325,"blended":2.6875},"headline":{"value":2.6875,"unit":"per 1M tokens","basis":"blended"},"endpoints":[{"id":"chat","method":"POST","path":"/chat/completions","name":"Chat Completions","status":"stable","recommended":true},{"id":"responses","method":"POST","path":"/responses","name":"Responses","status":"alpha"}],"family":"glm-5-3"},{"id":"e2ee-glm-5-3-p","name":"GLM 5.3","type":"text","modality":"text","task":"chat","variant":"e2ee","provider":"zai","created":1788652800,"description":"GLM 5.3 running in a Trusted Execution Environment (TEE). Z.ai's flagship model with 1M context. Hardware attestation evidence is available for independent verification of enclave identity and configuration.","source":"https://huggingface.co/zai-org/GLM-5.3","privacy":"e2ee","openWeights":true,"text":{"context":1000000,"maxOutput":32768,"reasoning":{"supported":true,"effort":["none","low","medium","high"],"defaultEffort":"low"},"caps":{"tools":true,"webSearch":true,"code":true,"e2ee":true,"tee":true}},"pricing":{"input":1.75,"output":5.5,"cacheRead":0.325,"blended":2.6875},"headline":{"value":2.6875,"unit":"per 1M tokens","basis":"blended"},"endpoints":[{"id":"chat","method":"POST","path":"/chat/completions","name":"Chat Completions","status":"stable","recommended":true},{"id":"responses","method":"POST","path":"/responses","name":"Responses","status":"alpha","note":"E2EE models require /chat/completions with E2EE headers."}],"family":"glm-5-3"}],"related":{"similar":[{"slug":"deepseek-v4-pro-0813","name":"DeepSeek V4 Pro 0813","provider":"deepseek","modality":"text","privacy":["private"],"created":1786665600,"headline":{"value":2.475,"unit":"per 1M tokens","basis":"blended"},"variants":1},{"slug":"inkling","name":"Inkling","provider":"inkling","modality":"text","privacy":["private"],"created":1784160000,"headline":{"value":2.203125,"unit":"per 1M tokens","basis":"blended"},"variants":1},{"slug":"grok-4-6","name":"Grok 4.6","provider":"xai","modality":"text","privacy":["private"],"created":1786320000,"headline":{"value":3.4025,"unit":"per 1M tokens","basis":"blended"},"variants":1},{"slug":"grok-4-7","name":"Grok 4.7","provider":"xai","modality":"text","privacy":["private"],"created":1789516800,"headline":{"value":3.4025,"unit":"per 1M tokens","basis":"blended"},"variants":1}],"versions":[{"slug":"glm-5-2","name":"GLM 5.2","provider":"zai","modality":"text","privacy":["private","e2ee"],"created":1781568000,"headline":{"value":2.15,"unit":"per 1M tokens","basis":"blended"},"variants":2},{"slug":"glm-5-1","name":"GLM 5.1","provider":"zai","modality":"text","privacy":["private"],"created":1775520000,"headline":{"value":2.365,"unit":"per 1M tokens","basis":"blended"},"variants":1},{"slug":"glm-5","name":"GLM 5","provider":"zai","modality":"text","privacy":["private"],"created":1770768000,"headline":{"value":1.55,"unit":"per 1M tokens","basis":"blended"},"variants":1},{"slug":"glm-4-7","name":"GLM 4.7","provider":"zai","modality":"text","privacy":["private"],"created":1766534400,"headline":{"value":1.075,"unit":"per 1M tokens","basis":"blended"},"variants":1},{"slug":"glm-4-6","name":"GLM 4.6","provider":"zai","modality":"text","privacy":["private"],"created":1711929600,"headline":{"value":0.76,"unit":"per 1M tokens","basis":"blended"},"variants":1}]},"providers":{"zai":{"slug":"zai","name":"Z.ai","logo":"/images/icons/models/Zhipu.svg"},"deepseek":{"slug":"deepseek","name":"DeepSeek","logo":"/images/icons/models/deepseek.svg"},"inkling":{"slug":"inkling","name":"Inkling","logo":"/images/icons/models/text.svg","inferred":true},"xai":{"slug":"xai","name":"xAI","logo":"/images/icons/models/grok.svg"}},"faq":[{"q":"How much does the GLM 5.3 API cost?","a":"$1.75 per 1M input tokens and $5.50 per 1M output tokens, with cached input at $0.33 per 1M. Prices are in USD and can be paid in DIEM at parity."},{"q":"What is the GLM 5.3 model ID?","a":"Use `z-ai-glm-5-3` as the `model` parameter. Other variants: `e2ee-glm-5-3-p` (E2EE)."},{"q":"Is the GLM 5.3 API private?","a":"The Standard variant is private: requests run on infrastructure Venice controls with zero data retention, and prompts and outputs are never stored or used for training. The E2EE variant is end-to-end encrypted: prompts are encrypted on your device and decrypted only inside an attested hardware enclave, so neither Venice nor the GPU provider can read them."},{"q":"What is the context window of GLM 5.3?","a":"1M tokens of context, with up to 128K output tokens per response."},{"q":"What does GLM 5.3 support?","a":"GLM 5.3 supports function calling, structured outputs, reasoning, web search and prompt caching."},{"q":"Which endpoint does the GLM 5.3 API use?","a":"Call `POST /chat/completions`. `/responses` (Alpha) is also supported."}]}} />

<div className="vx-static">
  <Accordion title="Plain-text specification">
    # GLM 5.3 API

    GLM 5.3 is a large language model by Z.ai, available on the Venice API as `z-ai-glm-5-3`. Private and end-to-end encrypted variants are available.

    GLM-5.3 is a large-scale reasoning model from Z.ai, built for complex software engineering and long-horizon agent tasks. It supports text input and output with a 1M-token context window, and improves on GLM-5.2 in coding and in the balance between performance and token efficiency.

    ## GLM 5.3 API pricing

    | Model ID | Variant | Privacy | Price |
    | - | - | - | - |
    | `z-ai-glm-5-3` | Standard | Private | $1.75 input / $5.50 output per 1M tokens |
    | `e2ee-glm-5-3-p` | E2EE | End-to-end encrypted | $1.75 input / $5.50 output per 1M tokens |

    ## GLM 5.3 specifications

    | Spec | Value |
    | - | - |
    | Provider | Z.ai |
    | Released | Aug 18, 2026 |
    | Privacy | Private, End-to-end encrypted |
    | Open weights | Yes |
    | Context window | 1M tokens |
    | Max output | 128K tokens |
    | Reasoning effort | Not adjustable |

    ## How to use the GLM 5.3 API

    Send requests to `POST https://api.venice.ai/api/v1/chat/completions` with `"model": "z-ai-glm-5-3"` and your API key.

    ```bash theme={null}
    curl https://api.venice.ai/api/v1/chat/completions \
      -H "Authorization: Bearer $VENICE_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "z-ai-glm-5-3",
        "messages": [{ "role": "user", "content": "Explain TEE attestation in two sentences." }]
      }'
    ```

    ## GLM 5.3 API FAQ

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

    $1.75 per 1M input tokens and $5.50 per 1M output tokens, with cached input at \$0.33 per 1M. Prices are in USD and can be paid in DIEM at parity.

    ### What is the GLM 5.3 model ID?

    Use `z-ai-glm-5-3` as the `model` parameter. Other variants: `e2ee-glm-5-3-p` (E2EE).

    ### Is the GLM 5.3 API private?

    The Standard variant is private: requests run on infrastructure Venice controls with zero data retention, and prompts and outputs are never stored or used for training. The E2EE variant is end-to-end encrypted: prompts are encrypted on your device and decrypted only inside an attested hardware enclave, so neither Venice nor the GPU provider can read them.

    ### What is the context window of GLM 5.3?

    1M tokens of context, with up to 128K output tokens per response.

    ### What does GLM 5.3 support?

    GLM 5.3 supports function calling, structured outputs, reasoning, web search and prompt caching.

    ### Which endpoint does the GLM 5.3 API use?

    Call `POST /chat/completions`. `/responses` (Alpha) is also supported.

    ## Related models

    * [GLM 5.2 API](/models/glm-5-2): $1.40 input / $4.40 output per 1M tokens
    * [GLM 5.1 API](/models/glm-5-1): $1.54 input / $4.84 output per 1M tokens
    * [GLM 5 API](/models/glm-5): $1.00 input / $3.20 output per 1M tokens
    * [GLM 4.7 API](/models/glm-4-7): $0.55 input / $2.65 output per 1M tokens
    * [GLM 4.6 API](/models/glm-4-6): $0.43 input / $1.75 output per 1M tokens
    * [DeepSeek V4 Pro 0813 API](/models/deepseek-v4-pro-0813): $1.65 input / $4.95 output per 1M tokens
    * [Inkling API](/models/inkling): $1.25 input / $5.06 output per 1M tokens
    * [Grok 4.6 API](/models/grok-4-6): $2.27 input / $6.80 output per 1M tokens
    * [Grok 4.7 API](/models/grok-4-7): $2.27 input / $6.80 output per 1M tokens
  </Accordion>
</div>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.