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

> GLM 4.7 Flash Heretic API on Venice: 200K context, $0.07 input and $0.40 output per 1M tokens. Private, with zero data retention.

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-heretic","name":"GLM 4.7 Flash Heretic","modality":"text","task":"chat","provider":"community","description":"GLM-4.7-Flash-Heretic is an uncensored experimental variant of GLM-4.7-Flash, optimized for creative freedom and unfiltered dialogue with fast inference speed.","primary":"olafangensan-glm-4.7-flash-heretic","variants":["olafangensan-glm-4.7-flash-heretic"],"created":1770163200,"updated":1770163200,"privacy":["private"],"uncensored":true,"openWeights":true},"models":[{"id":"olafangensan-glm-4.7-flash-heretic","name":"GLM 4.7 Flash Heretic","type":"text","modality":"text","task":"chat","variant":"standard","provider":"community","created":1770163200,"description":"GLM-4.7-Flash-Heretic is an uncensored experimental variant of GLM-4.7-Flash, optimized for creative freedom and unfiltered dialogue with fast inference speed.","source":"https://huggingface.co/Olafangensan/GLM-4.7-Flash-heretic","privacy":"private","uncensored":true,"openWeights":true,"text":{"context":200000,"maxOutput":24000,"quantization":"fp8","reasoning":{"supported":true,"effort":["none","low","medium","high"],"defaultEffort":"low"},"caps":{"tools":true,"structured":true,"webSearch":true}},"pricing":{"input":0.07,"output":0.4,"cacheRead":0.035,"blended":0.1525},"headline":{"value":0.1525,"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-heretic"}],"related":{"similar":[{"slug":"glm-4-7-flash","name":"GLM 4.7 Flash","provider":"zai","modality":"text","privacy":["private"],"created":1769644800,"headline":{"value":0.145,"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":[]},"providers":{"community":{"slug":"community","name":"Community","logo":"/images/icons/models/image.svg"},"zai":{"slug":"zai","name":"Z.ai","logo":"/images/icons/models/Zhipu.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 Heretic API cost?","a":"$0.07 per 1M input tokens and $0.40 per 1M output tokens, with cached input at $0.035 per 1M. Prices are in USD and can be paid in DIEM at parity."},{"q":"What is the GLM 4.7 Flash Heretic model ID?","a":"Use `olafangensan-glm-4.7-flash-heretic` as the `model` parameter."},{"q":"Is the GLM 4.7 Flash Heretic API private?","a":"GLM 4.7 Flash Heretic 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 Heretic?","a":"200K tokens of context, with up to 24K output tokens per response."},{"q":"What does GLM 4.7 Flash Heretic support?","a":"GLM 4.7 Flash Heretic supports function calling, structured outputs, reasoning, web search and prompt caching. Reasoning effort is adjustable with `reasoning_effort`: none, low, medium and high (default low)."},{"q":"Which endpoint does the GLM 4.7 Flash Heretic 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 Heretic API

    GLM 4.7 Flash Heretic is a large language model by Community, available on the Venice API as `olafangensan-glm-4.7-flash-heretic`. It runs privately, with zero data retention.

    GLM-4.7-Flash-Heretic is an uncensored experimental variant of GLM-4.7-Flash, optimized for creative freedom and unfiltered dialogue with fast inference speed.

    ## GLM 4.7 Flash Heretic API pricing

    | Model ID | Variant | Privacy | Price |
    | - | - | - | - |
    | `olafangensan-glm-4.7-flash-heretic` | Standard | Private | $0.07 input / $0.40 output per 1M tokens |

    ## GLM 4.7 Flash Heretic specifications

    | Spec | Value |
    | - | - |
    | Provider | Community |
    | Released | Feb 4, 2026 |
    | Privacy | Private |
    | Open weights | Yes |
    | Context window | 200K tokens |
    | Max output | 24K tokens |
    | Reasoning effort | none, low, medium, high |
    | Served precision | FP8 |

    ## How to use the GLM 4.7 Flash Heretic API

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

    ## GLM 4.7 Flash Heretic API FAQ

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

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

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

    Use `olafangensan-glm-4.7-flash-heretic` as the `model` parameter.

    ### Is the GLM 4.7 Flash Heretic API private?

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

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

    ### What does GLM 4.7 Flash Heretic support?

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

    ### Which endpoint does the GLM 4.7 Flash Heretic API use?

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

    ## Related models

    * [GLM 4.7 Flash API](/models/glm-4-7-flash): $0.06 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.