Skip to content

Model detail

GPT-4 Turbo 20240409

Provided by OpenAI
Pay-as-you-go

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.

Model specs

Model ID
gpt-4-turbo-2024-04-09
Context length
128K
Max output
4.096K
I/O modalities
Released
2024-04

02

API endpoints

One MixRoute gateway, OpenAI-compatible

  • OpenAI-compatible /v1/chat/completions POST

03

Pricing

Flat rate, unit: /1M Tokens

Input

$10.0000 /1M Tokens

Completion

$30.0000 /1M Tokens

05

Selection summary

Quickly judge whether it fits your workload

What is this model good for?

Vision-capable GPT-4 with JSON mode and function calling

Use GPT-4 Turbo for tasks requiring vision capabilities, JSON mode, and function calling. It is the next generation of GPT-4 with training data up to December 2023.

What should you check before using it?

Consider GPT-4o for better speed and cost

GPT-4o offers better performance at lower cost. Test your vision and function calling tasks to determine if GPT-4 Turbo is still the right choice. Knowledge cutoff: 2023-12-01.

Why use it through MixRoute?

Swap the base URL, keep the GPT-4 Turbo client

MixRoute serves GPT-4 Turbo on the OpenAI-compatible endpoint /v1/chat/completions; point your existing client at https://api.mixroute.ai/v1 with the model ID gpt-4-turbo-2024-04-09 and re-run your integration tests.

07

Capabilities & compatibility

Unconfirmed capabilities stay "Unknown," no guesses

Available:

Tool calling

GPT-4 Turbo supports function and tool calls.

EX Send a tools definition; the response returns tool_calls to execute and feed results back.
Available:

Structured output

GPT-4 Turbo can produce JSON-formatted output on demand.

EX response_format: { type: "json_schema" } forces valid JSON output.
Available:

Streaming

GPT-4 Turbo supports streamed responses.

EX stream: true streams tokens incrementally, so chat UIs render as they arrive.
Available:

Vision input

GPT-4 Turbo can process image inputs alongside text.

EX Pass a base64-encoded image in a image_url content part alongside text messages.
Available:

OpenAI SDK

Call GPT-4 Turbo through MixRoute's OpenAI-compatible endpoint.

EX Change base_url to https://api.mixroute.ai/v1; everything else follows the OpenAI style.

08

Token cost estimator

Live estimate from this page's pricing, not an actual bill

This model has no cache-read price; caching is not counted

09

FAQ

GPT-4 Turbo is the next generation of GPT-4 with vision capabilities, JSON mode, and function calling. Its training data goes up to December 2023.

One endpoint, a testable decision

Test this model and alternate routes with the same request format

Start from a real workload, then let quality, total cost, and failure conditions decide whether to send production traffic.