AICredits logo
openai

OpenAI: GPT-4

openai/gpt-4

OpenAI's flagship model, GPT-4 is a large-scale multimodal language model capable of solving difficult problems with greater accuracy than previous models due to its broader general knowledge and advanced reasoning...

Supported APIs

Chat APIResponses API
Context
8K
Max output
Input / 1M
₹3019.56
Cached / 1M
₹301.96
Output / 1M
₹6039.11

Pricing

Token typeUSD / 1MINR / 1M
Input$30.00₹3019.56
Cached inputprompt cache read$3.00301.96
Output$60.00₹6039.11

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

Quickstart

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

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