Repository navigation
Description
Priority
P1 · impact H · effort M · risk M (retain deprecated symbols; correct wire IDs explicitly).
Findings
- src/providers/openai.ts:139 only permits GPT-4o Mini, GPT-4 Turbo, GPT-4 and GPT-3.5 variants. src/providers/base.ts:353 rejects arbitrary newer IDs. This is a runtime compatibility blocker, not just an old README.
- src/providers/anthropic.ts:152 and src/model-catalog.ts:173 advertise claude-opus-4-6-20250618 / claude-sonnet-4-6-20250618 as active. Current Anthropic model ID guidance and Sonnet 4.6 specification use claude-sonnet-4-6; do not manufacture dated variants.
- src/providers/cerebras.ts:141 uses openai/gpt-oss-120b. Cerebras' current shared-inference catalog documents gpt-oss-120b and qwen-3.8-27b. Distinguish current shared availability from dedicated hosting; verify account-specific retired IDs instead of claiming universal removal.
- src/providers/cloudflare.ts:324 prices Llama 3.1 8B at 0.0000001 USD/1K in and out. Cloudflare pricing lists 0.282/0.827 USD/1M, equivalent to 0.000282/0.000827 USD/1K: estimates are 2,820x/8,270x too low for these respective directions.
- src/providers/cerebras.ts:283 explicitly mirrors Groq placeholder pricing; src/model-catalog.ts:775 uses zero NVIDIA placeholder prices.
- src/providers/anthropic.ts:574 prices ordinary input/output only, despite separately reported cache-read/write tokens. Anthropic's Sonnet specification documents distinct cache charges.
- src/index.ts:520 claims gpt-4o retired 2026-04-03; current OpenAI models still list GPT-4o. Reconcile with official API deprecations; do not confuse ChatGPT availability with API lifecycle.
Verified documentation on 2026-10-11; no billable live calls. NVIDIA's attempted reference URL was unavailable: verify model IDs, access tier and prices against the NVIDIA catalog/account before marking them active/known.
Proposed implementation
Maintain one provider-aware catalog as the source for IDs/capabilities/pricing, not duplicate capability maps in every adapter. Add sourceUrl, verifiedAt, endpoint family, access tier and pricing provenance. Retain legacy symbols with deprecation; never label unknown charges as free or a zero catalog estimate. Support explicit custom model metadata and explicit provider selection so unlisted real models are usable.
Refresh a small verified baseline for OpenAI/Anthropic/Cerebras first. Add endpoint-aware OpenAI Responses support separately after validating request/stream/usage shapes; src/providers/openai.ts:185 only calls /chat/completions today. Official migration guide.
Acceptance
- Exact wire IDs checked against primary docs and opt-in live models-list/smoke.
- Pricing tests validate USD/1K conversion, cached tokens and unknown cost.
- Catalog and adapters agree on more than key existence; budgets cannot treat unknown as free.
- Remove unsupported lifecycle dates; document status/date evidence.
- Safe custom model escape hatch requires provider + capability/pricing overrides.
- Scheduled opt-in canary reports drift; offline fixture tests remain default.
- Correct existing release note units without rewriting published API history.
Related: #102 corrected 16 prices but legacy rates remain; #12/#44/#46 demonstrate recurring catalog drift. Reconcile #90's already implemented Cloudflare lane rather than duplicating it.
Activity
fix: correct vendor model IDs and prices against primary docs
fix: correct vendor model IDs and prices against primary docs (v1.22.…
stackbilt-admin commentedon Nov 7, 2026
Status: the Claude 5.x tool-loop round trip is merged in #142 (closing #124) and ships in 1.25.0 (release PR #143). The Claude 5.x catalog entries are still
explicitOnly. Since #124 is closed, the remaining steps before they become routable are tracked here (details and Anthropic doc links in this comment on #124):toolChoice: 'none'keepstoolsin the request (Anthropic'stool_choice: {"type": "none"}), so earlier thinking stays valid on 5.1+ models.explicitOnlyon the Claude 5.x entries.docs: address release PR #143 review
chore: release v1.25.0 (#143)
chore: release v1.26.0 (#145)