> ## 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.

# Qwen 3.8 Max API

> Qwen 3.8 Max API on Venice: 1M context, $2.50 input and $7.50 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":"qwen-3-8-max","name":"Qwen 3.8 Max","modality":"text","task":"chat","provider":"alibaba","description":"Qwen 3.8 Max is Alibaba's flagship 2.4-trillion-parameter MoE model, with major gains over Qwen 3.7 Max in software engineering and office-productivity workflows and strong long-horizon, multi-agent performance. It accepts both text and vision-language input (images and video), operates in thinking mode only, and supports a 1M-token context window.","primary":"qwen-3-8-max","variants":["qwen-3-8-max"],"created":1784678400,"updated":1784678400,"privacy":["anonymized"],"sets":["venice_recommendations"]},"models":[{"id":"qwen-3-8-max","name":"Qwen 3.8 Max","type":"text","modality":"text","task":"chat","variant":"standard","provider":"alibaba","created":1784678400,"description":"Qwen 3.8 Max is Alibaba's flagship 2.4-trillion-parameter MoE model, with major gains over Qwen 3.7 Max in software engineering and office-productivity workflows and strong long-horizon, multi-agent performance. It accepts both text and vision-language input (images and video), operates in thinking mode only, and supports a 1M-token context window.","source":"https://www.alibabacloud.com/help/en/model-studio/models","privacy":"anonymized","sets":["venice_recommendations"],"text":{"context":1000000,"maxOutput":131072,"reasoning":{"supported":true},"caps":{"tools":true,"vision":true,"maxImages":10,"videoInput":true,"webSearch":true,"code":true}},"pricing":{"input":2.5,"output":7.5,"cacheRead":0.3125,"cacheWrite":3.125,"blended":3.75},"headline":{"value":3.75,"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":"qwen-3-8-max"}],"related":{"similar":[{"slug":"grok-4-5","name":"Grok 4.5","provider":"xai","modality":"text","privacy":["private"],"created":1783382400,"headline":{"value":3.4025,"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":"gemini-3-5-flash","name":"Gemini 3.5 Flash","provider":"google","modality":"text","privacy":["anonymized"],"created":1779408000,"headline":{"value":3.525,"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":"qwen-3-7-max","name":"Qwen 3.7 Max","provider":"alibaba","modality":"text","privacy":["anonymized"],"created":1779408000,"headline":{"value":4.0375,"unit":"per 1M tokens","basis":"blended"},"variants":1}]},"providers":{"alibaba":{"slug":"alibaba","name":"Alibaba Qwen","logo":"/images/icons/models/qwen.svg"},"xai":{"slug":"xai","name":"xAI","logo":"/images/icons/models/grok.svg"},"google":{"slug":"google","name":"Google","logo":"/images/icons/models/google.svg"}},"faq":[{"q":"How much does the Qwen 3.8 Max API cost?","a":"$2.50 per 1M input tokens and $7.50 per 1M output tokens, with cached input at $0.31 per 1M. Prices are in USD and can be paid in DIEM at parity."},{"q":"What is the Qwen 3.8 Max model ID?","a":"Use `qwen-3-8-max` as the `model` parameter."},{"q":"Is the Qwen 3.8 Max API private?","a":"Qwen 3.8 Max 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 Qwen 3.8 Max?","a":"1M tokens of context, with up to 128K output tokens per response."},{"q":"What does Qwen 3.8 Max support?","a":"Qwen 3.8 Max supports function calling, reasoning, image input, web search and prompt caching."},{"q":"Which endpoint does the Qwen 3.8 Max API use?","a":"Call `POST /chat/completions`. `/responses` (Alpha) is also supported."}]}} />

<div className="vx-static">
  <Accordion title="Plain-text specification">
    # Qwen 3.8 Max API

    Qwen 3.8 Max is a large language model by Alibaba Qwen, available on the Venice API as `qwen-3-8-max`. Requests are anonymized, so the provider never sees your identity.

    Qwen 3.8 Max is Alibaba's flagship 2.4-trillion-parameter MoE model, with major gains over Qwen 3.7 Max in software engineering and office-productivity workflows and strong long-horizon, multi-agent performance. It accepts both text and vision-language input (images and video), operates in thinking mode only, and supports a 1M-token context window.

    ## Qwen 3.8 Max API pricing

    | Model ID | Variant | Privacy | Price |
    | - | - | - | - |
    | `qwen-3-8-max` | Standard | Anonymized | $2.50 input / $7.50 output per 1M tokens |

    ## Qwen 3.8 Max specifications

    | Spec | Value |
    | - | - |
    | Provider | Alibaba Qwen |
    | Released | Jul 22, 2026 |
    | Privacy | Anonymized |
    | Context window | 1M tokens |
    | Max output | 128K tokens |
    | Reasoning effort | Not adjustable |

    ## How to use the Qwen 3.8 Max API

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

    ## Qwen 3.8 Max API FAQ

    ### How much does the Qwen 3.8 Max API cost?

    $2.50 per 1M input tokens and $7.50 per 1M output tokens, with cached input at \$0.31 per 1M. Prices are in USD and can be paid in DIEM at parity.

    ### What is the Qwen 3.8 Max model ID?

    Use `qwen-3-8-max` as the `model` parameter.

    ### Is the Qwen 3.8 Max API private?

    Qwen 3.8 Max 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 Qwen 3.8 Max?

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

    ### What does Qwen 3.8 Max support?

    Qwen 3.8 Max supports function calling, reasoning, image input, web search and prompt caching.

    ### Which endpoint does the Qwen 3.8 Max API use?

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

    ## Related models

    * [Qwen 3.7 Max API](/models/qwen-3-7-max): $2.70 input / $8.05 output per 1M tokens
    * [Grok 4.5 API](/models/grok-4-5): $2.27 input / $6.80 output per 1M tokens
    * [Grok 4.6 API](/models/grok-4-6): $2.27 input / $6.80 output per 1M tokens
    * [Gemini 3.5 Flash API](/models/gemini-3-5-flash): $1.55 input / $9.45 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.