Skip to content

fix(catalog): verify vendor model IDs and prices and remove fabricated defaults #112

Open

Description

@stackbilt-admin

Priority

P1 · impact H · effort M · risk M (retain deprecated symbols; correct wire IDs explicitly).

Findings

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

  1. added
    bug
    on Oct 11, 2026
  2. stackbilt-admin commented on Nov 7, 2026

    @stackbilt-admin
    MemberAuthor

    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' keeps tools in the request (Anthropic's tool_choice: {"type": "none"}), so earlier thinking stays valid on 5.1+ models.
    • Decide how to handle a fallback onto a Claude 5.x model partway through a tool loop: the earlier tool-use turn is rebuilt without thinking. In adaptive mode that isn't a 400, but the API may silently drop thinking for that request.
    • Lift explicitOnly on the Claude 5.x entries.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions