> ## 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 4.7 Flash API

> GLM 4.7 Flash API on Venice: 125K context, $0.06 input and $0.40 output per 1M tokens. Private, with zero data retention. 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-4-7-flash","name":"GLM 4.7 Flash","modality":"text","task":"chat","provider":"zai","description":"GLM-4.7-Flash is a fast inference variant of GLM-4.7, optimized for speed while maintaining strong reasoning capabilities. Ideal for applications requiring quick responses with good quality.","primary":"zai-org-glm-4.7-flash","variants":["zai-org-glm-4.7-flash"],"created":1769644800,"updated":1769644800,"privacy":["private"],"openWeights":true},"models":[{"id":"zai-org-glm-4.7-flash","name":"GLM 4.7 Flash","type":"text","modality":"text","task":"chat","variant":"standard","provider":"zai","created":1769644800,"description":"GLM-4.7-Flash is a fast inference variant of GLM-4.7, optimized for speed while maintaining strong reasoning capabilities. Ideal for applications requiring quick responses with good quality.","source":"https://huggingface.co/zai-org/GLM-4.7-Flash","privacy":"private","openWeights":true,"text":{"context":128000,"maxOutput":16384,"quantization":"fp8","reasoning":{"supported":true,"effort":["none","low","medium","high"],"defaultEffort":"high"},"caps":{"tools":true,"structured":true,"webSearch":true}},"pricing":{"input":0.06,"output":0.4,"cacheRead":0.01,"blended":0.145},"headline":{"value":0.145,"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-4-7-flash"}],"related":{"similar":[{"slug":"glm-4-7-flash-heretic","name":"GLM 4.7 Flash Heretic","provider":"community","modality":"text","privacy":["private"],"created":1770163200,"headline":{"value":0.1525,"unit":"per 1M tokens","basis":"blended"},"variants":1},{"slug":"nvidia-nemotron-3-nano-30b","name":"NVIDIA Nemotron 3 Nano 30B","provider":"nvidia","modality":"text","privacy":["private"],"created":1769472000,"headline":{"value":0.13125,"unit":"per 1M tokens","basis":"blended"},"variants":1},{"slug":"mistral-small-3-2-24b-instruct","name":"Mistral Small 3.2 24B Instruct","provider":"mistral","modality":"text","privacy":["private"],"created":1768435200,"headline":{"value":0.132813,"unit":"per 1M tokens","basis":"blended"},"variants":1},{"slug":"google-gemma-3-27b-instruct","name":"Google Gemma 3 27B Instruct","provider":"google","modality":"text","privacy":["private"],"created":1762214400,"headline":{"value":0.14,"unit":"per 1M tokens","basis":"blended"},"variants":1}],"versions":[{"slug":"glm-5-3-flash","name":"GLM 5.3 Flash","provider":"zai","modality":"text","privacy":["private","e2ee"],"created":1787270400,"headline":{"value":0.2375,"unit":"per 1M tokens","basis":"blended"},"variants":2}]},"providers":{"zai":{"slug":"zai","name":"Z.ai","logo":"/images/icons/models/Zhipu.svg"},"community":{"slug":"community","name":"Community","logo":"/images/icons/models/image.svg"},"nvidia":{"slug":"nvidia","name":"NVIDIA","logo":"/images/icons/models/nvidia.svg"},"mistral":{"slug":"mistral","name":"Mistral AI","logo":"/images/icons/models/mistral.svg"},"google":{"slug":"google","name":"Google","logo":"/images/icons/models/google.svg"}},"faq":[{"q":"How much does the GLM 4.7 Flash API cost?","a":"$0.06 per 1M input tokens and $0.40 per 1M output tokens, with cached input at $0.01 per 1M. Prices are in USD and can be paid in DIEM at parity."},{"q":"What is the GLM 4.7 Flash model ID?","a":"Use `zai-org-glm-4.7-flash` as the `model` parameter."},{"q":"Is the GLM 4.7 Flash API private?","a":"GLM 4.7 Flash is private: requests run on infrastructure Venice controls with zero data retention, and prompts and outputs are never stored or used for training."},{"q":"What is the context window of GLM 4.7 Flash?","a":"125K tokens of context, with up to 16K output tokens per response."},{"q":"What does GLM 4.7 Flash support?","a":"GLM 4.7 Flash 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 4.7 Flash API use?","a":"Call `POST /chat/completions`. `/responses` (Alpha) is also supported."}]}} />

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

    GLM 4.7 Flash is a large language model by Z.ai, available on the Venice API as `zai-org-glm-4.7-flash`. It runs privately, with zero data retention.

    GLM-4.7-Flash is a fast inference variant of GLM-4.7, optimized for speed while maintaining strong reasoning capabilities. Ideal for applications requiring quick responses with good quality.

    ## GLM 4.7 Flash API pricing

    | Model ID | Variant | Privacy | Price |
    | - | - | - | - |
    | `zai-org-glm-4.7-flash` | Standard | Private | $0.06 input / $0.40 output per 1M tokens |

    ## GLM 4.7 Flash specifications

    | Spec | Value |
    | - | - |
    | Provider | Z.ai |
    | Released | Jan 29, 2026 |
    | Privacy | Private |
    | Open weights | Yes |
    | Context window | 125K tokens |
    | Max output | 16K tokens |
    | Reasoning effort | none, low, medium, high |
    | Served precision | FP8 |

    ## How to use the GLM 4.7 Flash API

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

    ## GLM 4.7 Flash API FAQ

    ### How much does the GLM 4.7 Flash API cost?

    $0.06 per 1M input tokens and $0.40 per 1M output tokens, with cached input at \$0.01 per 1M. Prices are in USD and can be paid in DIEM at parity.

    ### What is the GLM 4.7 Flash model ID?

    Use `zai-org-glm-4.7-flash` as the `model` parameter.

    ### Is the GLM 4.7 Flash API private?

    GLM 4.7 Flash is private: requests run on infrastructure Venice controls with zero data retention, and prompts and outputs are never stored or used for training.

    ### What is the context window of GLM 4.7 Flash?

    125K tokens of context, with up to 16K output tokens per response.

    ### What does GLM 4.7 Flash support?

    GLM 4.7 Flash 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 4.7 Flash API use?

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

    ## Related models

    * [GLM 5.3 Flash API](/models/glm-5-3-flash): $0.15 input / $0.50 output per 1M tokens
    * [GLM 4.7 Flash Heretic API](/models/glm-4-7-flash-heretic): $0.07 input / $0.40 output per 1M tokens
    * [NVIDIA Nemotron 3 Nano 30B API](/models/nvidia-nemotron-3-nano-30b): $0.07 input / $0.30 output per 1M tokens
    * [Mistral Small 3.2 24B Instruct API](/models/mistral-small-3-2-24b-instruct): $0.09 input / $0.25 output per 1M tokens
    * [Google Gemma 3 27B Instruct API](/models/google-gemma-3-27b-instruct): $0.12 input / $0.20 output per 1M tokens
  </Accordion>
</div>


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