Pular para o conteúdo principal
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 128 text models
Pricecheaper than 87%$0.26
Context windowlarger than 2%128K
Max outputlarger than 6%16K

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

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

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

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.

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

ModelInputOutputContextMax output
GPT-4o Mini$0.15$0.60128K16K
Qwen 3.6 35B A3B$0.10$1.00256K64K
Qwen 3.5 35B A3B$0.15$1.00256K16K
Google Gemma 4 26B A4B Instruct$0.13$0.40256K16K
GLM 5.3 Flash$0.15$0.501M128K