Back to Models
O

GPT-4o Mini

GPT
by OpenAI

Affordable, intelligent small model for fast, lightweight tasks. Supports vision and function calling.

Jul 18, 2024

Specifications

Context Length
128K
128,000 tokens
Input Price
$0.15
per 1M tokens
Output Price
$0.60
per 1M tokens
Modalities
2
text→text, image+text→text

Capabilities

text generationchatfunction callingjson modevision

API Usage

1Router is fully OpenAI-compatible. Just set the base URL and use this model ID:

openai/gpt-4o-mini
cURL
curl https://api.1router.com/v1/chat/completions \
  -H "Authorization: Bearer $ROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4o-mini",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'