Skip to content

Commit 65a9133

Browse files
Merge pull request #278682 from PatrickFarley/gh-issues-address
Gh issues address
2 parents de6cdcd + 055d6e5 commit 65a9133

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

articles/ai-services/openai/concepts/gpt-with-vision.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ If you turn on Enhancements, additional usage applies for using GPT-4 Turbo with
6868
|-----------------|-----------------|
6969
| + Enhanced add-on features for OCR | $1.5 per 1000 transactions |
7070
| + Enhanced add-on features for Object Detection | $1.5 per 1000 transactions |
71-
| + Enhanced add-on feature for “Add your Image” Image Embeddings | $1.5 per 1000 transactions |
7271
| + Enhanced add-on feature for “Video Retrieval” integration **<sup>1</sup>** | Ingestion: $0.05 per minute of video <br>Transactions: $0.25 per 1000 queries of the Video Retrieval index |
7372

7473
**<sup>1</sup>** 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.
@@ -79,13 +78,14 @@ If you turn on Enhancements, additional usage applies for using GPT-4 Turbo with
7978
8079
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:
8180

82-
| Item | Detail | Total Cost |
81+
| Item | Detail | Cost |
8382
|-----------------|-----------------|--------------|
84-
| GPT-4 Turbo with Vision input tokens | 100 text tokens | $0.001 |
83+
| Text prompt input | 100 text tokens | $0.001 |
84+
| Example image input (see [Image tokens](/ai-services/openai/overview#image-tokens-gpt-4-turbo-with-vision)) | 170 + 85 image tokens | $0.00255 |
8585
| Enhanced add-on features for OCR | $1.50 / 1000 transactions | $0.0015 |
8686
| Enhanced add-on features for Object Grounding | $1.50 / 1000 transactions | $0.0015 |
8787
| Output Tokens | 100 tokens (assumed) | $0.003 |
88-
| **Total Cost** | | $0.007 |
88+
| **Total** | |**$0.00955** |
8989

9090

9191
### Example video price calculation
@@ -95,13 +95,13 @@ For a typical use case, take an image with both visible objects and text and a 1
9595
9696
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:
9797

98-
| Item | Detail | Total Cost |
98+
| Item | Detail | Cost |
9999
|-----------------|-----------------|--------------|
100100
| GPT-4 Turbo with Vision input tokens | 100 text tokens | $0.001 |
101101
| Additional Cost to identify frames | 100 input tokens + 700 tokens + 1 Video Retrieval transaction | $0.00825 |
102102
| Image Inputs and Transcript Input | 20 images (85 tokens each) + 100 transcript tokens | $0.018 |
103103
| Output Tokens | 100 tokens (assumed) | $0.003 |
104-
| **Total Cost** | | **$0.03025** |
104+
| **Total** | | **$0.03025** |
105105

106106
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.
107107

articles/ai-services/openai/how-to/dall-e.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The following command shows the most basic way to use DALL-E with code. If this
4747
Send a POST request to:
4848

4949
```
50-
https://<your_resource_name>.deployments/<your_deployment_name>/images/generations?api-version=<api_version>
50+
https://<your_resource_name>.openai.azure.com/openai/deployments/<your_deployment_name>/images/generations?api-version=<api_version>
5151
```
5252

5353
where:

0 commit comments

Comments
 (0)