Models and pricing
Every model has a type, written as an input to output pair. A model can have more than one type. Models that read images, video or audio, or that have more than one type, are marked Multimodal.
| Type | What it does | Endpoint |
|---|---|---|
| Text to text | Answers questions and writes text | /chat/completions |
| Image to text | Reads images and answers in text | /chat/completions |
| Text to image | Creates pictures from a prompt | /images/generations |
| Image to image | Changes or edits a picture you give it | /images/generations |
| Text to video | Creates short videos from a prompt | /videos |
| Image to video | Brings a picture to life as a short video | /videos |
| Speech to text | Turns speech into text | /audio/transcriptions |
| Text to speech | Turns text into spoken audio | /audio/speech |
| Text to embeddings | Turns text into numbers, for search and finding similar content | /embeddings |
| Rerank | Puts search results in order of how well they match a question | /rerank |
Prices are per unit and shown in USD on every model page. Free models cost nothing.
| Model type | Price unit |
|---|---|
| Text to text, Image to text | Per 1M tokens in and out. Cached input has its own lower price |
| Text to embeddings, Rerank | Per 1M tokens in |
| Text to image, Image to image | Per image, or per megapixel |
| Text to video, Image to video | Per second of video, or per video |
| Speech to text | Per minute of audio |
| Text to speech | Per 1M characters |
Batches cost 50% less than the same requests sent live. The machine-readable catalog at /models.json lists every public model with its types, context size, capabilities and prices.