Models

gpt-4o β€” API, Pricing & Context Window | Vivgrid

gpt-4o on Vivgrid: OpenAI's multimodal GPT-4o with a 128K context window and image input, accessible through one unified API key.

gpt-4o is OpenAI's widely adopted multimodal GPT-4-class model, balancing quality, speed, and cost across text and image inputs. With a 128K-token context window, it powers a huge range of production assistants.

On Vivgrid, gpt-4o is available through the same OpenAI-compatible endpoint as newer models, making it easy to keep existing apps running or migrate gradually to GPT-5.

Specifications

ProviderOpenAI
Model IDgpt-4o
Best forGeneral-purpose
Context window128,000 tokens
ModalitiesText, Image
Tool / function callingYes
Knowledge cutoff2023-09
Acceleration🌐 Global (Centralized)

Pricing

Pricing in USD per 1M tokens, matching the provider's rates.

InputCached inputOutput
$2.50$1.25$10.00

Quick start

Call gpt-4o through Vivgrid's unified, OpenAI-compatible endpoint. Get an API key from the Vivgrid Console.

curl https://api.vivgrid.com/v1/chat/completions \
  -H "Authorization: Bearer $VIVGRID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o",
    "messages": [
      { "role": "user", "content": "Say hello in English, Chinese and Spanish." }
    ],
    "stream": true
  }'

Ideal use cases

  • Established multimodal chat and assistant apps
  • Text and image understanding tasks
  • Broadly compatible production workloads
  • A baseline for comparing against newer GPT-5 models
  • gpt-4.1 β€” larger context, refined GPT-4 generation
  • gpt-5 β€” modern upgrade path
  • gpt-5-mini β€” low-cost modern alternative

On this page