# Benilli AI Model Guide — Static model catalogue

- `v1.json` — draft canonical catalogue. Deploy as `/data/ai-models/v1.json` on the existing static site.
- `v1.schema.json` — permissive, extensible JSON Schema for the catalogue. Deploy optionally at `/data/ai-models/v1.schema.json`.
- `schema_version` tracks the **structure** of the feed; update its data without renaming v1. Make incompatible format changes via v2.
- `published_on` is `null` until the static website actually publishes the file. Set it as part of the release process.
- Rates reflect published Standard-speed, short-context prices checked on 2026-11-18. Always recheck sources before publishing.

## Model release dates

- Every populated Codex model has `release_date` in ISO `YYYY-MM-DD` format.
- The date means **initial public API release**, not a private preview, later update, or date of availability in a specific ChatGPT plan.
- The `release_date_source` field references the official `openai_api_changelog` source ID in the root `sources` list.
- When adding a model without a verifiable release date, use `release_date: null` and `release_date_source: null` rather than guessing.
- The schema keeps these fields optional so older v1 clients and placeholder provider catalogues remain compatible.
- Models may launch in ChatGPT, Work, Codex and the API on different dates; additional context-specific release dates can be added separately in a future schema without changing this field's meaning.

## How to add models

1. Add the model to `catalogues.codex.models`, `catalogues.claude.models`, or the appropriate new catalogue's `models` array.
2. Give it a unique stable `id`, `provider_id`, `release_date`, `release_date_source`, verification date, source records and any known pricing. Use `null` for a missing rate; never invent a value or use zero for missing data.
3. Add relevant recommendations separately to the catalogue's `recommendations` array.
4. Keep existing model IDs and v1 property semantics stable for consumers.
5. Validate model IDs, source references and recommendation targets against populated records.

## How to add a new provider/ecosystem

1. Add a record to `providers` if needed.
2. Add another property under `catalogues`, e.g. `gemini` with `provider_id`, `models: []`, and `recommendations: []`.
3. Add new model records and the relevant pricing scheme (for example `api`, `subscription`, or provider-specific usage) to those records. The `pricing` object supports scheme-specific rate cards.
4. Render sections dynamically from `Object.entries(catalogues)` rather than hard-coding only Codex and Claude.

## Notes

- `codex` currently contains ten OpenAI models; `claude` is intentionally an empty placeholder.
- ChatGPT subscription allowance is not represented as an API dollar or purchased-credit price.
- API cost calculations may exclude cache-write charges, very long-context premiums, tool fees, speed tiers and regional uplifts; the website must disclose these exclusions.
- This is an independent Benilli editorial dataset, not a provider-owned live price feed.

## Model Finder task mappings (18 November 2026 update)

- The original feed contained only three recommendation task IDs, so a UI with more task options could fall back to the same default recommendation.
- `task_catalogue` now defines 22 stable task IDs covering the site's five subject areas. Build dropdowns from these IDs, not unrelated display labels.
- `catalogues.codex.recommendations` contains one row for each task ID, with three selectable preference mappings (`economy`, `balanced`, `maximum_capability`).
- `product_contexts` identifies contexts in which that recommendation can be considered; model `usage_contexts` must also contain the selected context. No unverified ChatGPT access has been added.
- **The website must use the task ID, preference, and context as inputs to its lookup.** Replacing the JSON alone will not fix a hard-coded or always-fallback website implementation.
- If no matching recommendation is available for the selected context, show a specific 'No verified recommendation' message and keep current selectors intact. Do not silently pick `routine_coding` or index 0.
- The schema changes are backwards-compatible optional extensions to schema v1. This does not add Claude models.
