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

# Claude Sonnet 4.5 API

> Claude Sonnet 4.5 API on Venice: 198K context, $3.75 input and $18.75 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":"claude-sonnet-4-5","name":"Claude Sonnet 4.5","modality":"text","task":"chat","provider":"anthropic","description":"Claude Sonnet 4.5 is Anthropic's balanced model offering strong performance on coding, reasoning, and general tasks with good speed and cost efficiency.","primary":"claude-sonnet-4-5","variants":["claude-sonnet-4-5"],"created":1736899200,"updated":1736899200,"privacy":["anonymized"]},"models":[{"id":"claude-sonnet-4-5","name":"Claude Sonnet 4.5","type":"text","modality":"text","task":"chat","variant":"standard","provider":"anthropic","created":1736899200,"description":"Claude Sonnet 4.5 is Anthropic's balanced model offering strong performance on coding, reasoning, and general tasks with good speed and cost efficiency.","privacy":"anonymized","text":{"context":198000,"maxOutput":64000,"reasoning":{"supported":true},"caps":{"tools":true,"structured":true,"vision":true,"maxImages":10,"webSearch":true,"code":true}},"pricing":{"input":3.75,"output":18.75,"cacheRead":0.375,"cacheWrite":4.69,"blended":7.5},"headline":{"value":7.5,"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":"claude-sonnet-4-5"}],"related":{"similar":[{"slug":"gpt-5-4","name":"GPT-5.4","provider":"openai","modality":"text","privacy":["anonymized"],"created":1772668800,"headline":{"value":7.0475,"unit":"per 1M tokens","basis":"blended"},"variants":1},{"slug":"gpt-5-2","name":"GPT-5.2","provider":"openai","modality":"text","privacy":["anonymized"],"created":1765584000,"headline":{"value":6.0175,"unit":"per 1M tokens","basis":"blended"},"variants":1},{"slug":"kimi-k3","name":"Kimi K3","provider":"moonshot","modality":"text","privacy":["private","e2ee"],"created":1784160000,"headline":{"value":7.5,"unit":"per 1M tokens","basis":"blended"},"variants":3},{"slug":"gpt-5-3-codex","name":"GPT-5.3 Codex","provider":"openai","modality":"text","privacy":["anonymized"],"created":1771891200,"headline":{"value":6.0175,"unit":"per 1M tokens","basis":"blended"},"variants":1}],"versions":[{"slug":"claude-sonnet-5-5","name":"Claude Sonnet 5.5","provider":"anthropic","modality":"text","privacy":["anonymized"],"created":1790380800,"headline":{"value":7.5,"unit":"per 1M tokens","basis":"blended"},"variants":1},{"slug":"claude-sonnet-5","name":"Claude Sonnet 5","provider":"anthropic","modality":"text","privacy":["anonymized"],"created":1782691200,"headline":{"value":6,"unit":"per 1M tokens","basis":"blended"},"variants":1},{"slug":"claude-sonnet-4-6","name":"Claude Sonnet 4.6","provider":"anthropic","modality":"text","privacy":["anonymized"],"created":1771286400,"headline":{"value":7.2,"unit":"per 1M tokens","basis":"blended"},"variants":1}]},"providers":{"anthropic":{"slug":"anthropic","name":"Anthropic","logo":"/images/icons/models/opus.svg"},"openai":{"slug":"openai","name":"OpenAI","logo":"/images/icons/models/openai.svg"},"moonshot":{"slug":"moonshot","name":"Moonshot AI","logo":"/images/icons/models/kimi.svg"}},"faq":[{"q":"How much does the Claude Sonnet 4.5 API cost?","a":"$3.75 per 1M input tokens and $18.75 per 1M output tokens, with cached input at $0.38 per 1M. Prices are in USD and can be paid in DIEM at parity."},{"q":"What is the Claude Sonnet 4.5 model ID?","a":"Use `claude-sonnet-4-5` as the `model` parameter."},{"q":"Is the Claude Sonnet 4.5 API private?","a":"Claude Sonnet 4.5 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 Claude Sonnet 4.5?","a":"198K tokens of context, with up to 64K output tokens per response."},{"q":"What does Claude Sonnet 4.5 support?","a":"Claude Sonnet 4.5 supports function calling, structured outputs, reasoning, image input, web search and prompt caching."},{"q":"Which endpoint does the Claude Sonnet 4.5 API use?","a":"Call `POST /chat/completions`. `/responses` (Alpha) is also supported."}]}} />

<div className="vx-static">
  <Accordion title="Plain-text specification">
    # Claude Sonnet 4.5 API

    Claude Sonnet 4.5 is a large language model by Anthropic, available on the Venice API as `claude-sonnet-4-5`. Requests are anonymized, so the provider never sees your identity.

    Claude Sonnet 4.5 is Anthropic's balanced model offering strong performance on coding, reasoning, and general tasks with good speed and cost efficiency.

    ## Claude Sonnet 4.5 API pricing

    | Model ID | Variant | Privacy | Price |
    | - | - | - | - |
    | `claude-sonnet-4-5` | Standard | Anonymized | $3.75 input / $18.75 output per 1M tokens |

    ## Claude Sonnet 4.5 specifications

    | Spec | Value |
    | - | - |
    | Provider | Anthropic |
    | Released | Jan 15, 2025 |
    | Privacy | Anonymized |
    | Context window | 198K tokens |
    | Max output | 64K tokens |
    | Reasoning effort | Not adjustable |

    ## How to use the Claude Sonnet 4.5 API

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

    ## Claude Sonnet 4.5 API FAQ

    ### How much does the Claude Sonnet 4.5 API cost?

    $3.75 per 1M input tokens and $18.75 per 1M output tokens, with cached input at \$0.38 per 1M. Prices are in USD and can be paid in DIEM at parity.

    ### What is the Claude Sonnet 4.5 model ID?

    Use `claude-sonnet-4-5` as the `model` parameter.

    ### Is the Claude Sonnet 4.5 API private?

    Claude Sonnet 4.5 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 Claude Sonnet 4.5?

    198K tokens of context, with up to 64K output tokens per response.

    ### What does Claude Sonnet 4.5 support?

    Claude Sonnet 4.5 supports function calling, structured outputs, reasoning, image input, web search and prompt caching.

    ### Which endpoint does the Claude Sonnet 4.5 API use?

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

    ## Related models

    * [Claude Sonnet 5.5 API](/models/claude-sonnet-5-5): $3.75 input / $18.75 output per 1M tokens
    * [Claude Sonnet 5 API](/models/claude-sonnet-5): $3.00 input / $15.00 output per 1M tokens
    * [Claude Sonnet 4.6 API](/models/claude-sonnet-4-6): $3.60 input / $18.00 output per 1M tokens
    * [GPT-5.4 API](/models/gpt-5-4): $3.13 input / $18.80 output per 1M tokens
    * [GPT-5.2 API](/models/gpt-5-2): $2.19 input / $17.50 output per 1M tokens
    * [Kimi K3 API](/models/kimi-k3): $3.75 input / $18.75 output per 1M tokens
    * [GPT-5.3 Codex API](/models/gpt-5-3-codex): $2.19 input / $17.50 output per 1M tokens
  </Accordion>
</div>


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