Compare to
Overview
GPT-4 was released about 1 year before Gemini Flash.
GPT-4
Gemini Flash
Provider
The entity that provides this model.
OpenAI
Google
Input Context Window
The number of tokens supported by the input context window.
8,192
tokens
1M
tokens
Maximum Output Tokens
The number of tokens that can be generated by the model in a single request.
8,192
tokens
8,192
tokens
Release Date
When the model was first released.
2023-03-14
2024-05-14
Knowledge Cutoff
Limit on the knowledge base used by the model.
September 2021
November 2023
Open Source
API Providers
The providers that offer this model. (This is not an exhaustive list.)
Pricing
GPT-4 is roughly 240x more expensive compared to Gemini Flash for input tokens and roughly 160x more expensive for output tokens.
GPT-4
Gemini Flash
Input
Cost of input data provided to the model.
$30.00
per million tokens
$0.13
per million tokens
Output
Cost of output tokens generated by the model.
$60.00
per million tokens
$0.38
per million tokens
Benchmarks
Compare relevant benchmarks between GPT-4 and Gemini Flash.
GPT-4
Gemini Flash
MMLU
Evaluating LLM knowledge acquisition in zero-shot and few-shot settings.
86.4
(5-shot)
78.9
(5-shot)
MMMU
A wide ranging multi-discipline and multimodal benchmark.
34.9
56.1
(0-shot pass@1)
HellaSwag
A challenging sentence completion benchmark.
95.3
(10-shot)
86.5
(10-shot)
GSM8K
Grade-school math problems benchmark.
92.0
(5-shot)
86.2
(11-shot)
HumanEval
A benchmark to measure functional correctness for synthesizing programs from docstrings.
67.0
(0-shot)
74.3
(0-shot)
MATH
Benchmark performance on Math problems ranging across 5 levels of difficulty and 7 sub-disciplines.
Benchmark not available.
54.9
(4-shot Minerva Prompt)
Measure & Improve LLM Product Performance.
Get Started