# GPT-4o (2024-08-06) Usage, Cost & Rank | OpenCode Data

> GPT-4o (2024-08-06) costs $2.50 per 1M input tokens and $10.00 per 1M output tokens.

GPT model for general reasoning, writing, coding, and tool-assisted tasks

- Page: https://opencode.ai/data/openai/gpt-4o-2024-08-06
- JSON: https://opencode.ai/data/openai/gpt-4o-2024-08-06.json
- Model ID: openai/gpt-4o-2024-08-06
- Lab: OpenAI

## Model facts

| Fact | Value |
| --- | --- |
| Context window | 128K |
| Max output | 16K |
| Knowledge cutoff | 2023-09 |
| Release date | 2024-08-06 |
| Input modalities | text, image |
| Output modalities | text |
| Reasoning | No |
| Tool calling | Yes |
| Open weights | No |

## Pricing: USD per 1M tokens

| Input | Output | Cached input | Cache write |
| --- | --- | --- | --- |
| $2.50 | $10.00 | $1.25 | - |

## Benchmarks

| Benchmark | Score | Metric | Source |
| --- | --- | --- | --- |
| Aider Polyglot | 23.1 | percent correct | https://aider.chat/docs/leaderboards/ |
| Artificial Analysis Coding Index | 16.6 | index | https://openrouter.ai/openai/gpt-4o-2024-08-06/benchmarks |
| SciCode | 33.1 | percent correct | https://openrouter.ai/openai/gpt-4o-2024-08-06/benchmarks |
| Terminal-Bench Hard | 8.3 | success rate | https://openrouter.ai/openai/gpt-4o-2024-08-06/benchmarks |

## Methodology

- Updates: Aggregated every hour. Days and weeks use UTC.
- Tokens: Input, output, reasoning, and cached tokens for each request.
- Users and sessions: Approximate counts of distinct users and OpenCode sessions.
- Cost: Session cost is the average cost per OpenCode session. Token prices are list prices from the OpenCode model catalog.
- Retention: The share of a model's users in one week who use it again the next week.
- Citation: Cite OpenCode Data (opencode.ai/data) with the update time shown at the top of the page.
