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
₹15.10
Cached / 1M
₹1.51
Output / 1M
₹60.39

Pricing

Token typeUSD / 1MINR / 1M
Input$0.150₹15.10
Cached inputprompt cache read$0.0151.51
Output$0.600₹60.39

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.