AICredits logo
openaivision

OpenAI: GPT-4o-mini

openai/gpt-4o-mini

GPT-4o mini is OpenAI's newest model after [GPT-4 Omni](/models/openai/gpt-4o), supporting both text and image inputs with text outputs. As their most advanced small model, it is many multiples more affordable...

Supported APIs

Chat APIResponses APIVision
Context
128K
Max output
—
Input / 1M
₹14.90
Cached / 1M
₹7.45
Output / 1M
₹59.61

Pricing

Token typeUSD / 1MINR / 1M
Input$0.150₹14.90
Cached inputprompt cache read$0.075₹7.45
Output$0.600₹59.61

INR prices include forex conversion. Billed per token in your wallet. See the cost calculator.

Quickstart

Call OpenAI: GPT-4o-mini through the supported APIs shown above — just set the base URL and your AICredits key.

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

New here? Follow the quickstart guide or browse all models.