[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 recommendation engine that combines collaborative filtering, content-based filtering, and knowledge graphs. Provide the full system architecture.

[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] What is the time complexity of binary search?

[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 research proposal for using reinforcement learning to optimize energy consumption in data centers.

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


[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 an algorithm to solve the traveling salesman problem for up to 20 cities using dynamic programming with bitmask, and analyze its complexity.

[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] Goodbye, have a nice day!

[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] Give me a recipe for scrambled eggs.

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


[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 color is the sky?

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


[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 difference between HTTP and HTTPS?

[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] Given a dataset of customer purchases, describe how you would build a recommendation system.

[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] Hello, how are you?

[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] If a train travels 60 mph for 2.5 hours, how far does it go?

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


[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 what photosynthesis is in simple terms.

[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] Explain the proof of the Fundamental Theorem of Calculus and its connection to Riemann integration.

[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] Write an async Python function that fetches data from 3 APIs concurrently.

[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] What year did World War II end?

[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 difference between a list and a tuple in Python.

[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] What does 'RSVP' stand for?

[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] Explain backpropagation in neural networks step by step with a simple example.

[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] Design a scalable real-time chat system that handles 10 million concurrent users. Include architecture diagram description, technology choices, and failure handling.

[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] Who wrote Romeo and Juliet?

[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] Write a Python function that reverses a string.

[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 technical blog post introduction about microservices vs monolithic architecture.

[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] How does garbage collection work in Java vs Python? Compare approaches.

[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] Explain how a hash map works internally, including collision resolution strategies.

[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] Write a comprehensive literature review on transformer architectures in NLP, covering attention mechanisms, positional encoding variants, and recent efficiency improvements.

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


[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] Perform a security threat model for a healthcare application handling PHI data under HIPAA, including attack vectors, mitigations, and compliance checklist.

[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] Analyze the trade-offs between SQL and NoSQL databases for an e-commerce platform.

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


[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] Given a legacy monolithic e-commerce application, create a detailed migration plan to microservices including service boundaries, data migration strategy, and rollback plan.

[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] What is the square root of 4?

[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 farmer has 100 meters of fencing. What dimensions maximize the enclosed rectangular area? Show your work.

[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]
Debug this Python code that's supposed to find duplicates in a list but returns wrong results:
def find_dupes(lst):
    seen = []
    for i in lst:
        if i in lst:
            seen.append(i)
    return seen

[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] Design the database schema for a social media application with posts, comments, and likes.

[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] Explain the CAP theorem and its implications for distributed systems.

[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 2000-word essay analyzing the ethical implications of artificial general intelligence, covering alignment, economic displacement, and governance.

[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] Summarize the plot of The Great Gatsby in 3 sentences.

[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] Explain the mathematical foundations of public-key cryptography, including RSA and elliptic curve cryptography, with proofs of correctness.

[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] How do you spell 'necessary'?

[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] How many days are in a week?

[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 haiku about autumn.

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


[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] List the top 5 most populated countries.

[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 function to find the longest common subsequence of two strings.

[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] Analyze the complexity classes P, NP, and NP-Complete. Explain the P vs NP problem and discuss the implications of its resolution.

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


[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 this JSON to a Python dictionary: {"name": "Alice", "age": 30}

[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] Rewrite this sentence in passive voice: 'The cat chased the mouse.'

[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] Convert 100 Fahrenheit to Celsius

[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] Design a distributed consensus protocol that improves on Raft for geo-replicated databases. Describe the algorithm, prove its safety properties, and analyze liveness.

[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] Implement a binary search tree with insert, delete, and search operations in Python.

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


[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] Prove that the square root of 2 is irrational.

[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] Write a comprehensive technical specification for a programming language with dependent types, including syntax, type-checking rules, and example programs.

[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] What are the SOLID principles in software engineering? Explain each with an example.

[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 are three healthy breakfast options?

[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] Create a full curriculum for teaching machine learning to software engineers, including 12 weekly modules with learning objectives, readings, and projects.

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


[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 capital of France?

[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] What is the boiling point of water?

[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] Name the largest planet in our solar system.

[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] Translate 'The quick brown fox jumps over the lazy dog' to French.

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


[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 2 + 2?

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


[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 water wet?

[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] Compare and contrast REST APIs vs GraphQL. When would you choose each?

[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] What are the pros and cons of remote work?

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