Back to Models

OpenAI: GPT-4

openai/gpt-4
May 28, 20238.2K context4.1K max output$30.00/M in · $60.00/M out

Description

OpenAI's flagship model, GPT-4 is a large-scale multimodal language model capable of solving difficult problems with greater accuracy than previous models due to its broader general knowledge and advanced reasoning capabilities. Training data: up to Sep 2021.

Specifications

Provider
openai
Context Length
8.2K
Max Output
4.1K
Modality
Intext
Outtext

Pricing

TypePrice / 1M tokens
Input$30.00
Output$60.00

Quick Start

curl https://api.ominigate.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-omg-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'