Model: OpenAI: GPT-4o (extended), Context: 128000, Cost: $6 per 1M input tokens, $18 per 1M output tokens
Note: Calculation is approximate based on public data. Prices may change, check official websites.
Calculate the cost of using the OpenAI GPT-4o (extended) model. This calculator helps you estimate expenses based on the number of input and output tokens and requests.
The pricing for this model is:
- Input Tokens: $6 per 1 million tokens
- Output Tokens: $18 per 1 million tokens
- Context Window: 128,000 tokens
Formula for calculation:
Total Cost = (Input Tokens / 1,000,000 * Input Cost per 1M) + (Output Tokens / 1,000,000 * Output Cost per 1M)
Example:
If you use 50,000 input tokens and 20,000 output tokens for 1 request:
- Input Cost = (50,000 / 1,000,000) * $6 = $0.30
- Output Cost = (20,000 / 1,000,000) * $18 = $0.36
- Total Cost = $0.30 + $0.36 = $0.66
Note: Calculation is approximate based on public data. Prices may change; check official websites for the most up-to-date information.