impulse

GPT-4 O Preview

Frontier labPreview
API id gpt-4-o-preview
Input / 1M
-
not listed
Output / 1M
-
not listed
Context window
64K
tokens
Max output
4K
tokens per reply
Hosts
0
1 listings
Released
-
date not published

Where to run it

0 hosts serve GPT-4 O Preview. The comparison is on blended price, 3 parts input to 1 part output.

HostIn / out per 1M
GitHub CopilotSubscription
gpt-4-o-preview
In the subscription

Capabilities

Core

  • Streaming
  • Function calling
  • JSON mode
  • Structured outputs

Multimodal

  • Vision
  • Image input
  • Audio
  • Image generation
  • Video

Advanced

  • Reasoning
  • Tool calling
  • MCP
  • Prompt caching
  • Batch API
  • Embeddings
Takes in
Text
Produces
Text
Features
Parallel tool calls

Similar models

This model has no listed price, so these are current models with similar capabilities.

Smaller OpenAI models

  • GPT-5.5 Pro
    OpenAI · on OpenAI
    $30.00 / $180.00
    Has every key capability
  • GPT-6.2 Astra
    OpenAI · on OpenAI
    $8.00 / $40.00
    Has every key capability
  • GPT-5.3 Codex
    OpenAI · on OpenAI
    $1.75 / $14.00
    Has every key capability

Other frontier labs

  • Claude Fable 5.2
    Anthropic · on Anthropic
    $8.00 / $40.00
    Has every key capability
  • Gemini 4 Carbon
    Google · on Google AI Studio
    $2.00 / $10.00
    Has every key capability
  • Grok 4.7
    xAI · on xAI
    $2.00 / $6.00
    Has every key capability
  • Claude Opus 5.5
    Anthropic · on Anthropic
    $4.00 / $20.00
    Has every key capability

Open-weight picks

  • Command A Plus
    Cohere · on AIHubMix
    $2.50 / $10.00
    Has every key capability
  • Kimi K3.1 Pro
    Moonshot AI · on Databricks
    $2.00 / $10.00
    Has every key capability
  • Qwen3.8.2 4T A95B
    Alibaba Qwen · on DeepInfra
    $2.00 / $6.00
    Has every key capability
  • Muse Spark Open
    Meta · on Baseten
    $1.25 / $4.25
    Has every key capability

Call it

Using GitHub Copilot's API.

Python
from litellm import completion

response = completion(
    model="github_copilot/gpt-4-o-preview",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Quick answers

What is GPT-4 O Preview's context window?

64K tokens, with up to 4K tokens in one reply.

What is GPT-4 O Preview's API model id?

Use gpt-4-o-preview with GitHub Copilot.

Sources

Raw catalog entry for gpt-4-o-preview on GitHub Copilot
{
  "litellm_provider": "github_copilot",
  "max_input_tokens": 64000,
  "max_output_tokens": 4096,
  "mode": "chat",
  "supports_function_calling": true,
  "supports_parallel_function_calling": true
}