MODELS / OPENAI

GPT-4o mini

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.

TEXTFILE-INPUTIMPLICIT-CACHINGTOOL-USEVISIONWEB-SEARCH
128K
CONTEXT WINDOW
16.4K
MAX OUTPUT TOKENS
$0.15 / 1M tokens
INPUT PRICE
$0.6 / 1M tokens
OUTPUT PRICE
QUICKSTART

Call it in one request.

OpenAI-compatible — change the base URL, and the setup is complete.

SHELL
curl https://enterprise.blackbox.ai/v1/chat/completions \
  -H "Authorization: Bearer $BLACKBOX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "blackboxai/openai/gpt-4o-mini",
    "messages": [{ "role": "user", "content": "Hello!" }],
    "stream": true
  }'
INPUT: file, image, textOUTPUT: textRELEASED: 2024-07-18