Le Conseiller en Sélection de Modèles d'IA : Associez chaque tâche au bon modèle et au bon budget

Why this prompt matters
Teams routinely either over-pay by defaulting to the most expensive frontier model for a task a small, fast model could handle just as well, or under-deliver by picking a cheap model that can't hit the accuracy bar and has to be scrapped after a costly rollout. A wrong model choice at 40,000 requests/month can mean paying 8-10x more than necessary, or discovering a compliance violation only after PII has already left the required region.
What we use it for
A support-team lead needs to route 40,000 monthly customer tickets into 12 categories with a suggested first-response draft, must stay under 3 seconds per ticket, keep costs under $2,000/month, and cannot send EU customer PII outside the EU — but has no AI infrastructure background to know which model tier fits those constraints without expensive trial and error.
Prompt
Act as a senior AI infrastructure consultant who has deployed dozens of production LLM-based systems across cost-sensitive, latency-sensitive, and compliance-sensitive environments. CONTEXT: - Task to automate: [TASK DESCRIPTION] - Expected monthly volume: [EXPECTED VOLUME] - Maximum acceptable latency per request: [LATENCY REQUIREMENT] - Monthly budget ceiling: [BUDGET CONSTRAINT] - Minimum acceptable quality/accuracy bar: [QUALITY BAR] - Data sensitivity level (e.g., contains PII, regulated data, public data only): [DATA SENSITIVITY LEVEL] - Region/residency requirements, if any: [REGION REQUIREMENT] TASK: Recommend which AI model tier to use for this specific workload. Do not default to recommending the most powerful available model — match the model to the actual requirements. CONSTRAINTS: - Compare at least 3 distinct model tiers (e.g., flagship/frontier, mid-tier, small/fast) — never recommend just one option without showing what was ruled out and why - If data sensitivity or region requirements would rule out standard API access to a given provider, say so explicitly and note the self-hosted or region-locked alternative - If the expected volume makes self-hosting an open-weight model more cost-effective than API calls, flag that as an option even if it adds operational complexity - Do not recommend a model tier that cannot plausibly hit the stated latency requirement - Be explicit about the confidence level of any cost estimate (pricing changes; note the estimate is a snapshot for planning purposes) OUTPUT FORMAT: 1. Requirements Summary (one paragraph restating the constraints as understood) 2. Comparison Table: rows = 3-4 candidate model tiers, columns = estimated cost per 1,000 requests, expected latency, expected quality fit, data-handling fit 3. Primary Recommendation (which tier, and the specific reasoning tying it back to the stated constraints) 4. Fallback / Escalation Plan (what to do if the primary choice underperforms in production — e.g., route to a stronger model on low-confidence outputs) 5. Estimated Monthly Cost at the stated volume, with the assumptions spelled out
Result
1. Requirements Summary
You need to classify 40,000 support tickets per month into 12 categories and draft a suggested first response, with a hard latency ceiling of 3 seconds per ticket, a monthly budget cap of $2,000, a 95%+ category accuracy bar (with a human reviewing before any response is sent), and a strict requirement that customer PII stay within EU data residency at all times.
2. Comparison Table
| Tier | Est. Cost / 1,000 requests | Latency | Quality Fit | Data-Handling Fit |
|---|---|---|---|---|
| Frontier flagship (e.g., Claude Opus-class, GPT-5-class) | $18-25 | 2-4s | Excellent, overkill for 12-way classification | Only compliant via EU-region enterprise endpoints — verify contractually |
| Mid-tier (e.g., Claude Sonnet-class, GPT-5-mini-class) | $4-7 | 1-2s | Meets 95%+ bar comfortably for structured classification + short drafting | Same EU-region requirement applies; most providers offer this |
| Small/fast (e.g., Haiku-class, GPT-5-nano-class) | $0.50-1.20 | under 1s | Classification accuracy likely 85-92% without fine-tuning — risky against a 95% bar | Same EU-region requirement applies |
| Self-hosted open-weight (e.g., a fine-tuned open model on EU cloud) | $1.50-3 (infra amortized) | 1-2s | Can reach 95%+ if fine-tuned on your historical tickets | Full control — easiest to guarantee EU-only data handling |
3. Primary Recommendation
Use a mid-tier hosted model behind an EU-region endpoint as the default path for all 40,000 tickets. At this volume, mid-tier pricing keeps you well under the $2,000 ceiling (roughly $160-280/month for classification plus drafting), comfortably clears the 3-second latency requirement, and reliably hits the 95% accuracy bar on a 12-category taxonomy — this is a well-understood task type for mid-tier models and does not need frontier-level reasoning. Confirm with your provider that the specific endpoint you're billing against is contractually bound to EU data residency; not all "regional" options are equivalent.
4. Fallback / Escalation Plan
Add a confidence threshold: any classification where the model's confidence score falls below 90%, or where the ticket text matches known edge-case patterns (multi-issue tickets, sarcasm, non-native English phrasing), automatically routes to the frontier-tier model for a second pass before reaching the human reviewer. Expect this escalation path to trigger on roughly 8-12% of tickets, adding a manageable ~$15-25/month to the total.
5. Estimated Monthly Cost
At 40,000 tickets/month on the mid-tier recommendation: approximately $180-320/month for the primary pass, plus $15-25/month for the escalation path, totaling roughly $200-350/month — well within the $2,000 ceiling, leaving headroom for volume growth or a future move to fine-tuning if ticket volume triples. This estimate is a planning-stage snapshot; confirm current per-token pricing with your provider before committing to a rollout budget.
La plupart des équipes choisissent un modèle d'IA de la même manière : par défaut, elles optent pour le plus performant ou le moins cher, sans réellement faire correspondre le choix à la tâche. Ces deux approches par défaut échouent de manière prévisible. Opter pour le modèle phare sur une tâche simple de classification de tickets à 12 catégories revient à payer 8 à 10 fois plus que nécessaire pour une précision dont la tâche n'a jamais eu besoin. À l'inverse, choisir le modèle le moins disponible pour une tâche avec un seuil de précision exigeant, c'est livrer quelque chose qui semble correct en démonstration mais qui s'effondre en production, souvent découvert seulement après le déploiement public.
Ce prompt impose une comparaison structurée plutôt qu'un choix intuitif. Il s'articule autour de cinq paramètres qui déterminent réellement l'adéquation du modèle — la tâche elle-même, le volume attendu, le plafond de latence, le budget, le niveau de qualité requis et la sensibilité des données — car ces cinq variables sont ce qui distingue un bon choix de modèle d'une erreur coûteuse. Ce sont les mêmes cinq variables qu'un consultant expérimenté en infrastructure d'IA poserait avant de recommander quoi que ce soit.
Pourquoi les contraintes sont importantes
Le prompt exige explicitement de comparer au moins trois niveaux de modèles côte à côte, car une recommandation unique sans les alternatives écartées n'est pas vérifiable — on ne peut pas savoir s'il s'agit du bon choix ou simplement de la première option plausible. Il impose également de signaler explicitement lorsque des exigences de résidence des données ou de conformité éliminent certains fournisseurs, ce qui est la contrainte la plus susceptible d'être négligée lors d'un déploiement précipité et la plus coûteuse à corriger après coup.
La section sur le plan d'escalade existe car la précision en production le premier jour n'est jamais toute l'histoire — un modèle moins cher avec un chemin d'escalade basé sur la confiance vers un modèle plus puissant pour les cas incertains surpasse souvent un modèle unique et coûteux exécuté sur chaque requête, et la plupart des équipes ne modélisent jamais ce compromis avant de s'engager sur un niveau.
Comment l'utiliser
Remplissez les six champs entre crochets avec vos contraintes réelles — soyez précis sur le volume et la latence, car des données vagues produisent des comparaisons vagues. Exécutez-le avant de vous engager sur un niveau de modèle pour toute nouvelle fonctionnalité d'IA, et relancez-le chaque fois que le volume change de plus de 3 à 5 fois, car le niveau optimal en termes de coût à 5 000 requêtes/mois n'est souvent pas le même qu'à 50 000.