vs

gpt-5 vs gemini-3.1-pro-preview

gpt-5 is 13% cheaper for input tokens. gemini-3.1-pro-preview is 14% cheaper for output tokens. gemini-3.1-pro-preview has a 2.6x larger context window. gpt-5 supports 2.0x more output tokens.

Pricing Comparison

gpt-5gemini-3.1-pro-preview
ProviderOpenAIGoogle
Context Window400K1M
Max Output128K64K
Input (Pricing Comparison)$0.875$1.00
Output (Pricing Comparison)$7.00$6.00
Capabilities
VisionTool UseJSON ModePrompt CacheReasoning
VisionTool UseJSON ModePrompt Cache

Summary

  • gpt-5 is 13% cheaper for input tokens
  • gemini-3.1-pro-preview is 14% cheaper for output tokens
  • gemini-3.1-pro-preview has a 2.6x larger context window
  • gpt-5 supports 2.0x more output tokens

FAQ

Which is cheaper, gpt-5 or gemini-3.1-pro-preview?

gpt-5 has lower input pricing at $0.875 per 1M tokens.

What are the key differences between gpt-5 and gemini-3.1-pro-preview?

gpt-5: Reasoning