Skip to main content
OpenAIFeb 28, 2026

GPT-4o Mini

openai-gpt-4o-mini-2024-07-18Anonymized

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.

$0.15/$0.60
per 1M in / out
128K
context window
16K
max output
How it comparesamong 143 text models
GPQA Diamondhigher than 2%40.4%
Blended pricecheaper than 86%$0.26
Context windowlarger than 2%128K
Max outputlarger than 8%16K

Further right is better. Hover a dot for its model.

Time to first token— 
Output speed— 
Uptime— 

Last 24 hours of Venice traffic.How it’s measured

Capabilities

What the model takes in, returns and supports through the API.

InTextImage
OutText
Streamingstream: true
Function callingtoolsStructured outputsresponse_formatVisionUp to 10 images
Web searchenable_web_search
Prompt cachingReads at $0.075
Log probabilitieslogprobs

Not supportedreasoning, video input, audio input and X search

Benchmarks

GPQA Diamond
40.4%136th of 139 · 16 score higher for less, including GPT-6 Luna, DeepSeek V4 Flash 0423 and Google Gemma 4 31B Instruct

Specs

Model ID
openai-gpt-4o-mini-2024-07-18
Endpoint
POST /api/v1/chat/completions
Context window
128,000 tokens
Max output
16,384 tokens
Reasoning
None
Precision
Set by the provider
Privacy
Anonymized
Weights
Closed
Added
Feb 28, 2026

Compare

ModelInputOutputGPQA DiamondContextMax outputFirst tokenSpeed
GPT-4o Mini$0.15$0.6040.4%128K16K——
GLM 5.3 Flash E2EE$0.16$0.54—1M32K——
DeepSeek V4 Flash 0423 E2EE$0.182$0.37375.8%1M8K——
Qwen 3.5 35B A3B$0.15$1.0083.8%256K16K——
Google Gemma 4 26B A4B Instruct$0.13$0.4071.2%256K16K——

Pricing

Billed per token in USD. Reasoning tokens bill as output.

Input$0.15per 1M tokens
Cached input$0.07550% off input
Output$0.60per 1M tokens

Estimate a workload

$0.0006per request
$6.00for 10,000 requests

Blended price against similar models

GPT-4o Mini$0.2625

Per 1M tokens at three input tokens for each output token.

Quickstart

OpenAI-compatible: point any OpenAI SDK at the Venice base URL with a Venice API key.

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." }]
}'
Base URL https://api.venice.ai/api/v1

Parameters

ParameterValuesNotes
modelopenai-gpt-4o-mini-2024-07-18Required
messagestext · image_urlContent parts the model reads
max_completion_tokensUp to 16,384
toolsFunction definitionsWith tool_choice
response_format{ type: "json_schema" }Output that matches a schema
streamtrue | falseServer-sent events
venice_parameters.enable_web_searchauto | on | offWeb results and citations
logprobstrue | falseWith top_logprobs