Skip to main content
Glama

claude-3-5-sonnet-20240620 vs gpt-4o-mini-2024-07-18

Pricing, Performance & Features Comparison

Authoranthropic
Context Length200K
Reasoning
-
Providers1
ReleasedJun 2024
Knowledge CutoffApr 2024
License
Superseded Byclaude-3-5-sonnet

Claude 3.5 Sonnet is Anthropic’s most advanced large language model, offering top-tier reasoning, coding, and vision capabilities. It can handle up to a 200K token context window, making it ideal for complex queries and multi-step workflows. The model excels in producing natural, high-quality responses for a wide range of use cases.

Input$3
Output$15
Latency (p50)
Output Limit8K
Function Calling
-
JSON Mode
-
InputText, Image
OutputText
in$3out$15cache$0.3write$3.8
Authoropenai
Context Length128K
Reasoning
-
Providers1
ReleasedJul 2024
Knowledge CutoffOct 2023
License

GPT-4o-mini is a cost-effective and high-performing large language model from OpenAI, capable of handling both text and image inputs. It supports advanced features such as JSON Mode and parallel function calling, and can handle up to 128,000 tokens in its context window. This makes it an excellent choice for a variety of AI tasks, including those requiring large-scale context processing.

Input$0.15
Output$0.6
Latency (p50)
Output Limit16K
Function Calling
JSON Mode
InputText, Image
OutputText
in$0.15out$0.6cache$0.075