Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude/skills/reconcile-models/hosts/bedrock.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ An OpenAI card's file name drops dots unevenly (`model-card-openai-gpt-56-sol.md
- A mark in the card's tables is an icon: `icon-yes.png` means yes and `icon-no.png` means no, whatever its alt text says. A region listed with only `icon-no.png` marks isn't served.
- Before declaring a profile, compare its prefix with RULES.md's Offered regions (new-copy-offered-region, region-not-offered). New models often start with only US and global profiles.
- Endpoints that make a bare ID callable on demand (bare-id-unregistered): an In-Region endpoint URL on `bedrock-runtime`, or `bedrock-mantle`'s Responses API. A `bedrock-mantle` Anthropic Messages URL (`.../anthropic/v1/messages`) doesn't count: this SDK's mantle transport speaks only the Responses API.
- Routing: a family's `ProfileRegions` map, in `cross_region.go`, sends bare-name calls from each source region to one profile. Its entries come from the card's per-geo source-region tables. A new copy points its source regions there (new-copy-offered-region), and a source region the card lists that the map lacks is added when another family already sends it to the same profile (route-add). Removing or re-pointing an entry moves or blocks existing callers, so it goes to a person (no-rule).
- Routing: a family's `ProfileRegions` map, in `cross_region.go`, sends bare-name calls from each source region to one profile. Its entries come from the card's per-geo source-region tables. A new copy points its source regions there (new-copy-offered-region), and a source region the card lists that the map lacks is added when another family already sends it to the same profile (route-add). A source region the card stops listing keeps its entry (copy-gone-no-eol). Re-pointing an entry moves existing callers, so it goes to a person (no-rule).
- A copy the card no longer lists shows up when you compare the card's tables with the family's `Profiles` (copy-gone-no-eol).

## Prices
Expand Down
1 change: 1 addition & 0 deletions .claude/skills/reconcile-models/hosts/google.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Where the Gemini API publishes each fact. Google is also its models' vendor, so

- Append `.md.txt` to any page to get Markdown.
- Rates: the Standard table is the base card. A cell that splits at "prompts <= 200k tokens" gives a bracket. Output prices include thinking tokens. `providers/google` has no service-tier selector, so the Batch, Flex and Priority tables have no field (no-catalog-field).
- Thinking levels: the Gemini API rejects a level a model doesn't take with an error; Gemini 4 Hydrogen "rejects `minimal` with an error" (`https://ai.google.dev/gemini-api/docs/whats-new-gemini-4-hydrogen`, read 2026-11-16). So a documented level `geminiThinkingLevels` lacks is a small-gap-fill case. genai v1.51.0 names no XHIGH constant, so that entry is `genai.ThinkingLevel("XHIGH")`, beside a new `ReasoningEffort` constant. The effort lists in `models.go` are shared by several models (small-gap-fill).
- Limits: the model page's Token limits, "Input token limit" and "Output token limit" (limit-follow).
- Capabilities: the model page's Supported data types, Capabilities and Consumption options rows (capability-follow). The PDF page documents PDF input for Gemini models, so it covers a model whose page leaves PDF out of its inputs (gemini-2.5-flash's does).
- Lifecycle: the deprecations page plus the changelog. `ReplacedBy` comes from the replacement column or a changelog recommendation (replacement-pick). `Deprecated` is the day of the changelog entry that announces it (lifecycle-exact-date). Every shutdown date on the deprecations page is a floor (lifecycle-exact-date).
Expand Down
3 changes: 2 additions & 1 deletion .claude/skills/reconcile-models/hosts/vertex.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ Where Google Cloud's Vertex (the Gemini Enterprise Agent Platform) publishes fac
- Deprecation: a Claude model page can give Launch stage Deprecated with no date. The partner model deprecations page gives it, worded "deprecated as of" a date, which is exact (lifecycle-exact-date); Claude Sonnet 4.5's is September 29, 2026 (read 2026-11-12).
- Limits: the model page's Token limits, "Maximum input tokens" and "Maximum output tokens" (limit-follow). The SDK calls Vertex's v1 API (`genaiAPIVersion` in `providers/vertex/model.go`), so a limit a page gives only with long decode, which is v1beta1 only, isn't one its callers reach.
- Locations: `servedLocations` in `providers/vertex/locations.go` gets each location a model page's Model availability section lists (on a Gemini page, its Provisioned Throughput and Standard PayGo rows), or that the locations table lists for a model whose page has neither, and keeps a location while the page or the table still lists it (location-follow). The table lists some locations the page leaves out: asia-east1 for Haiku 4.5, where calls fail, and northamerica-northeast1 for Gemini 3.5 Flash, where a call answered on 2026-11-03 (location-follow). A location the page lists only under "ML processing" has no availability and no price on the page. The table marks each supported cell with `aria-label="Supported"` in its HTML; the `.md.txt` export drops the marks, so read the HTML. Note the source and the day you read it in the comment above it.
- Rates: each region tab holds that region's rates; read global and each served region. A region the model is served in with no tab: sibling-ratio, with the ratio from Anthropic's pricing page, since Anthropic sets Claude's regional premium. The code writes the two cards with `regionalPricing(global, nonGlobal, regions...)`, or with one `WithOverride` per region for a model that needs it.
- Rates: each region tab holds that region's rates; read global and each served region. A region the model is served in with no tab: sibling-ratio, with the ratio from Anthropic's pricing page, since Anthropic sets Claude's regional premium. The code writes the two cards with `regionalPricing(global, nonGlobal, regions...)`, or with one `WithOverride` per region for a model that needs it. The Sonnet 4.6 and 4.5 rows print whole cents, so their regional 5-minute cache write shows 4.13 for the exact 1.10x rate 4.125 (rounding-only, read 2026-11-16). Write the exact rate for a new entry too; `TestGlobalToNonGlobalRatio` fails a rounded one.
- Gemini thinking levels: Vertex returns an HTTP 400 validation error for a level a model doesn't take; Gemini 4 Hydrogen's page says so for `MINIMAL` (read 2026-11-16). Vertex Gemini shares `geminiThinkingLevels` with `providers/google`, so a documented level it lacks is a small-gap-fill case, written as `google.md` says. Vertex's Gemini effort lists are shared by several models too (small-gap-fill).
- Thinking prefix check: Anthropic's preserved-thinking page covers Google Cloud too, so `ThinkingPrefixCheck` follows the same model list as in `anthropic.md` (capability-follow). No Vertex test pins it, so check it by hand.
- Capabilities, thinking and tool search included: Anthropic's pages cap what a Vertex entry claims (capped-at-vendor). Google's docs never mention tool search, so a new Claude entry starts with it off (`claudeCaps`), and a person turns it on once a call on Vertex returns a tool search result.
- Gemini rates: the Standard table is the base card, with a Global and a Non-global row per model; the Priority and Flex/Batch tables have no field (no-catalog-field). Gemini 3's columns are input up to 200K, input above 200K (a bracket), then the same two for cached input. The page's HTML holds the sections on one very long line, so cut one out before you read it. This cuts Gemini 3 (`googlemodels` to `gemini-25`); for Gemini 4, use `gemini-4` to `googlemodels`:
Expand Down
Loading
Loading