GPT-4o mini (Batch)

openai/gpt-4o-mini-batch

A chat model with a 128K-token context window, at $0.07875 per million input tokens and $0.315 per million output tokens.

Details

Maker
openai
Kind
Chat
Context window
128,000 tokens
Max output
16,384 tokens
Input
$0.07875 per million tokens
Cached input
$0.039375 per million tokens, 50% off
Cache write
Same as input
Output
$0.315 per million tokens
Capabilities
Tool use, vision, file input
Takes
Text, image, pdf
Returns
Text
Zero data retention
Not on every provider
No training on requests
Yes, on every provider
Released
2024-07-18
Newer model
openai/gpt-6-luna-batchReleased later by the same maker, costs no more, and lists the same capabilities. Compare the two

Description

GPT-4o mini from OpenAI is their most advanced and cost-efficient small model. It is multi-modal (accepting text or image inputs and outputting text) and has higher intelligence than gpt-3.5-turbo but is just as fast.

Call it

curl
curl https://phantom.codes/v1/chat/completions \
  -H "Authorization: Bearer $PHANTOM_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4o-mini-batch",
    "messages": [
      {"role": "user", "content": "Hello"}
    ]
  }'

Set PHANTOM_KEY to your key. Any OpenAI client works with the base URL https://phantom.codes/v1.