---
title: "gpt-4 Cost Calculator - OpenAI"
description: "Calculate the cost of using gpt-4 from OpenAI. Input costs $30.00 and output $60.00 per 1M tokens."
url: "https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/openai/model/gpt-4"
markdown: "https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/openai/model/gpt-4.md"
---

# gpt-4 Cost Calculator - OpenAI

> Calculate the cost of using gpt-4 from OpenAI. Input costs $30.00 and output $60.00 per 1M tokens.

## Important Links

- [View MCP Gateway](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/resources/mcp-gateway.md)
- [Features](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/#features)
- [Enterprise](https://www.getmaxim.ai/enterprise)
- [Pricing](https://www.getmaxim.ai/pricing)
- [Docs](https://docs.getbifrost.ai)
- [GitHub](https://github.com/maximhq/bifrost)
- [Book a Demo](https://www.getmaxim.ai/book-a-demo)

## About gpt-4

gpt-4 is a chat model from OpenAI, one of 94 chat models they offer. It is priced at $30.00 per 1M input tokens and $60.00 per 1M output tokens, ranking 3234 out of 3254 chat models by cost and cheaper than 0% of models in this category. gpt-4 supports function calling, prompt caching. It accepts up to 8K input tokens.

## Pricing

Published OpenAI pricing for gpt-4.

- **$30.00 / 1M tokens Input.**
- **$60.00 / 1M tokens Output.**

## Technical Specifications

- **Chat Mode.**
- **8,192 Max Input Tokens.**
- **4,096 Max Output Tokens.**
- **4,096 Max Tokens.**

## Model Capabilities

gpt-4 supports: Function Calling, Prompt Caching, System Messages, Tool Choice.

## How Pricing Compares

At $30.00 per 1M input tokens and $60.00 per 1M output tokens, gpt-4 ranks 3234 out of 3254 chat models by input cost. It is more expensive compared to the median of $0.52 for chat models, and is cheaper than 0% of models in this category.

gpt-4 is one of 94 OpenAI chat models, with support for function calling, prompt caching.

| Model | Provider | Input $/1M | Output $/1M | vs gpt-4 |
| --- | --- | --- | --- | --- |
| gpt-4 | Azure | $30.00 | $60.00 | 0% |
| gpt-4-0613 | Azure | $30.00 | $60.00 | 0% |
| gpt-4 | OpenRouter | $30.00 | $60.00 | 0% |
| kimi-k3 | Fireworks AI | $30.00 | $150.00 | 0% |
| gpt-5.5-pro | OpenRouter | $30.00 | $180.00 | 0% |

## More from OpenAI

- [ft:gpt-4-0613 ($30.00/1M input)](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/openai/model/ft-gpt-4-0613.md)
- [gpt-4-0314 ($30.00/1M input)](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/openai/model/gpt-4-0314.md)
- [gpt-4-0613 ($30.00/1M input)](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/openai/model/gpt-4-0613.md)
- [o1 ($15.00/1M input)](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/openai/model/o1.md)

## Related Resources

- [OpenAI status](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/provider-status/openai.md)
- [gpt-4 specifications](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/openai/gpt-4.md)
- [All OpenAI pricing](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/openai.md)

## FAQ

### Is gpt-4 cheaper than gpt-4?

No. gpt-4 costs $30.00 per 1M input tokens while gpt-4 costs $30.00 per 1M input tokens, making gpt-4 0% more affordable for input. However, gpt-4 may offer different capabilities or performance characteristics that justify the price difference.

### How does gpt-4 pricing compare to the average chat model?

gpt-4 input pricing is $30.00 per 1M tokens, which is 5714% above the median of $0.52 for chat models. It ranks 3234 out of 3254 chat models by input cost, making it cheaper than 0% of models in this category. For output, it costs $60.00 per 1M tokens compared to the median of $1.50.

### What makes gpt-4 different from other OpenAI models?

Among OpenAI's 94 chat models, gpt-4 ranks 92 by input cost.

### What are the best alternatives to gpt-4?

The most comparable chat models to gpt-4 are: gpt-4 from Azure ($30.00/1M input tokens); gpt-4-0613 from Azure ($30.00/1M input tokens); gpt-4 from OpenRouter ($30.00/1M input tokens); kimi-k3 from Fireworks AI ($30.00/1M input tokens). These alternatives were selected based on similar capabilities, pricing, and provider diversity. You can compare any of these models in detail using the Bifrost Model Library.

### How do I check if OpenAI is down?

You can monitor OpenAI service health in real time on the Bifrost OpenAI Status page. It tracks current component status, active incidents, and historical reliability data pulled from the official status page every 60 seconds.

### How do I calculate gpt-4 costs?

gpt-4 is priced based on input and output tokens. Use the interactive calculator at the top of this page to estimate costs for your specific workload. Enter your expected input and output tokens volume and the calculator will show the total cost breakdown. For reference, processing 1M input tokens costs $30.00 and generating 1M output tokens costs $60.00.

## Related Resources

- [All OpenAI pricing](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/openai.md)
- [LLM cost calculator](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator.md)
- [Model library](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library.md)
- [Docs: Bifrost docs](https://docs.getbifrost.ai)
- [GitHub: maximhq/bifrost](https://github.com/maximhq/bifrost)
- [Pricing: Bifrost pricing](https://www.getmaxim.ai/pricing)
- [Enterprise: Bifrost enterprise](https://www.getmaxim.ai/enterprise)
- [Book a Demo: Bifrost demo](https://www.getmaxim.ai/book-a-demo)
- [Resources: Bifrost resources](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/resources.md)

---

*This is a markdown version of [https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/openai/model/gpt-4](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/openai/model/gpt-4) for AI/LLM consumption.*
