> ## 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 Turbo API

> GLM 5 Turbo API on Venice: 200K context, $1.20 input and $4.00 output per 1M tokens. Anonymized access without your identity. 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-turbo","name":"GLM 5 Turbo","modality":"text","task":"chat","provider":"zai","description":"GLM-5 Turbo is a fast inference model from Z.ai tuned for strong performance in agent-driven environments and production coding workflows.","primary":"z-ai-glm-5-turbo","variants":["z-ai-glm-5-turbo"],"created":1773532800,"updated":1773532800,"privacy":["anonymized"],"openWeights":true},"models":[{"id":"z-ai-glm-5-turbo","name":"GLM 5 Turbo","type":"text","modality":"text","task":"chat","variant":"standard","provider":"zai","created":1773532800,"description":"GLM-5 Turbo is a fast inference model from Z.ai tuned for strong performance in agent-driven environments and production coding workflows.","source":"https://huggingface.co/zai-org/GLM-5","privacy":"anonymized","openWeights":true,"text":{"context":200000,"maxOutput":32768,"reasoning":{"supported":true,"effort":["none","low","medium","high"],"defaultEffort":"high"},"caps":{"tools":true,"structured":true,"webSearch":true,"code":true}},"pricing":{"input":1.2,"output":4,"cacheRead":0.24,"blended":1.9},"headline":{"value":1.9,"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-turbo"}],"related":{"similar":[{"slug":"grok-4-20","name":"Grok 4.20","provider":"xai","modality":"text","privacy":["private"],"created":1773273600,"headline":{"value":1.7725,"unit":"per 1M tokens","basis":"blended"},"variants":1},{"slug":"grok-4-20-multi-agent","name":"Grok 4.20 Multi-Agent","provider":"xai","modality":"text","privacy":["private"],"created":1773273600,"headline":{"value":1.7725,"unit":"per 1M tokens","basis":"blended"},"variants":1},{"slug":"grok-4-3","name":"Grok 4.3","provider":"xai","modality":"text","privacy":["private"],"created":1776470400,"headline":{"value":1.7725,"unit":"per 1M tokens","basis":"blended"},"variants":1},{"slug":"gpt-5-4-mini","name":"GPT-5.4 Mini","provider":"openai","modality":"text","privacy":["anonymized"],"created":1774569600,"headline":{"value":2.109375,"unit":"per 1M tokens","basis":"blended"},"variants":1}],"versions":[]},"providers":{"zai":{"slug":"zai","name":"Z.ai","logo":"/images/icons/models/Zhipu.svg"},"xai":{"slug":"xai","name":"xAI","logo":"/images/icons/models/grok.svg"},"openai":{"slug":"openai","name":"OpenAI","logo":"/images/icons/models/openai.svg"}},"faq":[{"q":"How much does the GLM 5 Turbo API cost?","a":"$1.20 per 1M input tokens and $4.00 per 1M output tokens, with cached input at $0.24 per 1M. Prices are in USD and can be paid in DIEM at parity."},{"q":"What is the GLM 5 Turbo model ID?","a":"Use `z-ai-glm-5-turbo` as the `model` parameter."},{"q":"Is the GLM 5 Turbo API private?","a":"GLM 5 Turbo is anonymized: Venice forwards requests to the provider without your identity, but the provider may retain prompt data, so use a private model for sensitive work."},{"q":"What is the context window of GLM 5 Turbo?","a":"200K tokens of context, with up to 32K output tokens per response."},{"q":"What does GLM 5 Turbo support?","a":"GLM 5 Turbo supports function calling, structured outputs, reasoning, web search and prompt caching. Reasoning effort is adjustable with `reasoning_effort`: none, low, medium and high (default high)."},{"q":"Which endpoint does the GLM 5 Turbo API use?","a":"Call `POST /chat/completions`. `/responses` (Alpha) is also supported."}]}} />

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

    GLM 5 Turbo is a large language model by Z.ai, available on the Venice API as `z-ai-glm-5-turbo`. Requests are anonymized, so the provider never sees your identity.

    GLM-5 Turbo is a fast inference model from Z.ai tuned for strong performance in agent-driven environments and production coding workflows.

    ## GLM 5 Turbo API pricing

    | Model ID | Variant | Privacy | Price |
    | - | - | - | - |
    | `z-ai-glm-5-turbo` | Standard | Anonymized | $1.20 input / $4.00 output per 1M tokens |

    ## GLM 5 Turbo specifications

    | Spec | Value |
    | - | - |
    | Provider | Z.ai |
    | Released | Mar 15, 2026 |
    | Privacy | Anonymized |
    | Open weights | Yes |
    | Context window | 200K tokens |
    | Max output | 32K tokens |
    | Reasoning effort | none, low, medium, high |

    ## How to use the GLM 5 Turbo API

    Send requests to `POST https://api.venice.ai/api/v1/chat/completions` with `"model": "z-ai-glm-5-turbo"` 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-turbo",
        "messages": [{ "role": "user", "content": "Explain TEE attestation in two sentences." }],
        "reasoning_effort": "high"
      }'
    ```

    ## GLM 5 Turbo API FAQ

    ### How much does the GLM 5 Turbo API cost?

    $1.20 per 1M input tokens and $4.00 per 1M output tokens, with cached input at \$0.24 per 1M. Prices are in USD and can be paid in DIEM at parity.

    ### What is the GLM 5 Turbo model ID?

    Use `z-ai-glm-5-turbo` as the `model` parameter.

    ### Is the GLM 5 Turbo API private?

    GLM 5 Turbo is anonymized: Venice forwards requests to the provider without your identity, but the provider may retain prompt data, so use a private model for sensitive work.

    ### What is the context window of GLM 5 Turbo?

    200K tokens of context, with up to 32K output tokens per response.

    ### What does GLM 5 Turbo support?

    GLM 5 Turbo supports function calling, structured outputs, reasoning, web search and prompt caching. Reasoning effort is adjustable with `reasoning_effort`: none, low, medium and high (default high).

    ### Which endpoint does the GLM 5 Turbo API use?

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

    ## Related models

    * [Grok 4.20 API](/models/grok-4-20): $1.42 input / $2.83 output per 1M tokens
    * [Grok 4.20 Multi-Agent API](/models/grok-4-20-multi-agent): $1.42 input / $2.83 output per 1M tokens
    * [Grok 4.3 API](/models/grok-4-3): $1.42 input / $2.83 output per 1M tokens
    * [GPT-5.4 Mini API](/models/gpt-5-4-mini): $0.94 input / $5.63 output per 1M tokens
  </Accordion>
</div>


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