# GPT-4o (Fast)

GPT-4o from OpenAI has broad general knowledge and domain expertise allowing it to follow complex instructions in natural language and solve difficult problems accurately. It matches GPT-4 Turbo performance with a faster and cheaper API.

- **Model ID:** `openai/gpt-4o-fast`
- **Type:** chat
- **Providers:** openai
- **Context window:** 128,000
- **Maximum output tokens:** 16,384
- **Pricing:** $4.25/1M input tokens, $17/1M output tokens
- **Canonical page:** https://vercel.com/ai-gateway/models/gpt-4o-fast

## Supported parameters

Detailed capability metadata has not been reported for this model.

## Example

```ts
import { streamText } from 'ai'

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

## Links

- [Model page](https://vercel.com/ai-gateway/models/gpt-4o-fast)
- [AI Gateway documentation](https://vercel.com/docs/ai-gateway)
- [Provider model documentation](https://platform.openai.com/docs/models/gpt-4o)
- [Provider pricing](https://platform.openai.com/docs/pricing)


If you encounter incorrect information, can’t find what you need, need a capability Vercel doesn’t currently offer, or have any other feedback to report, please do it by following the instructions at https://vercel.com/feedback.md.
