Openai model page

OpenAI: GPT-4

openai/gpt-4

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

TextStructured outputTool callingReasoning
Input / 1M
$39.00
Output / 1M
$78.00
Context
8K
Markup
30%

Use this model through UAI

A dedicated public landing page for this synced catalog row.

Provider
Openai

Synced from the active catalog

Context window
8K tokens

Validated for gateway requests

UAI input
$39.00

Charged from your UAI balance

UAI output
$78.00

Same API key and billing flow

This page exists for direct linking, onboarding, and SEO. The same model row powers /v1/models, the public catalog, the app pricing screen, and request validation for /v1/chat/completions.

Why use this model through UAI

The same model route, but with one account, one balance, and one API shape.

Reasoning workloads

Use OpenAI: GPT-4 for multi-step prompts, planning, and deeper analysis while keeping the same OpenAI-compatible UAI endpoint.

Agent integrations

Tool and function-style parameters stay available through the same UAI request surface, so agent stacks do not need a separate provider integration.

OpenAI-compatible access

Call openai/gpt-4 with the same UAI API key, the same /v1/chat/completions shape, and the same request validation used across the rest of the catalog.

Pricing and access

Current synced numbers for this exact model row.

UAI input / 1M tokens
$39.00
UAI output / 1M tokens
$78.00
Openai input / 1M
$30.00
Openai output / 1M
$60.00
Context window
8,191
Current markup
30%

Need another option? Browse the full models catalog or compare rows in the signed-in pricing table.

Quickstart

Use this model with your UAI key over the standard OpenAI-compatible route.

Create a key in API Keys, then send requests to https://uai.sh/v1/chat/completions.

curl
curl https://uai.sh/v1/chat/completions \
  -H "Authorization: Bearer uai-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4",
    "messages": [{"role": "user", "content": "Say hi in one short sentence."}],
    "stream": false
  }'
Python (OpenAI SDK)
from openai import OpenAI

client = OpenAI(base_url="https://uai.sh/v1", api_key="uai-YOUR_API_KEY")
response = client.chat.completions.create(
    model="openai/gpt-4",
    messages=[{"role": "user", "content": "Say hi in one short sentence."}],
    stream=False
)
print(response.choices[0].message.content)
Node.js (OpenAI SDK)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://uai.sh/v1",
  apiKey: "uai-YOUR_API_KEY"
});

const response = await client.chat.completions.create({
  model: "openai/gpt-4",
  messages: [{ role: "user", content: "Say hi in one short sentence." }],
  stream: false
});

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

Related models

Other active rows to compare without leaving the public catalog.

openai
OpenAI: GPT-5.4 Pro
openai/gpt-5.4-pro
Input / 1M$39.00
Context1.1M tokens
openai
OpenAI: GPT-5.5 Pro
openai/gpt-5.5-pro
Input / 1M$39.00
Context1.1M tokens
openai
OpenAI: GPT-5.2 Pro
openai/gpt-5.2-pro
Input / 1M$27.30
Context400K tokens