Logo
Back to all models

GPT-4 (0613) - In-Depth Overview

OpenAI · GPT-4

outdated

Get all the details on GPT-4 (0613), an AI model from OpenAI. This page covers its token limits, pricing structure, key capabilities such as Fine-tuning, streaming, available API code samples, and performance strengths.

Key Metrics

Input Limit

8.2K tokens

Output Limit

8.2K tokens

Input Cost

$30.00/1M

Output Cost

$60.00/1M

Sample API Code

from openai import OpenAI

client = OpenAI()

chat_completion = client.chat.completions.create(
    messages=[
        {
            "role": "user",
            "content": "Say this is a test",
        }
    ],
    model="gpt-4-0613",
)

print(chat_completion.choices[0].message.content)

Required Libraries

openai
openai

Benchmarks

BenchmarkScoreSourceNotes
1163
lmarena.ai-

Notes

An older snapshot version of the GPT-4 model. Does not support Function Calling or Structured Outputs. Does not support image or audio inputs/outputs directly.

Capabilities

Fine-tuning
streaming

Supported Data Types

Input Types

text

Output Types

text

Strengths & Weaknesses

Good at

General text generation
Reasoning
Instruction following

Poor at

Multimodal tasks
Function calling
Structured outputs

Additional Information

Latest Update

Jun 13, 2023

Knowledge Cutoff

Dec 1, 2023