[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a function that returns the first element of a list.

[Assistant] {"model_tier": 1, "confidence": 0.91}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] A recipe calls for 2 cups of sugar for a batch of 12 cookies. How much sugar is needed for 30 cookies?

[Assistant] {"model_tier": 2, "confidence": 0.94}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Critique the structuralism movement in psychology, contrasting it with functionalism.

[Assistant] {"model_tier": 3, "confidence": 0.92}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Calculate the area of a circle with radius 4.

[Assistant] {"model_tier": 2, "confidence": 0.98}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Explain the theory of relativity (both general and special) and its impact on modern GPS technology.

[Assistant] {"model_tier": 4, "confidence": 0.93}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Suppose you invest $1000 at a 5% simple annual interest rate. How much total money will you have after 3 years?

[Assistant] {"model_tier": 2, "confidence": 0.96}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a Python module that acts as a custom JSON parser and stringifier without using the standard json library.

[Assistant] {"model_tier": 4, "confidence": 0.91}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Create a function that adds 1 to the input number.

[Assistant] {"model_tier": 1, "confidence": 0.95}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a persuasive essay arguing for or against the implementation of Universal Basic Income.

[Assistant] {"model_tier": 3, "confidence": 0.9}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] If a shirt costs $15 and is on sale for $5 off, what is the final price?

[Assistant] {"model_tier": 1, "confidence": 0.97}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write an abstract syntax tree (AST) parser in Python for a simple custom functional programming language.

[Assistant] {"model_tier": 4, "confidence": 0.94}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Consider an ellipse with semi-major axis a=5 and semi-minor axis b=3. What is its eccentricity?

[Assistant] {"model_tier": 3, "confidence": 0.98}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a function to check if a number is even.

[Assistant] {"model_tier": 1, "confidence": 0.99}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Convert 2 hours into minutes.

[Assistant] {"model_tier": 1, "confidence": 0.95}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] A box has 12 pencils. How many pencils are in 3 boxes?

[Assistant] {"model_tier": 1, "confidence": 0.88}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Find the remainder when 3^2023 is divided by 7.

[Assistant] {"model_tier": 3, "confidence": 0.93}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] If the sum of two numbers is 20 and their product is 96, determine the sum of their squares.

[Assistant] {"model_tier": 3, "confidence": 0.92}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a tweet announcing a new software product.

[Assistant] {"model_tier": 2, "confidence": 0.99}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a function to transpose a given 2D matrix (list of lists).

[Assistant] {"model_tier": 3, "confidence": 0.93}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Create a function to serialize and deserialize a binary tree.

[Assistant] {"model_tier": 4, "confidence": 0.97}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Find the greatest common divisor (GCD) of 48 and 60.

[Assistant] {"model_tier": 2, "confidence": 0.94}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Derive the Black-Scholes equation for European call options from first principles.

[Assistant] {"model_tier": 4, "confidence": 0.96}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Subtract 89 from 150.

[Assistant] {"model_tier": 1, "confidence": 0.89}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Solve for x: 2(x - 3) = 4x + 8

[Assistant] {"model_tier": 2, "confidence": 0.9}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a Python function to find the second largest number in a list of integers.

[Assistant] {"model_tier": 2, "confidence": 0.93}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Create a function to concatenate two lists.

[Assistant] {"model_tier": 1, "confidence": 0.96}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] A rectangular garden has a perimeter of 40 meters. If the length is 12 meters, what is the width?

[Assistant] {"model_tier": 2, "confidence": 0.97}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Sarah had $20 and spent $5. How much does she have left?

[Assistant] {"model_tier": 1, "confidence": 0.9}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a complete SQL query that performs a multi-table join, groups the results by month, calculates a rolling average, and filters out null values.

[Assistant] {"model_tier": 3, "confidence": 0.88}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Explain Quantum Entanglement without using mathematical formulas, but retaining scientific accuracy.

[Assistant] {"model_tier": 4, "confidence": 0.91}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Evaluate the sum: Sigma (k=1 to 100) of [ 1 / (k(k+1)) ]

[Assistant] {"model_tier": 3, "confidence": 0.94}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Create a function that checks if a variable is a string.

[Assistant] {"model_tier": 1, "confidence": 0.9}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write an optimal algorithm to find the longest substring without repeating characters.

[Assistant] {"model_tier": 3, "confidence": 0.98}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a bash script that recursively finds all .jpg files in a directory, resizes them to 800x600 using ImageMagick, and renames them sequentially.

[Assistant] {"model_tier": 3, "confidence": 0.9}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] A bus holds 40 people. If 25 people get on, how many empty seats are left?

[Assistant] {"model_tier": 1, "confidence": 0.89}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Create a script that implements a ThreadPool context manager from scratch using the threading module.

[Assistant] {"model_tier": 4, "confidence": 0.93}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] The average of 5 numbers is 20. If 4 of the numbers are 15, 25, 20, and 10, what is the fifth number?

[Assistant] {"model_tier": 2, "confidence": 0.95}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Create a function to return the last element of a list.

[Assistant] {"model_tier": 1, "confidence": 0.95}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a Python function to square a number.

[Assistant] {"model_tier": 1, "confidence": 0.92}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Solve this logic puzzle: Albert and Bernard just became friends with Cheryl, and they want to know when her birthday is. Cheryl gives them a list of 10 possible dates...

[Assistant] {"model_tier": 4, "confidence": 0.92}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] A train leaves City A at 8:00 AM traveling 60 mph. Another train leaves City A on the same track at 9:00 AM traveling 80 mph. What time will the second train catch the first?

[Assistant] {"model_tier": 3, "confidence": 0.88}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] A TV is discounted by 20% from its original price of $400. Later, an additional 10% discount is applied to the new price. What is the final price?

[Assistant] {"model_tier": 3, "confidence": 0.88}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] A circle is inscribed in an equilateral triangle with side length 6. Find the area of the circle.

[Assistant] {"model_tier": 3, "confidence": 0.93}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Suggest 3 ways to reduce plastic waste at home.

[Assistant] {"model_tier": 2, "confidence": 0.94}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Evaluate the definite integral from 0 to pi/4 of tan(x) sec^2(x) dx.

[Assistant] {"model_tier": 4, "confidence": 0.94}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a Python function to add two numbers.

[Assistant] {"model_tier": 1, "confidence": 0.95}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Calculate the length of the hypotenuse of a right-angled triangle with legs of length 5 and 12.

[Assistant] {"model_tier": 2, "confidence": 0.89}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Create a function that checks if a given string has balanced parentheses.

[Assistant] {"model_tier": 3, "confidence": 0.89}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Calculate the sum of 10, 20, and 30.

[Assistant] {"model_tier": 1, "confidence": 0.92}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a character description for a brave knight.

[Assistant] {"model_tier": 2, "confidence": 0.93}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Implement a Redis clone in Go that supports GET, SET, and list operations with basic persistence.

[Assistant] {"model_tier": 4, "confidence": 0.92}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] A fair coin is tossed 10 times. What is the probability of getting exactly 4 heads?

[Assistant] {"model_tier": 3, "confidence": 0.91}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a kernel module in C that intercepts system calls and logs when a process opens a specific file.

[Assistant] {"model_tier": 4, "confidence": 0.92}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] If you buy 4 candies for $1 each, how much change do you get from a $10 bill?

[Assistant] {"model_tier": 1, "confidence": 0.92}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a function that converts a string to lowercase.

[Assistant] {"model_tier": 1, "confidence": 0.98}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Create a function that finds the largest element in a list without using max().

[Assistant] {"model_tier": 2, "confidence": 0.97}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Create a function that validates a basic email address string using regular expressions.

[Assistant] {"model_tier": 2, "confidence": 0.88}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a function that subtracts the second argument from the first.

[Assistant] {"model_tier": 1, "confidence": 0.93}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] If sin(theta) = 3/5 and theta is in the second quadrant, find cos(2*theta).

[Assistant] {"model_tier": 3, "confidence": 0.97}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Create a system function that manages an Event Emitter or Pub/Sub pattern with wildcard subscribers.

[Assistant] {"model_tier": 3, "confidence": 0.89}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] What is 3 cubed?

[Assistant] {"model_tier": 1, "confidence": 0.9}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] The ratio of boys to girls in a class is 3:4. If there are 28 students in total, how many are girls?

[Assistant] {"model_tier": 2, "confidence": 0.95}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Identify the verb in the sentence: 'She runs every morning.'

[Assistant] {"model_tier": 1, "confidence": 0.98}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Find the area of a triangle with a base of 8cm and a height of 15cm.

[Assistant] {"model_tier": 2, "confidence": 0.98}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] If x - 5 = 10, what is x?

[Assistant] {"model_tier": 1, "confidence": 0.94}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] A book has 150 pages. I read 50 pages. How many pages are left?

[Assistant] {"model_tier": 1, "confidence": 0.89}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] A farmer has 120 animals. 30% are cows, 50% are sheep, and the rest are chickens. How many chickens does he have?

[Assistant] {"model_tier": 2, "confidence": 0.91}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a function that takes a list and returns a new list with the elements reversed.

[Assistant] {"model_tier": 1, "confidence": 0.96}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a Python script to scrape text from a given URL using BeautifulSoup and handle rate limiting.

[Assistant] {"model_tier": 3, "confidence": 0.91}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] What is 100 divided by 4?

[Assistant] {"model_tier": 1, "confidence": 0.91}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Explain how a rainbow is formed.

[Assistant] {"model_tier": 2, "confidence": 0.93}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Create a function that returns a list of numbers from 1 to N.

[Assistant] {"model_tier": 1, "confidence": 0.96}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Find all real solutions to the equation: sqrt(x + 3) + sqrt(x - 2) = 5

[Assistant] {"model_tier": 3, "confidence": 0.92}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Find the limit as x approaches 0 of (sin 3x) / (5x).

[Assistant] {"model_tier": 3, "confidence": 0.89}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] There are 7 days in a week. How many days are in 4 weeks?

[Assistant] {"model_tier": 1, "confidence": 0.98}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Analyze the impact of monetary policy decisions by the Federal Reserve on emerging market economies.

[Assistant] {"model_tier": 3, "confidence": 0.95}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a function to check if a given string is a palindrome.

[Assistant] {"model_tier": 2, "confidence": 0.97}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Extract the name from this text: 'My name is John Doe.'

[Assistant] {"model_tier": 1, "confidence": 0.95}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] How many zeros are at the end of 100! (100 factorial)?

[Assistant] {"model_tier": 3, "confidence": 0.95}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a function to sort an array of integers using the Bubble Sort algorithm.

[Assistant] {"model_tier": 2, "confidence": 0.89}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Find the slope of a line passing through the points (2, 5) and (-1, 1).

[Assistant] {"model_tier": 2, "confidence": 0.97}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Create a function that converts an integer to a Roman numeral.

[Assistant] {"model_tier": 3, "confidence": 0.97}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Create a function that removes all vowels from a string.

[Assistant] {"model_tier": 2, "confidence": 0.98}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] If Jane is 10 years old and her brother is 3 years older, how old is her brother?

[Assistant] {"model_tier": 1, "confidence": 0.97}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a function that finds the missing number in an array containing numbers from 1 to N.

[Assistant] {"model_tier": 2, "confidence": 0.94}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] What is the next number in the sequence: 2, 4, 6, 8, ...?

[Assistant] {"model_tier": 1, "confidence": 0.96}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a polite email declining a job offer.

[Assistant] {"model_tier": 2, "confidence": 0.92}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] A bag contains 5 red balls and 7 blue balls. Two balls are drawn successively without replacement. What is the probability that both balls are red?

[Assistant] {"model_tier": 3, "confidence": 0.89}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Find the exact value of tan(75 degrees) using trigonometric sum identities.

[Assistant] {"model_tier": 3, "confidence": 0.96}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Debug this asynchronous Node.js code that is causing a memory leak due to unhandled promise rejections.

[Assistant] {"model_tier": 4, "confidence": 0.88}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Create a decorator in Python that caches the return values of a function (memoization).

[Assistant] {"model_tier": 3, "confidence": 0.9}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Solve for x: e^(2x) - 5e^x + 6 = 0

[Assistant] {"model_tier": 3, "confidence": 0.93}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] If a train travels 60 miles in 1 hour, how far does it travel in 2 hours?

[Assistant] {"model_tier": 1, "confidence": 0.96}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Analyze the time and space complexity of the QuickSort algorithm in the best, average, and worst cases, and explain the mathematical recurrence relations.

[Assistant] {"model_tier": 4, "confidence": 0.9}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Is the word 'happy' positive or negative?

[Assistant] {"model_tier": 1, "confidence": 0.91}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a Python function that implements the FizzBuzz logic for numbers 1 to N.

[Assistant] {"model_tier": 2, "confidence": 0.96}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Implement a self-balancing AVL tree in C++ with insertion and deletion operations.

[Assistant] {"model_tier": 4, "confidence": 0.89}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Solve the system of equations: x + y = 10 and x - y = 4

[Assistant] {"model_tier": 3, "confidence": 0.97}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] What were the main causes of World War 1?

[Assistant] {"model_tier": 3, "confidence": 0.97}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Create a function to implement a basic stack data structure with push, pop, and peek methods.

[Assistant] {"model_tier": 2, "confidence": 0.89}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Explain why the sky is blue to a 5-year-old.

[Assistant] {"model_tier": 2, "confidence": 0.91}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Calculate: (4 + 6) * 2

[Assistant] {"model_tier": 1, "confidence": 0.91}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] What is 15% of 100?

[Assistant] {"model_tier": 1, "confidence": 0.95}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Create a completely custom logging framework in Python dealing with log levels, file rotation, and asynchronous writing.

[Assistant] {"model_tier": 4, "confidence": 0.91}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Translate 'Dog' to Spanish.

[Assistant] {"model_tier": 1, "confidence": 0.93}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a function that checks if a year is a leap year.

[Assistant] {"model_tier": 2, "confidence": 0.89}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Which is larger: an elephant or a mouse?

[Assistant] {"model_tier": 1, "confidence": 0.97}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Explain the differences between Proof of Work and Proof of Stake consensus mechanisms in deep technical detail.

[Assistant] {"model_tier": 3, "confidence": 0.97}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Generate a list of 5 healthy dinner ideas.

[Assistant] {"model_tier": 2, "confidence": 0.88}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Design a highly available and scalable database architecture for a social media platform like Twitter.

[Assistant] {"model_tier": 4, "confidence": 0.97}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Correct the spelling: 'Aple'

[Assistant] {"model_tier": 1, "confidence": 0.92}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a function that checks if a variable is an integer.

[Assistant] {"model_tier": 1, "confidence": 0.93}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] What is 50% of 80?

[Assistant] {"model_tier": 1, "confidence": 0.9}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Create an implementation of a Red-Black Tree with insertion and balancing logic.

[Assistant] {"model_tier": 4, "confidence": 0.99}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a Python generator function that yields powers of 2 up to 2^N.

[Assistant] {"model_tier": 2, "confidence": 0.97}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Determine the maximum area of a rectangle that can be inscribed in a semicircle of radius R.

[Assistant] {"model_tier": 4, "confidence": 0.9}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Divide 56 by 8.

[Assistant] {"model_tier": 1, "confidence": 0.9}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Create a function that multiplies two numbers together.

[Assistant] {"model_tier": 1, "confidence": 0.99}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] If 1 dozen eggs cost $3, how much do 2 dozen cost?

[Assistant] {"model_tier": 1, "confidence": 0.96}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] If log2(x) = 4, what is x?

[Assistant] {"model_tier": 2, "confidence": 0.89}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a function that returns the remainder of a division.

[Assistant] {"model_tier": 1, "confidence": 0.94}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Is a cat a mammal?

[Assistant] {"model_tier": 1, "confidence": 0.94}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a function that divides two numbers and returns the quotient.

[Assistant] {"model_tier": 1, "confidence": 0.89}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Develop a theoretical economic model illustrating the impact of a sudden 20% tariff on imported steel.

[Assistant] {"model_tier": 3, "confidence": 0.92}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] In a tournament with 8 teams, each team plays every other team exactly once. How many total games are played?

[Assistant] {"model_tier": 3, "confidence": 0.9}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Categorize these items into fruits and vegetables: Apple, Carrot, Banana, Broccoli.

[Assistant] {"model_tier": 2, "confidence": 0.91}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] True or False: The Earth is flat.

[Assistant] {"model_tier": 1, "confidence": 0.97}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Develop a dynamic programming solution for the Traveling Salesperson Problem (TSP) and explain your state transition.

[Assistant] {"model_tier": 4, "confidence": 0.88}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Choose the correct word: They (is/are) going home.

[Assistant] {"model_tier": 1, "confidence": 0.96}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Write a Python script to scrape a webpage taking care of pagination and rate-limits, using BeautifulSoup and requests.

[Assistant] {"model_tier": 3, "confidence": 0.95}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Calculate the area of a rectangle with length 4 and width 5.

[Assistant] {"model_tier": 1, "confidence": 0.99}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Implement the A* pathfinding algorithm in Python for a 2D grid with obstacles.

[Assistant] {"model_tier": 4, "confidence": 0.95}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Two runners are running on a circular track of 400m. Runner A runs at 5 m/s and Runner B runs at 3 m/s in opposite directions. How long does it take for them to meet for the first time?

[Assistant] {"model_tier": 3, "confidence": 0.88}


[System]
You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.

Output ONLY valid JSON in this exact format:
{"model_tier": <1|2|3|4>, "confidence": <0.0-1.0>}

Tier definitions:
- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions
- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding
- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons
- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design

[User] Who wrote the play Hamlet?

[Assistant] {"model_tier": 1, "confidence": 0.96}