Back to Models
O

GPT-4 Turbo

GPT
by OpenAI

Previous-generation flagship with 128K context. Strong general-purpose model with vision support.

Apr 9, 2024

Specifications

Context Length
128K
128,000 tokens
Input Price
$10.00
per 1M tokens
Output Price
$30.00
per 1M tokens
Modalities
2
text→text, image+text→text

Capabilities

text generationchatfunction callingjson modevision

API Usage

1Router is fully OpenAI-compatible. Just set the base URL and use this model ID:

openai/gpt-4-turbo
cURL
curl https://api.1router.com/v1/chat/completions \
  -H "Authorization: Bearer $ROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4-turbo",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'