Skip to content

Tested prompt · SQL

Customers in one country: every AI model's reply, tested

We sent this everyday SQL prompt to all 27 models in llmwise, the same way the app sends a message, and checked every reply the same way. Here's each one as it came, with whether it passed, what it cost and how long it took.

Based on 27 of our test runs on , through OpenRouter with the app's own prompt and settings.

Short answer

All 27 models passed this SQL prompt's check (query result). The cheapest reply that passed was GPT-6 Luna's, at $0.000039; the fastest, GLM 5.3's in 0.3 s. The dearest reply, Claude Fable 5.1's, cost 183 times as much ($0.0071).

The prompt, as sent, and its check

Checked by query result, the same way for every model.

Customers in one country (everyday)

[5 lines every SQL prompt of ours shares, word for word: the whole prompt, on the methods page]
List the names of the customers in Canada, in alphabetical order.
Write one SQLite query and reply with it in a ```sql code block.

The query must return the same rows as this one, on the fixture database below, in the same order:

SELECT name FROM customers WHERE country = 'Canada' ORDER BY name

Exactly what this prompt's replies are checked against, with every other prompt of our test runs.

Every model's result

All 27 models on this prompt, in catalog order.

Every model's reply to “Customers in one country”
ModelResultCostTimeReply
Claude Fable 5.2AnthropicPassed: Returned the right 3 rows.$0.00572.3 s41 tokens
Claude Fable 5.1AnthropicPassed: Returned the right 3 rows.$0.00711.3 s41 tokens
Claude Opus 5.5AnthropicPassed: Returned the right 3 rows.$0.00291.5 s41 tokens
Claude Sonnet 5.5AnthropicPassed: Returned the right 3 rows.$0.00151.6 s41 tokens
Claude Sonnet 5AnthropicPassed: Returned the right 3 rows.$0.00261.6 s44 tokens
Claude Haiku 5.5AnthropicPassed: Returned the right 3 rows.$0.0000760.7 s41 tokens
Claude Haiku 4.5AnthropicPassed: Returned the right 3 rows.$0.000840.8 s25 tokens
GPT-6.2 AstraOpenAIPassed: Returned the right 3 rows.$0.00642.1 s29 tokens
GPT-6 AstraOpenAIPassed: Returned the right 3 rows.$0.00392.9 s25 tokens
GPT-6.2 SolOpenAIPassed: Returned the right 3 rows.$0.00162.0 s28 tokens
GPT-6.1 SolOpenAIPassed: Returned the right 3 rows.$0.00162.5 s25 tokens
GPT-6 SolOpenAIPassed: Returned the right 3 rows.$0.000771.2 s24 tokens
GPT-6.1 TerraOpenAIPassed: Returned the right 3 rows.$0.000391.9 s24 tokens
GPT-6 LunaOpenAIPassed: Returned the right 3 rows.$0.0000391.2 s25 tokens
Gemini 4 CarbonGooglePassed: Returned the right 3 rows.$0.001510.4 s27 tokens
Gemini 4 ArgonGooglePassed: Returned the right 3 rows.$0.000885.0 s27 tokens
Gemini 4 HydrogenGooglePassed: Returned the right 3 rows.$0.00102.3 s27 tokens
Gemini 3.1 Pro (preview)GooglePassed: Returned the right 3 rows.$0.00232.9 s26 tokens
Gemini 3.8 FlashGooglePassed: Returned the right 3 rows.$0.000321.4 s26 tokens
DeepSeek V4.1 FlashDeepSeekPassed: Returned the right 3 rows.$0.000120.3 s23 tokens
DeepSeek V4 ProDeepSeekPassed: Returned the right 3 rows.$0.00152.5 s16 tokens
Grok 4.7xAIPassed: Returned the right 3 rows.$0.00242.1 s20 tokens
Kimi K3.1 ProMoonshotPassed: Returned the right 3 rows.$0.00231.8 s33 tokens
Kimi K3MoonshotPassed: Returned the right 3 rows.$0.00142.4 s32 tokens
GLM 5.3Z.aiPassed: Returned the right 3 rows.$0.000470.3 s20 tokens
GLM 5.3 FlashZ.aiPassed: Returned the right 3 rows.$0.000110.6 s23 tokens
Mistral Large 4MistralPassed: Returned the right 3 rows.$0.000502.7 s24 tokens

Cost: what OpenRouter charged us for the reply. Time: from sending to the whole reply. Reply: its length in tokens, thinking not counted. In llmwise you pay per message, not per token: each of these replies counted as one message on Pro.

Every reply

Every reply passed: here they are from the cheapest up.

  1. GPT-6 Luna

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name
    FROM customers
    WHERE country = 'Canada'
    ORDER BY name ASC;
    ```

    655 tokens in, 25 out · 1.2 s · $0.0000 · 1 message on Pro · answered by openai/gpt-6-luna via OpenAI ·

  2. Claude Haiku 5.5

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name
    FROM customers
    WHERE country = 'Canada'
    ORDER BY name;
    ```

    1,063 tokens in, 41 out · 0.7 s · $0.0001 · 1 message on Pro · answered by anthropic/claude-haiku-5.5 via Anthropic ·

  3. GLM 5.3 Flash

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name
    FROM customers
    WHERE country = 'Canada'
    ORDER BY name ASC;
    ```

    678 tokens in, 23 out · 0.6 s · $0.0001 · 1 message on Pro · answered by z-ai/glm-5.3-flash via Friendli ·

  4. DeepSeek V4.1 Flash

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name
    FROM customers
    WHERE country = 'Canada'
    ORDER BY name ASC;
    ```

    698 tokens in, 23 out · 0.3 s · $0.0001 · 1 message on Pro · answered by deepseek/deepseek-v4.1-flash via Together ·

  5. Gemini 3.8 Flash

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name 
    FROM customers 
    WHERE country = 'Canada' 
    ORDER BY name ASC;
    ```

    718 tokens in, 26 out · 1.4 s · $0.0003 · 1 message on Pro · answered by google/gemini-3.8-flash via Google AI Studio ·

  6. GPT-6.1 Terra

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name
    FROM customers
    WHERE country = 'Canada'
    ORDER BY name;
    ```

    657 tokens in, 24 out · 1.9 s · $0.0004 · 1 message on Pro · answered by openai/gpt-6.1-terra via OpenAI ·

  7. GLM 5.3

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name FROM customers WHERE country = 'Canada' ORDER BY name;
    ```

    677 tokens in, 20 out · 0.3 s · $0.0005 · 1 message on Pro · answered by z-ai/glm-5.3 via Friendli ·

  8. Mistral Large 4

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name
    FROM customers
    WHERE country = 'Canada'
    ORDER BY name ASC;
    ```

    680 tokens in, 68 out (44 of them reasoning) · 2.7 s · $0.0005 · 1 message on Pro · answered by mistralai/mistral-large-4-0 via Mistral ·

  9. GPT-6 Sol

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name
    FROM customers
    WHERE country = 'Canada'
    ORDER BY name;
    ```

    655 tokens in, 24 out · 1.2 s · $0.0008 · 1 message on Pro · answered by openai/gpt-6-sol via OpenAI ·

  10. Claude Haiku 4.5

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name FROM customers WHERE country = 'Canada' ORDER BY name ASC;
    ```

    717 tokens in, 25 out · 0.8 s · $0.0008 · 1 message on Pro · answered by anthropic/claude-haiku-4.5 via Anthropic ·

  11. Gemini 4 Argon

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name
    FROM customers
    WHERE country = 'Canada'
    ORDER BY name ASC;
    ```

    744 tokens in, 27 out · 5.0 s · $0.0009 · 1 message on Pro · answered by google/gemini-4-argon via Google AI Studio ·

  12. Gemini 4 Hydrogen

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name
    FROM customers
    WHERE country = 'Canada'
    ORDER BY name ASC;
    ```

    744 tokens in, 122 out (95 of them reasoning) · 2.3 s · $0.0010 · 1 message on Pro · answered by google/gemini-4-hydrogen via Google AI Studio ·

  13. Kimi K3

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name
    FROM customers
    WHERE country = 'Canada'
    ORDER BY name;
    ```

    745 tokens in, 35 out (3 of them reasoning) · 2.4 s · $0.0014 · 1 message on Pro · answered by moonshotai/kimi-k3 via Together ·

  14. Gemini 4 Carbon

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name
    FROM customers
    WHERE country = 'Canada'
    ORDER BY name ASC;
    ```

    744 tokens in, 142 out (115 of them reasoning) · 10.4 s · $0.0015 · 1 message on Pro · answered by google/gemini-4-carbon via Google AI Studio ·

  15. Claude Sonnet 5.5

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name
    FROM customers
    WHERE country = 'Canada'
    ORDER BY name;
    ```

    1,064 tokens in, 41 out · 1.6 s · $0.0015 · 1 message on Pro · answered by anthropic/claude-sonnet-5.5 via Anthropic ·

  16. DeepSeek V4 Pro

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name
    FROM customers
    WHERE country = 'Canada'
    ORDER BY name;
    ```

    669 tokens in, 150 out (134 of them reasoning) · 2.5 s · $0.0015 · 1 message on Pro · answered by deepseek/deepseek-v4-pro-0813 via CoreWeave ·

  17. GPT-6.1 Sol

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name
    FROM customers
    WHERE country = 'Canada'
    ORDER BY name ASC;
    ```

    657 tokens in, 25 out · 2.5 s · $0.0016 · 1 message on Pro · answered by openai/gpt-6.1-sol via OpenAI ·

  18. GPT-6.2 Sol

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name
    FROM customers
    WHERE country = 'Canada'
    ORDER BY name COLLATE NOCASE;
    ```

    657 tokens in, 28 out · 2.0 s · $0.0016 · 1 message on Pro · answered by openai/gpt-6.2-sol via OpenAI ·

  19. Kimi K3.1 Pro

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name
    FROM customers
    WHERE country = 'Canada'
    ORDER BY name;
    ```

    748 tokens in, 77 out (44 of them reasoning) · 1.8 s · $0.0023 · 1 message on Pro · answered by moonshotai/kimi-k3.1-pro via Together ·

  20. Gemini 3.1 Pro

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name 
    FROM customers 
    WHERE country = 'Canada' 
    ORDER BY name ASC;
    ```

    718 tokens in, 266 out (240 of them reasoning) · 2.9 s · $0.0023 · 1 message on Pro · answered by google/gemini-3.1-pro-preview via Google AI Studio ·

  21. Grok 4.7

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name
    FROM customers
    WHERE country = 'Canada'
    ORDER BY name;
    ```

    1,900 tokens in, 53 out (33 of them reasoning) · 2.1 s · $0.0024 · 1 message on Pro · answered by x-ai/grok-4.7 via xAI ·

  22. Claude Sonnet 5

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name
    FROM customers
    WHERE country = 'Canada'
    ORDER BY name ASC;
    ```

    1,060 tokens in, 44 out · 1.6 s · $0.0026 · 1 message on Pro · answered by anthropic/claude-sonnet-5 via Anthropic ·

  23. Claude Opus 5.5

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name
    FROM customers
    WHERE country = 'Canada'
    ORDER BY name;
    ```

    1,062 tokens in, 41 out · 1.5 s · $0.0029 · 1 message on Pro · answered by anthropic/claude-opus-5.5 via Azure ·

  24. GPT-6 Astra

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name
    FROM customers
    WHERE country = 'Canada'
    ORDER BY name ASC;
    ```

    655 tokens in, 25 out · 2.9 s · $0.0039 · 1 message on Pro · answered by openai/gpt-6-astra via OpenAI ·

  25. Claude Fable 5.2

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name
    FROM customers
    WHERE country = 'Canada'
    ORDER BY name;
    ```

    1,062 tokens in, 41 out · 2.3 s · $0.0057 · 1 message on Pro · answered by anthropic/claude-fable-5.2 via Google ·

  26. GPT-6.2 Astra

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name
    FROM customers
    WHERE country = 'Canada'
    ORDER BY name COLLATE NOCASE ASC;
    ```

    657 tokens in, 29 out · 2.1 s · $0.0064 · 1 message on Pro · answered by openai/gpt-6.2-astra via OpenAI ·

  27. Claude Fable 5.1

    Passed: Returned the right 3 rows.

    ```sql
    SELECT name
    FROM customers
    WHERE country = 'Canada'
    ORDER BY name;
    ```

    1,062 tokens in, 41 out · 1.3 s · $0.0071 · 1 message on Pro · answered by anthropic/claude-fable-5.1 via Google ·

More SQL prompts

The other SQL prompts, each with every model's reply, and the results across all five.

Questions

Which AI does best on “Customers in one country”?

All 27 models passed this SQL prompt's check (query result). The cheapest reply that passed was GPT-6 Luna's, at $0.000039; the fastest, GLM 5.3's in 0.3 s. The dearest reply, Claude Fable 5.1's, cost 183 times as much ($0.0071).

What does a reply to “Customers in one country” cost?

Through the models' APIs, what OpenRouter charged us ran from $0.000039 (GPT-6 Luna) to $0.0071 (Claude Fable 5.1) for this prompt. In llmwise you don't pay by the token: a reply like these counts as one message on Pro, whichever model answers.

Claude, GPT, Gemini, DeepSeek, Grok, Kimi, GLM, and Mistral, in one chat.

See what a message costs before you send it. Every plan is month to month: cancel in two clicks. Sign in with an email link, no password.