AICredits logo
openaivision

OpenAI: GPT-4 Turbo

openai/gpt-4-turbo

The latest GPT-4 Turbo model with vision capabilities. Vision requests can now use JSON mode and function calling. Training data: up to December 2023.

Supported APIs

Chat APIResponses APIVision
Context
128K
Max output
Input / 1M
₹1006.52
Cached / 1M
₹100.65
Output / 1M
₹3019.56

Pricing

Token typeUSD / 1MINR / 1M
Input$10.00₹1006.52
Cached inputprompt cache read$1.00100.65
Output$30.00₹3019.56

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

Quickstart

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

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