import type { GptModelProfile } from './gpt-model-profiles.js'; /** * Claude rendering + vision-cost profiles. * * Anthropic geometry (dense 312-col strips, 728 px height) and pixel billing * differ from GPT's 152-col / 1932 px profile: using the GPT defaults overstates * image cost and flips the slab gate to not_profitable, so an enabled Claude * model would stay text-only and the dashboard would leave As text / Saved * blank. resolveGptProfile therefore routes every Claude id here BEFORE the GPT * rule table, so no Claude model can land on a GPT or Gemini profile. */ /** Claude 4.7+. Billed by Anthropic's 28-px patch grid after the high-res * tier downscale; `visionTier` below is the only knob that varies by release. */ export declare const CLAUDE_PROFILE: GptModelProfile; /** Pre-4.7 Claude: same render geometry, standard image-resolution tier. */ export declare const CLAUDE_LEGACY_PROFILE: GptModelProfile; export declare const CLAUDE_LEGIBLE_PROFILE: GptModelProfile; export declare const CLAUDE_LEGACY_LEGIBLE_PROFILE: GptModelProfile; /** Fable is the only Claude family measured accurate at dense geometry, so it * alone keeps the 5.28x dense rendering for history. */ export declare function isFableClaude(model: string): boolean; /** Every id that must be priced and rendered as Claude. */ export declare function isClaudeModel(model: string | null | undefined): boolean; /** * True for Claude releases older than 4.7. Anthropic's vision docs tier the * pre-billing downscale by VERSION, not by model family or an enumerated list: * * | High-resolution | Claude 4.7 and later models | 2576 px | 4784 | * | Standard | All other models | 1568 px | 1568 | * * Reads the first version number in the id, tolerating both id orderings * (`claude-opus-4-8` -> 4.8, `claude-3-5-sonnet` -> 3.5) and trailing date * stamps. An unrecognised Claude id is treated as new: an unreleased model is * far likelier to be 4.7+, and high-res is the safe guess for the gate because * it over-estimates cost, whereas standard under-estimates it by assuming a * downscale the server will not perform. */ export declare function isPre47Claude(m: string): boolean; /** Pick the Claude profile for an id. Billing geometry is identical across * opus/sonnet/haiku/fable; HISTORY geometry is not, because verbatim recall * at dense geometry is a per-model property (see CLAUDE_LEGIBLE_PROFILE). * Fable keeps dense history; every other Claude id gets legible history by * default. Unmeasured families (sonnet/haiku) get legible too: a misread is * silent, an extra 0.68x-of-text render cost is not. */ export declare function resolveClaudeProfile(m: string): GptModelProfile; //# sourceMappingURL=claude-model-profiles.d.ts.map