GPT-4 Turbo Preview

The preview GPT-4 model with improved instruction following, JSON mode, reproducible outputs, parallel function calling, and more. Training data: up to Dec 2023. **Note:** heavily rate limited by OpenAI while in preview.

ChatOpenAI128k tokens$10.9006 / $32.7018 · 1M

openai/gpt-4-turbo-preview

Context
128k tokens
Completion cap
4,096
Tools
Yes
JSON
Yes
Released
2024-01-25

Call it from Geek Hub

Same OpenAI SDK. Change the base URL and the model id.

curl https://api.geekhub.mx/v1/chat/completions \
  -H "Authorization: Bearer $GEEKHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4-turbo-preview",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Get an API key

Frequently asked questions

What is GPT-4 Turbo Preview?
The preview GPT-4 model with improved instruction following, JSON mode, reproducible outputs, parallel function calling, and more. Training data: up to Dec 2023. **Note:** heavily rate limited by OpenAI while in preview. GPT-4 Turbo Preview runs on the Geek Hub API (OpenAI-compatible). Model id: openai/gpt-4-turbo-preview.
Is GPT-4 Turbo Preview free?
No. Input is $10.9006 per 1M tokens and output is $32.7018 per 1M tokens on Geek Hub (markup included).
What is the context length of GPT-4 Turbo Preview?
GPT-4 Turbo Preview has a 128k tokens context window. It supports up to 4,096 completion tokens.
Does GPT-4 Turbo Preview support tool calling and structured outputs?
GPT-4 Turbo Preview accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.
When was GPT-4 Turbo Preview released?
GPT-4 Turbo Preview was released on 2024-01-25.

More models from OpenAI