Model Routing Config and Router Script Based on Cost, Latency, and Data Sensitivity
Use Codex to produce a rules-based model router with YAML config, fallback chains, and tests, so each workload goes to a model that fits budget, latency, context needs, and data-handling rules.
You getRouting config file contents summary, decision table and code files changed
The prompt
mkdir -p .agents/skills/model-routing-config-and-router-script-based-on-cost-latency-and && curl -sL "https://prompts-gpt.com/prompts/model-routing-config-and-router-script-based-on-cost-latency-and-data-sensitivity/raw" -o .agents/skills/model-routing-config-and-router-script-based-on-cost-latency-and/SKILL.mdDashed parts are example values, so the prompt runs as copied. Change them in Fill in the blanks.
Fill capability and price fields from each vendor's current documentation and data-processing terms before relying on the output. Have security or legal review the sensitivity approvals. Re-run the cost projection when volumes change.
Keep exploring
More like this
Multi-Source Research Pipeline Script with Citation Table and Evidence Grading
Have Codex build a script workflow where Perplexity-style search tools surface candidate sources, you supply the real URLs or files, and the code produces a citation table, evidence grades, and a decision memo without claiming it browsed.
Structured JSON Output Conformance Tester with Retry and Repair Across Providers
Prompt Codex to build a test script that checks whether each model returns schema-valid JSON for your inputs, using each provider's native structured output feature, with measured retry and repair rates.
Cross-Model Prompt Evaluation Harness with Rubric Scoring and Cost Report
Direct Codex to build a script that runs one prompt suite across multiple models, scores outputs against a rubric, and produces a CSV and Markdown report that helps you choose a model.
Provider-Agnostic LLM Client Adapter for OpenAI, Claude, and Gemini
Have Codex build a thin, config-driven client that normalizes requests, responses, errors, and token usage across several model providers, so switching models becomes a config change instead of a rewrite.
- Codex Exec CI Fixer: Diagnose, Minimal Fix, Rerun, Stop After 3 Attempts
- Codex Cloud Environment Setup: Setup Script, Env Vars and a Smoke Test
- Codex Characterization-Test-First Refactor with Verification Handoff
- Codex CI Failure Triage: Reproduce, Classify, Fix or Hand Off
- Codex Pre-Merge Diff Review with Severity-Ranked Findings
- Codex Read-Only Repo Investigation for a Bug Report