GPT-4

by OpenAI

Zero data retention
openai/gpt-4
Input
$42.00/1M tokens
Output
$84.00/1M tokens
Context
8Ktokens
Max output
4Ktokens
Knows to
September 2021
Released
28 May 2023

About

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...

Pricing

Input$42.00per 1M prompt tokens
Output$84.00per 1M generated tokens, reasoning included

What a request costs

Typical requestEachPer 1,000
Short chat reply1,500 in · 400 out$0.097$96.60

At the developer-API rate, before any provider promotion or prompt-cache saving. In the app, the model picker shows what a message costs on your plan before you send it.

Benchmarks

Intelligence6.7#258 of 285
Coding13.1#148 of 163

Scores from Artificial Analysis; bars are scaled to the best model on our list. Published by OpenRouter alongside its catalogue.

Call it from code

OpenAI-compatible: point any OpenAI SDK at https://api.privateer.pro/v1 and set model. Keys are created in the app under Settings.

cURL
curl https://api.privateer.pro/v1/chat/completions \
  -H "Authorization: Bearer $PRIVATEER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'
Python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.privateer.pro/v1",
    api_key=os.environ["PRIVATEER_API_KEY"],
)
reply = client.chat.completions.create(
    model="openai/gpt-4",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)
JavaScript
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.privateer.pro/v1",
  apiKey: process.env.PRIVATEER_API_KEY,
});
const reply = await client.chat.completions.create({
  model: "openai/gpt-4",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(reply.choices[0].message.content);

Parameters this model accepts

frequency_penaltylogit_biaslogprobsmax_completion_tokensmax_tokenspresence_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_logprobstop_p

API reference → · How API billing works →

Prices are USD at the developer-API rate, as of 16 Oct 2026, rebuilt daily from the providers’ live catalogues. ← All models