AI Rate Card

GPT-4 vs GPT-5 Search API: API price and specs

GPT-5 Search API is 96% cheaper than GPT-4 on input price.

GPT-5 Search API is 83% cheaper than GPT-4 on output price.

GPT-5 Search API is 92% cheaper than GPT-4 on a 1M-in / 200k-out workload.

GPT-5 Search API has a 3220.3% larger context than GPT-4.

FieldGPT-4GPT-5 Search API
Lowest input, per 1M$30.00 +2300%$1.25
Median input, per 1M$30.00 +2300%$1.25
Lowest output, per 1M$60.00 +500%$10.00
Median output, per 1M$60.00 +500%$10.00
Lowest unit price——
Cost of 1M in + 200k out$42.00 +1192.3%$3.25
Context8K +97%272K
Max output8K—
Providers82 +75%
RegionsGLOBALUS
Acceptspdf, textfile, image, text
Returnstexttext
TypeText modelsText models
Free optionnono
Cheapest provideraihubmixedenai

Your own workload: how many tokens the model gets (input) and gives back (output) - for example, in a month. The "Cost" row of the table above is recalculated for these numbers, for each model.

Computed from current offers each time the page opens; the best value of a row is bold, the percent is how far behind the best.

Providers selling both

edenai, openai

Frequently asked questions

Which is cheaper, GPT-4 or GPT-5 Search API?

GPT-5 Search API is 96% cheaper than GPT-4 on input price. GPT-5 Search API is 83% cheaper than GPT-4 on output price. GPT-5 Search API is 92% cheaper than GPT-4 on a 1M-in / 200k-out workload.

Which has the larger context, GPT-4 or GPT-5 Search API?

GPT-4: 8K tokens; GPT-5 Search API: 272K tokens.

Where can I use both GPT-4 and GPT-5 Search API?

edenai, openai