GPT-4 Turbo

openai/gpt-4-turbo

A chat model with a 128K-token context window, at $10.50 per million input tokens and $31.50 per million output tokens.

Details

Maker
openai
Kind
Chat
Context window
128,000 tokens
Max output
4,096 tokens
Input
$10.50 per million tokens
Output
$31.50 per million tokens
Capabilities
Tool use, vision
Takes
Text, image
Returns
Text
Zero data retention
Yes, on every provider
No training on requests
Yes, on every provider
Released
2024-04-09
Newer model
openai/gpt-6.1-solReleased later by the same maker, costs no more, and lists the same capabilities. Compare the two

Description

gpt-4-turbo from OpenAI has broad general knowledge and domain expertise allowing it to follow complex instructions in natural language and solve difficult problems accurately. It has a knowledge cutoff of April 2023 and a 128,000 token context window.

Call it

curl
curl https://phantom.codes/v1/chat/completions \
  -H "Authorization: Bearer $PHANTOM_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4-turbo",
    "messages": [
      {"role": "user", "content": "Hello"}
    ]
  }'

Set PHANTOM_KEY to your key. Any OpenAI client works with the base URL https://phantom.codes/v1.