> ## 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.5 397B API

> Qwen 3.5 397B API on Venice: 125K context, $0.75 input and $4.50 output per 1M tokens. Anonymized access without your identity.

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-5-397b","name":"Qwen 3.5 397B","modality":"text","task":"chat","provider":"alibaba","description":"Qwen 3.5 is Alibaba flagship reasoning model featuring a 397B parameter Mixture-of-Experts architecture with 17B active parameters. It excels at complex reasoning, coding, and general knowledge tasks.","primary":"qwen3-5-397b-a17b","variants":["qwen3-5-397b-a17b"],"created":1771200000,"updated":1771200000,"privacy":["anonymized"],"openWeights":true},"models":[{"id":"qwen3-5-397b-a17b","name":"Qwen 3.5 397B","type":"text","modality":"text","task":"chat","variant":"standard","provider":"alibaba","created":1771200000,"description":"Qwen 3.5 is Alibaba flagship reasoning model featuring a 397B parameter Mixture-of-Experts architecture with 17B active parameters. It excels at complex reasoning, coding, and general knowledge tasks.","source":"https://huggingface.co/Qwen/Qwen3.5-397B-A17B","privacy":"anonymized","openWeights":true,"text":{"context":128000,"maxOutput":32768,"reasoning":{"supported":true,"effort":["none","low","medium","high"],"defaultEffort":"low"},"caps":{"tools":true,"structured":true,"vision":true,"maxImages":5,"videoInput":true,"webSearch":true,"logprobs":true,"code":true}},"pricing":{"input":0.75,"output":4.5,"blended":1.6875},"headline":{"value":1.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":"qwen-3-5-397b"}],"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":"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":"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}],"versions":[{"slug":"qwen-3-8-27b","name":"Qwen 3.8 27B","provider":"alibaba","modality":"text","privacy":["private","e2ee"],"created":1786924800,"headline":{"value":1.1375,"unit":"per 1M tokens","basis":"blended"},"variants":2},{"slug":"qwen-3-6-27b","name":"Qwen 3.6 27B","provider":"alibaba","modality":"text","privacy":["private"],"created":1776988800,"headline":{"value":1.05625,"unit":"per 1M tokens","basis":"blended"},"variants":1},{"slug":"qwen-2-5-7b","name":"Qwen 2.5 7B","provider":"alibaba","modality":"text","privacy":["e2ee"],"created":1773792000,"headline":{"value":0.07,"unit":"per 1M tokens","basis":"blended"},"variants":1},{"slug":"qwen-3-5-9b","name":"Qwen 3.5 9B","provider":"alibaba","modality":"text","privacy":["private"],"created":1772668800,"headline":{"value":0.1125,"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"},"zai":{"slug":"zai","name":"Z.ai","logo":"/images/icons/models/Zhipu.svg"}},"faq":[{"q":"How much does the Qwen 3.5 397B API cost?","a":"$0.75 per 1M input tokens and $4.50 per 1M output tokens. Prices are in USD and can be paid in DIEM at parity."},{"q":"What is the Qwen 3.5 397B model ID?","a":"Use `qwen3-5-397b-a17b` as the `model` parameter."},{"q":"Is the Qwen 3.5 397B API private?","a":"Qwen 3.5 397B 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.5 397B?","a":"125K tokens of context, with up to 32K output tokens per response."},{"q":"What does Qwen 3.5 397B support?","a":"Qwen 3.5 397B supports function calling, structured outputs, reasoning, image input and web search. Reasoning effort is adjustable with `reasoning_effort`: none, low, medium and high (default low)."},{"q":"Which endpoint does the Qwen 3.5 397B API use?","a":"Call `POST /chat/completions`. `/responses` (Alpha) is also supported."}]}} />

<div className="vx-static">
  <Accordion title="Plain-text specification">
    # Qwen 3.5 397B API

    Qwen 3.5 397B is a large language model by Alibaba Qwen, available on the Venice API as `qwen3-5-397b-a17b`. Requests are anonymized, so the provider never sees your identity.

    Qwen 3.5 is Alibaba flagship reasoning model featuring a 397B parameter Mixture-of-Experts architecture with 17B active parameters. It excels at complex reasoning, coding, and general knowledge tasks.

    ## Qwen 3.5 397B API pricing

    | Model ID | Variant | Privacy | Price |
    | - | - | - | - |
    | `qwen3-5-397b-a17b` | Standard | Anonymized | $0.75 input / $4.50 output per 1M tokens |

    ## Qwen 3.5 397B specifications

    | Spec | Value |
    | - | - |
    | Provider | Alibaba Qwen |
    | Released | Feb 16, 2026 |
    | Privacy | Anonymized |
    | Open weights | Yes |
    | Context window | 125K tokens |
    | Max output | 32K tokens |
    | Reasoning effort | none, low, medium, high |

    ## How to use the Qwen 3.5 397B API

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

    ## Qwen 3.5 397B API FAQ

    ### How much does the Qwen 3.5 397B API cost?

    $0.75 per 1M input tokens and $4.50 per 1M output tokens. Prices are in USD and can be paid in DIEM at parity.

    ### What is the Qwen 3.5 397B model ID?

    Use `qwen3-5-397b-a17b` as the `model` parameter.

    ### Is the Qwen 3.5 397B API private?

    Qwen 3.5 397B 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.5 397B?

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

    ### What does Qwen 3.5 397B support?

    Qwen 3.5 397B supports function calling, structured outputs, reasoning, image input and web search. Reasoning effort is adjustable with `reasoning_effort`: none, low, medium and high (default low).

    ### Which endpoint does the Qwen 3.5 397B API use?

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

    ## Related models

    * [Qwen 3.8 27B API](/models/qwen-3-8-27b): $0.45 input / $3.20 output per 1M tokens
    * [Qwen 3.6 27B API](/models/qwen-3-6-27b): $0.33 input / $3.25 output per 1M tokens
    * [Qwen 2.5 7B API](/models/qwen-2-5-7b): $0.05 input / $0.13 output per 1M tokens
    * [Qwen 3.5 9B API](/models/qwen-3-5-9b): $0.10 input / $0.15 output per 1M tokens
    * [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
    * [GLM 5 API](/models/glm-5): $1.00 input / $3.20 output per 1M tokens
    * [Grok 4.3 API](/models/grok-4-3): $1.42 input / $2.83 output per 1M tokens
  </Accordion>
</div>


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