[OpenAI](/ai-gateway/models/labs/openai)

# GPT-4o

GPT-4o is OpenAI's first natively multimodal "omni" model, unifying text, audio, image, and video processing within a single end-to-end trained architecture and delivering audio response times averaging 320 milliseconds, comparable to human conversational latency. Your use is subject to OpenAI's [Terms](https://openai.com/policies/terms-of-use) & [Privacy](https://openai.com/policies/privacy-policy) Policies.

File InputImplicit CachingTool UseVision (Image)Web Search

[Use with AI Gateway](https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fai%3Futm_source%3Dgateway-model-page%26utm_campaign%3Dai-gateway-models&title=Get+Started+with+Vercel+AI+Gateway) [View docs](https://vercel.com/docs/ai-gateway)

AI SDKChat CompletionsMessagesResponses

```
1import { streamText } from 'ai'
2

3const result = streamText({
4  model: 'openai/gpt-4o',
5  prompt: 'Why is the sky blue?'
6})
```

[Read docs](https://vercel.com/docs/ai-gateway/sdks-and-apis/ai-sdk)

[Overview](/ai-gateway/models/gpt-4o) [API](/ai-gateway/models/gpt-4o/api) [About](/ai-gateway/models/gpt-4o/about) [Providers](/ai-gateway/models/gpt-4o/providers) [Throughput](/ai-gateway/models/gpt-4o/throughput) [Latency](/ai-gateway/models/gpt-4o/latency) [Uptime](/ai-gateway/models/gpt-4o/uptime) [Status](/ai-gateway/models/gpt-4o/status) [Similar](/ai-gateway/models/gpt-4o/similar) [FAQ](/ai-gateway/models/gpt-4o/faq)

## [Copy link to heading](#providers)Providers

Route requests across multiple providers. Copy a provider slug to set your preference. Visit the [docs](/docs/ai-gateway/provider-options) for more info. Using a provider means you agree to their terms, listed under Legal.

| Provider |
| --- |

| Context | Max Output | Latency | Throughput | Input | Output | Cache | Web Search | Capabilities | ZDR | No Training | Release Date |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |

| ![azure logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fazure.png&w=48&q=75) [Azure](/ai-gateway/models/providers/azure) Legal:[Terms](https://learn.microsoft.com/en-us/legal/cognitive-services/openai/code-of-conduct)•[Privacy](https://privacy.microsoft.com/en-us/privacystatement) | 128K | 16K | 0.6s | 83tps | $2.50/M | $10/M | Read:$1.25/M Write:— | $14/K \+ input costs | +2 |  |  | 05/13/2024 |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| ![openai logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fopenai.png&w=48&q=75) [OpenAI](/ai-gateway/models/providers/openai) Legal:[Terms](https://openai.com/policies/terms-of-use)•[Privacy](https://openai.com/policies/privacy-policy) | 128K | 16K | 0.8s | 40tps | $2.50/M+1 more | $10/M+1 more | Read:$1.25/M+1 more Write:— | $10/K \+ input costs | +2 |  |  | 05/13/2024 |  |