GPT-4 Turbo with Vision concepts
GPT-4 Turbo with Vision is a large multimodal model (LMM) developed by OpenAI that can analyze images and provide textual responses to questions about them. It incorporates both natural language processing and visual understanding. This guide provides details on the capabilities and limitations of GPT-4 Turbo with Vision.
To try out GPT-4 Turbo with Vision, see the quickstart.
Chats with vision
The GPT-4 Turbo with Vision model answers general questions about what's present in the images or videos you upload.
Enhancements
Enhancements let you incorporate other Azure AI services (such as Azure AI Vision) to add new functionality to the chat-with-vision experience.
Important
To use Vision enhancement, you need a Computer Vision resource. It must be in the paid (S1) tier and in the same Azure region as your GPT-4 Turbo with Vision resource.
Important
Vision enhancements are not supported by the GPT-4 Turbo GA model. They are only available with the preview models.
Object grounding: Azure AI Vision complements GPT-4 Turbo with Vision’s text response by identifying and locating salient objects in the input images. This lets the chat model give more accurate and detailed responses about the contents of the image.
Optical Character Recognition (OCR): Azure AI Vision complements GPT-4 Turbo with Vision by providing high-quality OCR results as supplementary information to the chat model. It allows the model to produce higher quality responses for images with dense text, transformed images, and numbers-heavy financial documents, and increases the variety of languages the model can recognize in text.
Video prompt: The video prompt enhancement lets you use video clips as input for AI chat, enabling the model to generate summaries and answers about video content. It uses Azure AI Vision Video Retrieval to sample a set of frames from a video and create a transcript of the speech in the video.
Special pricing information
Important
Pricing details are subject to change in the future.
GPT-4 Turbo with Vision accrues charges like other Azure OpenAI chat models. You pay a per-token rate for the prompts and completions, detailed on the Pricing page. The base charges and additional features are outlined here:
Base Pricing for GPT-4 Turbo with Vision is:
- Input: $0.01 per 1000 tokens
- Output: $0.03 per 1000 tokens
See the Tokens section of the overview for information on how text and images translate to tokens.
If you turn on Enhancements, additional usage applies for using GPT-4 Turbo with Vision with Azure AI Vision functionality.
Model | Price |
---|---|
+ Enhanced add-on features for OCR | $1.5 per 1000 transactions |
+ Enhanced add-on features for Object Detection | $1.5 per 1000 transactions |
+ Enhanced add-on feature for “Video Retrieval” integration 1 | Ingestion: $0.05 per minute of video Transactions: $0.25 per 1000 queries of the Video Retrieval index |
1 Processing videos involves the use of extra tokens to identify key frames for analysis. The number of these additional tokens will be roughly equivalent to the sum of the tokens in the text input, plus 700 tokens.
Example image price calculation
Important
The following content is an example only, and prices are subject to change in the future.
For a typical use case, take an image with both visible objects and text and a 100-token prompt input. When the service processes the prompt, it generates 100 tokens of output. In the image, both text and objects can be detected. The price of this transaction would be:
Item | Detail | Cost |
---|---|---|
Text prompt input | 100 text tokens | $0.001 |
Example image input (see Image tokens) | 170 + 85 image tokens | $0.00255 |
Enhanced add-on features for OCR | $1.50 / 1000 transactions | $0.0015 |
Enhanced add-on features for Object Grounding | $1.50 / 1000 transactions | $0.0015 |
Output Tokens | 100 tokens (assumed) | $0.003 |
Total | $0.00955 |
Example video price calculation
Important
The following content is an example only, and prices are subject to change in the future.
For a typical use case, take a 3-minute video with a 100-token prompt input. The video has a transcript that's 100 tokens long, and when the service processes the prompt, it generates 100 tokens of output. The pricing for this transaction would be:
Item | Detail | Cost |
---|---|---|
GPT-4 Turbo with Vision input tokens | 100 text tokens | $0.001 |
Additional Cost to identify frames | 100 input tokens + 700 tokens + 1 Video Retrieval transaction | $0.00825 |
Image Inputs and Transcript Input | 20 images (85 tokens each) + 100 transcript tokens | $0.018 |
Output Tokens | 100 tokens (assumed) | $0.003 |
Total | $0.03025 |
Additionally, there's a one-time indexing cost of $0.15 to generate the Video Retrieval index for this 3-minute video. This index can be reused across any number of Video Retrieval and GPT-4 Turbo with Vision API calls.
Limitations
This section describes the limitations of GPT-4 Turbo with Vision.
Image support
- Limitation on image enhancements per chat session: Enhancements cannot be applied to multiple images within a single chat call.
- Maximum input image size: The maximum size for input images is restricted to 20 MB.
- Object grounding in enhancement API: When the enhancement API is used for object grounding, and the model detects duplicates of an object, it will generate one bounding box and label for all the duplicates instead of separate ones for each.
- Low resolution accuracy: When images are analyzed using the "low resolution" setting, it allows for faster responses and uses fewer input tokens for certain use cases. However, this could impact the accuracy of object and text recognition within the image.
- Image chat restriction: When you upload images in Azure OpenAI Studio or the API, there is a limit of 10 images per chat call.
Video support
- Low resolution: Video frames are analyzed using GPT-4 Turbo with Vision's "low resolution" setting, which may affect the accuracy of small object and text recognition in the video.
- Video file limits: Both MP4 and MOV file types are supported. In Azure OpenAI Studio, videos must be less than 3 minutes long. When you use the API there is no such limitation.
- Prompt limits: Video prompts only contain one video and no images. In Azure OpenAI Studio, you can clear the session to try another video or images.
- Limited frame selection: The service selects 20 frames from the entire video, which might not capture all the critical moments or details. Frame selection can be approximately evenly spread through the video or focused by a specific video retrieval query, depending on the prompt.
- Language support: The service primarily supports English for grounding with transcripts. Transcripts don't provide accurate information on lyrics in songs.
Next steps
- Get started using GPT-4 Turbo with Vision by following the quickstart.
- For a more in-depth look at the APIs, and to use video prompts in chat, follow the how-to guide.
- See the completions and embeddings API reference