Use OpenAI: GPT-4o-mini (openai/gpt-4o-mini).
OpenAI: GPT-5 Mini is overkill here.
~5.6× cheaper per run.
OpenAI: GPT-5 Mini is overkill here.
~5.6× cheaper per run.
This task is bounded and predictable, so a smaller model handles it without leaving quality on the table. Reaching for a larger tier here adds cost faster than it improves the output.
| Model | Provider | Tier | Input cost | Output cost | Est. / 1k calls |
|---|---|---|---|---|---|
| OpenAI: GPT-4o-mini openai/gpt-4o-mini | Openai | Routine | $0.000150 | $0.000600 | $0.23 |
| OpenAI: GPT-5 Mini openai/gpt-5-mini | Openai | Moderate | $0.000250 | $0.002000 | $1.25 |
This recommendation is based on the task description alone. If you are attaching a large codebase, mention it in the input above.
Model pricing: OpenRouter model catalog, retrieved June 4, 2026. Classification: rightmodel ruleset v2. This recommendation cost zero tokens — a worked example of the Precomputed AI design pattern. View data provenance manifest.
Draft an OpenAPI example for a known endpoint shape, fields, and sample response.
Use OpenAI: GPT-4o-mini.
Clean up a JSON payload for readability, validation, or quick inspection during development.
Use OpenAI: GPT-4o-mini.
Convert a JavaScript module to TypeScript while preserving exports, behaviour, and type safety.
Use OpenAI: GPT-5 Mini.
Have a different task? Try the model picker.