Head-to-Head Model Comparison

GPT-4 vs GPT-3

Benchmarks, API Token Pricing, Context Window & Speed Comparison

Revisado pela equipe de pesquisa do GetInfoUsÚltima revisão: October 2026Política editorial
Partilhar
Related topics (12)
AI CompareAI BenchmarkToken PricingModel CostModel SpecsSWE-bench CodingModel VersusWhich AI ModelLLM Speed & LatencyReasoning ModelsExtended ThinkingPrompt Caching ROI
GPT-4 vs GPT-3: Benchmarks, Pricing & Speed Comparison

GPT-4 da OpenAI e GPT-3 da OpenAI são dois modelos de IA de destaque. O GPT-4 oferece uma janela de contexto de 8.2K tokens a $30.00/$60.00 por milhão de tokens, enquanto o GPT-3 oferece 2K tokens de contexto a $20.00/$20.00 por milhão de tokens. Veja abaixo a comparação completa de benchmarks, latência e custos.

Comparação Direta (VS)

Troque e Compare Qualquer Modelo

Select any AI models from our verified benchmark database to generate live side-by-side matrices.

Profile
Profile
Multi-Model Arena Stack:
5-Model Matrix Workbench
Popular Matchups:
OpenAI

GPT-4

Modelo de Geração Clássica

O GPT-4 da OpenAI é um modelo de IA projetado para assistentes conversacionais, síntese de textos e tarefas corporativas, oferecendo janela de contexto de 8K, velocidade de 35 tokens/s, índice de inteligência de 38/100 e tarifa de $30/$60 p

Intelligence Index38 / 100
Input Token:

$30.00 / 1M

Output Token:

$60.00 / 1M

Context Window:

8.2K tokens

SWE-bench Verified:

21%

OpenAI

GPT-3

Modelo de Geração Clássica

O GPT-3 da OpenAI é um modelo de IA projetado para assistentes conversacionais, síntese de textos e tarefas corporativas, oferecendo janela de contexto de 2K, velocidade de 40 tokens/s, índice de inteligência de 22/100 e tarifa de $20/$20 p

Intelligence Index22 / 100
Input Token:

$20.00 / 1M

Output Token:

$20.00 / 1M

Context Window:

2K tokens

SWE-bench Verified:

N/A

Principais Diferenças em Resumo

  • GPT-3 is 2.0x cheaper for API usage (input + output tokens combined).
  • GPT-4 has a larger context window (8K vs 2K tokens).
  • GPT-3 is faster at 40 tok/s vs 35 tok/s.
Need definitions for token pricing, context, or benchmarks?Explore AI Glossary →
FeatureGPT-4GPT-3
Intelligence Index
Composite reasoning & knowledge score (0-100)
3822
Provider
OpenAIOpenAI
Input Price
Cost per million input tokens
$30.00 / 1M$20.00 / 1M
Output Price
Cost per million output tokens
$60.00 / 1M$20.00 / 1M
Blended Price
Weighted 7:2:1 cache:input:output per 1M
$17.25 / 1M$9.50 / 1M
Context Window
Maximum input + output tokens
8.2K tokens~12 A4 pages of text2K tokens~3 A4 pages of text
Max Output Tokens
Per single request
4K2K
Throughput Speed
Tokens generated per second
35 tok/s40 tok/s
SWE-bench Verified
Real-world software engineering
21%N/A
GPQA Diamond
Graduate-level reasoning
35.8%N/A
Cached Input Price
Prompt caching discount per 1M tokens
$7.50 / 1M$5.00 / 1M

Quem vence em cada categoria?

At-a-glance decision framework
Coding

Evaluations ongoing

Cost
GPT-3
2.0x cheaper monthly runtime
Speed
GPT-3
+14% faster generation
Context
GPT-4
8.2K tokens window

Pontuações de Benchmarks Verificadas

Official evaluation metrics verified by independent third-party research labs.

GPT-4GPT-3
SWE-bench Verified (Autonomous Coding)

Industry benchmark evaluating real-world GitHub issue resolution and multi-file debugging.

21%vsN/A
GPQA Diamond (Doctorate-Level Science & Math)

Challenging questions created by domain experts to test complex PhD-level reasoning.

35.8%vsN/A
MMLU-Pro (Multi-task Language Understanding)

Hardened reasoning and academic knowledge benchmark with reduced lucky-guess probability.

68.2%vs43.9%
LMSYS Chatbot Arena Elo

Crowdsourced human preference evaluation based on blind, head-to-head model battles.

1210ptsvs980pts
Generation Speed (Throughput)

Tokens emitted per second during active generation streaming.

35 tok/s vs40 tok/s

Latência e Tempo de Resposta

Time to first token (TTFT) and estimated end-to-end response time for a typical 500-token response.

Time to First Token (TTFT)Lower is better
GPT-41.20s
GPT-30.90s
Est. End-to-End Response (500 tokens)TTFT + generation time
GPT-415.49s
GPT-313.40s

Simulador Interativo de Custo de Tokens

Adjust sliders to calculate projected monthly cloud API spending with prompt caching discounts.

100K / day
10K500K1M
30K / day
5K150K300K
50% cached
0% (Cold)50%90% (Warm)
GPT-4 Monthly API Bill
$110.25 / month
$30/1M in · $60/1M out
GPT-3 Monthly API Bill
$55.50 / month
$20/1M in · $20/1M out
GPT-3 saves approximately $54.75 / month (50%) under this workload.2.0x Savings

GPT-4 · Strengths & Key Advantages

  • Janela de contexto de 8K com limite máximo de saída de 4K tokens (SWE-bench Verified 21% · GPQA Diamond 35.8%)
  • Taxa de transferência rápida de 35 tokens/segundo com latência inicial (TTFT) de 1200 ms
  • Economia de API competitiva ($30/$60 por 1M de tokens) com suporte a cache de prompts e saídas JSON estruturadas
Considerations & Trade-offs
  • Modelo proprietário em nuvem; não permite download dos pesos para execução local offline
  • Para alto volume de requisições, recomenda-se ativar o cache de prompts e a Batch API para reduzir custos

GPT-3 · Strengths & Key Advantages

  • Janela de contexto de 2K com limite máximo de saída de 2K tokens (MMLU-Pro 43.9% · Arena Elo 980)
  • Taxa de transferência rápida de 40 tokens/segundo com latência inicial (TTFT) de 900 ms
  • Economia de API competitiva ($20/$20 por 1M de tokens) com suporte a cache de prompts e saídas JSON estruturadas
Considerations & Trade-offs
  • Modelo proprietário em nuvem; não permite download dos pesos para execução local offline
  • Para alto volume de requisições, recomenda-se ativar o cache de prompts e a Batch API para reduzir custos

Token Use & Task Economics

Estimated cost and token consumption to complete one representative agentic task.

MetricGPT-4GPT-3
Cost per Task
Estimated USD to finish one task
$0.20$0.20
Output Tokens / Task
Tokens generated per task
24K24K
Reasoning Tokens / Task
Thinking tokens burned per task
0K0K

Especificações Técnicas

Architecture, release timeline, capabilities, and modalities.

FeatureGPT-4GPT-3
Official API Model ID (SDK)gpt-4gpt-3
API ProtocolOpenAI Responses API & Chat Completions v1OpenAI Responses API & Chat Completions v1
Release Date2023-032020-06
Knowledge CutoffSeptember 2021June 2020
ArchitectureMixture-of-Experts (MoE)Autoregressive Transformer (Davinci)
ParametersConfidential (est. 1.8T MoE)175B
Enterprise Rate Limits (RPM / TPM)10,000 – 30,000 RPM (Tier 5 Enterprise) · 800,000 – 2,000,000 TPM10,000 – 30,000 RPM (Tier 5 Enterprise) · 800,000 – 2,000,000 TPM
Long-Context Tier (>128K/200K)Flat rate ($30/1M in) across full 8K windowFlat rate ($20/1M in) across full 2K window
Prompt Cache Policy & TTLAutomatic prefix caching at $7.5/1M (no extra cache-write fee)Automatic prefix caching at $5/1M (no extra cache-write fee)
Computer Use / GUI AgentAPI / CLI Tool-Use & DOM Agent ready (no raw pixel desktop click loop)Text-only completion (No GUI action loop)
MCP & Parallel Tool CallingNative MCP Client/Server ready · Parallel function calling · 100% Strict JSON SchemaPrompt-based JSON extraction only
Web Search Grounding & SandboxNative Web Search tool + Hosted Code Interpreter & File Search RAGNative Web Search tool + Hosted Code Interpreter & File Search RAG
Official Fine-Tuning SupportSupervised Fine-Tuning (SFT), Direct Preference (DPO) & Reinforcement Fine-Tuning (RFT)Supervised Fine-Tuning (SFT), Direct Preference (DPO) & Reinforcement Fine-Tuning (RFT)
Multimodal Token BillingText BPE (~4 chars/token)Text BPE (~4 chars/token)
Quantization & Min GPU VRAMCloud-Hosted Proprietary (FP8 / BF16 Tensor Core Cluster) · Zero Local VRAM Required (100% Serverless Cloud API)Cloud-Hosted Proprietary (FP8 / BF16 Tensor Core Cluster) · Zero Local VRAM Required (100% Serverless Cloud API)
Safety & Frontier ClassificationOpenAI Preparedness Framework Audited & System Card PublishedOpenAI Preparedness Framework Audited & System Card Published
Enterprise Compliance (ZDR/HIPAA/SOC2)SOC2 Type II · GDPR · Zero Data Retention (ZDR) & HIPAA BAA Available on Enterprise TierSOC2 Type II · GDPR · Zero Data Retention (ZDR) & HIPAA BAA Available on Enterprise Tier
Input Modalitiestexttext
Output Modalitiestexttext

GPT-4 vs GPT-3: Respostas Rápidas (FAQ)

Which is more intelligent, GPT-4 or GPT-3?

GPT-4 is more intelligent. It scores 38 compared with 22 on the composite Intelligence Index.

Which model is faster?

GPT-3 is faster, generating 40 tokens per second compared with 35 tokens per second.

Which model is cheaper to run?

GPT-3 is cheaper at $9.50 per 1M tokens blended, compared with $17.25 (7:2:1 cache:input:output ratio).

Which model has lower latency?

GPT-3 has lower latency, with a time to first token of 0.90s compared with 1.20s.

Which model has a larger context window?

GPT-4 has a larger context window, supporting 8.2K tokens compared with 2K tokens.

Veredito

Tanto GPT-4 (Indicado para assistentes conversacionais, síntese de textos e tarefas corporativas, arquiteturas RAG corporativas e integração escalável via API.) quanto GPT-3 (Indicado para assistentes conversacionais, síntese de textos e tarefas corporativas, arquiteturas RAG corporativas e integração escalável via API.) entregam excelente desempenho: GPT-4 lidera em inteligência geral e programação, GPT-3 oferece geração mais rápida e GPT-3 apresenta o melhor custo-benefício em produção.

Perguntas Frequentes (FAQ)

Qual é melhor para programação e raciocínio, GPT-4 ou GPT-3?+

Nas avaliações de inteligência e código, GPT-4 leva vantagem. Confira os gráficos SWE-bench e GPQA acima para detalhes.

Qual modelo tem a API mais barata, GPT-4 ou GPT-3?+

O GPT-4 custa $30.00 / $60.00 por 1M de tokens (entrada/saída) e o GPT-3 custa $20.00 / $20.00. No custo combinado, GPT-3 é mais econômico.

Qual modelo possui maior janela de contexto e velocidade?+

O GPT-4 suporta 8.2K tokens de contexto contra 2K tokens do GPT-3, enquanto GPT-3 entrega maior velocidade de geração.

AI Terminology & Guide
Explore Glossary →

Understand key metrics like context window, token pricing, reasoning mode, and SWE-bench scores in our comprehensive AI glossary.

Benchmark scores, token prices, and rate limits evolve rapidly as AI labs release model updates. Always verify current specifications and pricing on the official provider documentation.

Fontes oficiais: Documentação oficial de API da OpenAI e OpenAI e benchmarks independentes (2026).