AICredits logo
openaivision

OpenAI: GPT-4.1 Mini

openai/gpt-4.1-mini

GPT-4.1 Mini is a mid-sized model delivering performance competitive with GPT-4o at substantially lower latency and cost. It retains a 1 million token context window and scores 45.1% on hard...

Supported APIs

Chat APIResponses APIVision
Context
1.0M
Max output
Input / 1M
₹39.95
Cached / 1M
₹9.99
Output / 1M
₹159.80

Pricing

Token typeUSD / 1MINR / 1M
Input$0.400₹39.95
Cached inputprompt cache read$0.1009.99
Output$1.60₹159.80

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

Quickstart

Call OpenAI: GPT-4.1 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-4.1-mini",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

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