O

OpenAI: GPT-4o (August 2024)

OpenAI
Vision Tools Streaming Reasoning
128K
Context
$2.50
Input /1M
$10.00
Output /1M
4K
Max Output

OpenAI: GPT-4o (August 2024)

Model Overview

Property Value
Model ID openai/gpt-4o-2024-08-06
Name GPT-4o (August 2024)
Released August 6, 2024
Provider OpenAI

Description

August 2024 update with improved performance. This model supports multimodal capabilities including vision and image understanding. It features advanced reasoning capabilities for complex problem-solving tasks.

Description

OpenAI: GPT-4o (August 2024) is a language model provided by OpenAI. This model offers advanced capabilities for natural language processing tasks.

Description

OpenAI: GPT-4o (August 2024) is a language model provided by OpenAI. This model offers advanced capabilities for natural language processing tasks.

Specifications

Spec Value
Context Window 128,000 tokens
Max Completion 4,096 tokens
Knowledge Cutoff April 2024
Modalities Text + Image

Pricing

Type Price
Input $2.50 per 1M tokens
Output $10.00 per 1M tokens

Capabilities

  • Vision: Yes
  • Tool Use: Yes
  • JSON Mode: Yes
  • Reasoning: Yes
  • Streaming: Yes
  • Function Calling: Yes

Use Cases

Advanced applications, research, production systems

Best For

  • Advanced visual understanding and reasoning
  • Complex reasoning tasks with extended thinking
  • Production systems requiring tool integration
  • Real-time applications requiring low latency
  • Systems where cost is the primary concern

Integration with LangMart

Gateway Support: Type 2 (Cloud), Type 3 (Self-hosted)

API Usage:

curl -X POST https://api.langmart.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4o-2024-08-06",
    "messages": [{"role": "user", "content": "Hello"}],
    "max_tokens": 4096
  }'

Testing in LangMart

# Test chat completion
curl -X POST https://api.langmart.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4o-2024-08-06",
    "messages": [
      {"role": "user", "content": "Explain quantum computing"}
    ]
  }'

# Test with structured output
curl -X POST https://api.langmart.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4o-2024-08-06",
    "messages": [{"role": "user", "content": "Extract data"}],
    "response_format": {"type": "json_object"}
  }'

From OpenAI:

  • GPT-4 Family - Advanced reasoning
  • GPT-3.5 Turbo - Fast and affordable
  • GPT-4o - Optimized multimodal
  • o1 - Extended reasoning

References


Last Updated: December 28, 2025 Generator: OpenAI Markdown Documentation Generator