GPT-4 Preview (January 25th)

GPT-4 Preview (January 25th)

GPT-4 Preview (January 25th)

by

OpenAI

Model ID:

gpt-4-0125-preview

Use This Model

Model Overview

FAQs

Related Links

Overview

GPT-4 is OpenAI's most advanced model, offering unparalleled intelligence, creativity, and understanding across a wide range of tasks. It significantly improves upon the capabilities of its predecessors, providing deeper reasoning, more nuanced language understanding, and enhanced problem-solving abilities, making it ideal for complex applications and diverse use cases.

Specializations

  • A multi-modal model capable of processing both text and images, significantly expanding its usability across various applications.

  • Features a larger parameter count (rumored at 1 trillion), enhancing its understanding of complex tasks and nuanced language use.

  • Excels in generating imaginative responses and maintaining coherence in longer texts or multi-turn dialogues.

Integration Guide (Javascript)

To use this model through Portkey, follow these steps:

1. Install Portkey SDK:

npm install --save portkey-ai

2. Set up client with Portkey:

import OpenAI from 'openai';

import { PORTKEY_GATEWAY_URL, createHeaders } from 'portkey-ai'

const openai = new OpenAI({

  apiKey: 'OPENAI_API_KEY',

  baseURL: PORTKEY_GATEWAY_URL,

  defaultHeaders: createHeaders({

    provider: "openai",

    apiKey: "PORTKEY_API_KEY"

  })

});

3. Make a request:

const chatCompletion = await openai.chat.completions.create({

  messages: [{ role: 'user', content: 'Say this is a test' }],

  model: 'gpt-4-0125-preview',

});

console.log(chatCompletion.choices[0].message.content);

Live API Statistics and Performace Metrics

LMSys Arena Elo Score:

1245

Arena Score

LMSys Leaderboard Rank:

19

Arena Rank

Evaluates LLMs through a combination of user feedback and automated scoring systems.

HumanEval Leaderboard Score:

Leaderboard Score

76.5

%

A specific benchmark score measuring the model's accuracy in executing code generations.

Model Specifications

Release Date:

25/1/2023

Model Variants:

gpt-4-1106-preview

Max. Context Tokens:

128K

Max. Output Tokens:

4K

Knowledge Cut-Off Date:

January 2022

MMLU:

86.5

%

License:

Proprietary

Technical Report/Model Card:

LMSys Elo Score

1245

Pricing

$/Million Input Tokens

$

30

$/Million Output Tokens

$

60

Live updates via Portkey Pricing API. Coming Soon...

© 2024 Portkey, Inc. All rights reserved