OpenAIFeb 28, 2026
GPT-4o Mini
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
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/v1Parameters
| Parameter | Values |
|---|---|
model | openai-gpt-4o-mini-2024-07-18 |
messages | text · image_url |
max_completion_tokens | Up to 16,384 |
tools | Function definitions |
response_format | { type: |
stream | true | false |
venice_parameters.enable_web_search | auto | on | off |
logprobs | true | false |
Capabilities
What the model takes in, returns and supports through the API.
InTextImage
OutText
Streaming
Function callingstream: truetoolsStructured outputsresponse_formatVisionUp to 10 imagesWeb search
Prompt cachingReads at $0.075enable_web_searchLog probabilities
logprobsNot 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
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
| Model | Input | Output |
|---|---|---|
| GPT-4o Mini | $0.15 | $0.60 |
| Qwen 3.6 35B A3B | $0.10 | $1.00 |
| Qwen 3.5 35B A3B | $0.15 | $1.00 |
| Google Gemma 4 26B A4B Instruct | $0.13 | $0.40 |
| GLM 5.3 Flash | $0.15 | $0.50 |