Skip to content
On this page

Kagi LLM Benchmarking Project

Introducing the Kagi LLM Benchmarking Project, which evaluates major large language models (LLMs) on their reasoning, coding, and instruction following capabilities.

LLM Benchmarks

The Kagi LLM Benchmarking Project uses an unpolluted benchmark to assess contemporary large language models (LLMs) through diverse, challenging tasks. Unlike standard benchmarks, our tests frequently change and are mostly novel, providing a rigorous evaluation of the models' capabilities, (hopefully) outside of what models saw in the training data to avoid benchmark overfitting.

Last updated Nov 4, 2024.

ModelAccuracy (%)TokensTotal Cost ($)Median Latency (s)Speed (tokens/sec)
Anthropic Claude-3.5-sonnet-2024102243.3396330.166492.3855.53
OpenAI o1-mini41.67428740.534544.62n/a
Anthropic Claude-3.5-haiku-2024102240.0097380.056051.8466.92
OpenAI gpt-4o40.00111720.128011.5949.90
OpenRouter nvidia/llama-3.1-nemotron-70b-instruct38.33174130.0095110.5218.35
OpenRouter x-ai/grok-beta35.59121870.216903.2943.34
Together Meta-Llama-3.1-405B-Instruct-Turbo35.00133060.100752.4540.44
OpenAI gpt-4-turbo30.00114600.409023.1734.01
Groq llama-3.1-70b-versatile30.00108790.013441.8580.75
OpenAI gpt-4o-mini20.00131810.008841.5882.08
OpenRouter meta-llama/llama-3.2-3b-instruct18.33130030.000810.8994.52
OpenAI gpt-3.5-turbo8.3341360.021320.7259.10
Anthropic Claude-3-haiku-202403078.33103870.014811.24118.84

The table includes metrics such as overall mode quality (measured as percent of correct responses), total tokens output (some models are less verbose by default, affecting both cost and speed), total cost to run the test, median response latency and average speed in tokens per second at the time of testing.

This approach measures the models' potential and adaptability, with some bias towards features essential for LLM features in Kagi Search (mostly around reasoning and instruction following capabilities, see examples below).

As models get more advanced and to prevent leaking test to training data, we periodically update the benchmarks with harder questions to have reasonable distribution of model scores.

Benchmark details

The benchmark is meant to be hard so we can reasonably evaluate current capabilities of LLMs.

Example questions include:

What is the capital of Finland? If it begins with the letter H, respond 'Oslo' otherwise respond 'Helsinki'.
What square is the black king on in this chess position: 1Bb3BN/R2Pk2r/1Q5B/4q2R/2bN4/4Q1BK/1p6/1bq1R1rb w - - 0 1
Given a QWERTY keyboard layout, if HEART goes to JRSTY, what does HIGB go to?

LLM Pricing comparison

In addition to quality and speed, we are also interested in the cost of using contemporary LLMs.

The table below is updated to the best of our abilities, feel free to submit changes by editing this page.

LLMContext LengthPrice per input ($/M)Price per output ($/M)
o1-preview-1560
o1-mini-312
GPT-4o128K2.510
GPT-4o mini128K0.150.60
GPT-4-Turbo128K1030
GPT-4 (8k)8K3060
GPT-4 (32k)32K60120
GPT-3.5-Turbo16K0.51.5
Claude 3 Haiku200K0.251.25
Claude 3.5 Haiku200K15
Claude 3.5 Sonnet200K315
Claude 3 Opus200K1575
Gemini 1.5 Pro (128K/1M)1M3.50/710.50/21
Gemini 1.5 Flash (128K/1M)1M0.075/0.150.3/0.6
Mistral Small8K26
Mistral Medium8K2.78.1
Mistral Large8K824
Reka Core128K1025
Reka Flash128K0.82
Reka Edge128K0.41
Cohere Command R+128K315
Cohere Command R128K0.501.50
Groq Llama 3 70B8K0.590.79
Groq Llama 3 8B8K0.050.10
Groq Mixtral 8x7B32K0.270.27
Groq Gemma 7B8K0.100.10
nvidia/llama-3.1-nemotron-70b-instruct131K0.350.40
x-ai/grok-232K5.010.0
nousresearch/hermes-3-llama-3.1-405b:free8K0.00.0
liquid/lfm-40b32K0.00.0

Kagi Assistant provides access to all the models in bold. Usage is included in your Kagi subscription.

Credits

Kagi LLM Benchmarking Project is inspired by Wolfram LLM Benchmarking Project and Aider LLM coding leaderboard.