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

# GPT-4o Mini API

> GPT-4o Mini API on Venice: 125K context, $0.19 input and $0.75 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":"gpt-4o-mini","name":"GPT-4o Mini","modality":"text","task":"chat","provider":"openai","description":"OpenAI's cost-efficient small model that delivers GPT-4 level intelligence at a fraction of the cost. Ideal for high-volume applications requiring strong reasoning. Version: 2024-07-18.","primary":"openai-gpt-4o-mini-2024-07-18","variants":["openai-gpt-4o-mini-2024-07-18"],"created":1772236800,"updated":1772236800,"privacy":["anonymized"]},"models":[{"id":"openai-gpt-4o-mini-2024-07-18","name":"GPT-4o Mini","type":"text","modality":"text","task":"chat","variant":"standard","provider":"openai","created":1772236800,"description":"OpenAI's cost-efficient small model that delivers GPT-4 level intelligence at a fraction of the cost. Ideal for high-volume applications requiring strong reasoning. Version: 2024-07-18.","source":"https://developers.openai.com/api/docs/models/gpt-4o-mini","privacy":"anonymized","text":{"context":128000,"maxOutput":16384,"caps":{"tools":true,"structured":true,"vision":true,"maxImages":10,"webSearch":true,"logprobs":true}},"pricing":{"input":0.1875,"output":0.75,"cacheRead":0.09375,"blended":0.328125},"headline":{"value":0.328125,"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":"gpt-4o-mini"}],"related":{"similar":[{"slug":"qwen-3-6-35b-a3b","name":"Qwen 3.6 35B A3B","provider":"alibaba","modality":"text","privacy":["private","e2ee"],"created":1779235200,"headline":{"value":0.325,"unit":"per 1M tokens","basis":"blended"},"variants":2},{"slug":"venice-uncensored-1-2","name":"Venice Uncensored 1.2","provider":"mistral","modality":"text","privacy":["private"],"created":1775001600,"headline":{"value":0.375,"unit":"per 1M tokens","basis":"blended"},"variants":1},{"slug":"gemma-4-26b-a4b-uncensored","name":"Gemma 4 26B A4B Uncensored","provider":"google","modality":"text","privacy":["e2ee"],"created":1779580800,"headline":{"value":0.3625,"unit":"per 1M tokens","basis":"blended"},"variants":1},{"slug":"deepseek-v3-2","name":"DeepSeek V3.2","provider":"deepseek","modality":"text","privacy":["private"],"created":1764806400,"headline":{"value":0.3675,"unit":"per 1M tokens","basis":"blended"},"variants":1}],"versions":[]},"providers":{"openai":{"slug":"openai","name":"OpenAI","logo":"/images/icons/models/openai.svg"},"alibaba":{"slug":"alibaba","name":"Alibaba Qwen","logo":"/images/icons/models/qwen.svg"},"mistral":{"slug":"mistral","name":"Mistral AI","logo":"/images/icons/models/mistral.svg"},"google":{"slug":"google","name":"Google","logo":"/images/icons/models/google.svg"},"deepseek":{"slug":"deepseek","name":"DeepSeek","logo":"/images/icons/models/deepseek.svg"}},"faq":[{"q":"How much does the GPT-4o Mini API cost?","a":"$0.19 per 1M input tokens and $0.75 per 1M output tokens, with cached input at $0.094 per 1M. Prices are in USD and can be paid in DIEM at parity."},{"q":"What is the GPT-4o Mini model ID?","a":"Use `openai-gpt-4o-mini-2024-07-18` as the `model` parameter."},{"q":"Is the GPT-4o Mini API private?","a":"GPT-4o Mini 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 GPT-4o Mini?","a":"125K tokens of context, with up to 16K output tokens per response."},{"q":"What does GPT-4o Mini support?","a":"GPT-4o Mini supports function calling, structured outputs, image input, web search and prompt caching."},{"q":"Which endpoint does the GPT-4o Mini API use?","a":"Call `POST /chat/completions`. `/responses` (Alpha) is also supported."}]}} />

<div className="vx-static">
  <Accordion title="Plain-text specification">
    # GPT-4o Mini API

    GPT-4o Mini is a large language model by OpenAI, available on the Venice API as `openai-gpt-4o-mini-2024-07-18`. Requests are anonymized, so the provider never sees your identity.

    OpenAI's cost-efficient small model that delivers GPT-4 level intelligence at a fraction of the cost. Ideal for high-volume applications requiring strong reasoning. Version: 2024-07-18.

    ## GPT-4o Mini API pricing

    | Model ID | Variant | Privacy | Price |
    | - | - | - | - |
    | `openai-gpt-4o-mini-2024-07-18` | Standard | Anonymized | $0.19 input / $0.75 output per 1M tokens |

    ## GPT-4o Mini specifications

    | Spec | Value |
    | - | - |
    | Provider | OpenAI |
    | Released | Feb 28, 2026 |
    | Privacy | Anonymized |
    | Context window | 125K tokens |
    | Max output | 16K tokens |

    ## How to use the GPT-4o Mini API

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

    ## GPT-4o Mini API FAQ

    ### How much does the GPT-4o Mini API cost?

    $0.19 per 1M input tokens and $0.75 per 1M output tokens, with cached input at \$0.094 per 1M. Prices are in USD and can be paid in DIEM at parity.

    ### What is the GPT-4o Mini model ID?

    Use `openai-gpt-4o-mini-2024-07-18` as the `model` parameter.

    ### Is the GPT-4o Mini API private?

    GPT-4o Mini 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 GPT-4o Mini?

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

    ### What does GPT-4o Mini support?

    GPT-4o Mini supports function calling, structured outputs, image input, web search and prompt caching.

    ### Which endpoint does the GPT-4o Mini API use?

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

    ## Related models

    * [Qwen 3.6 35B A3B API](/models/qwen-3-6-35b-a3b): $0.10 input / $1.00 output per 1M tokens
    * [Venice Uncensored 1.2 API](/models/venice-uncensored-1-2): $0.20 input / $0.90 output per 1M tokens
    * [Gemma 4 26B A4B Uncensored API](/models/gemma-4-26b-a4b-uncensored): $0.19 input / $0.88 output per 1M tokens
    * [DeepSeek V3.2 API](/models/deepseek-v3-2): $0.33 input / $0.48 output per 1M tokens
  </Accordion>
</div>


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