Skip to content

add claude sonnet 4.6 on openrouter#969

Merged
rekram1-node merged 1 commit intoanomalyco:devfrom
SomeoneWithOptions:dev
Feb 19, 2026
Merged

add claude sonnet 4.6 on openrouter#969
rekram1-node merged 1 commit intoanomalyco:devfrom
SomeoneWithOptions:dev

Conversation

@SomeoneWithOptions
Copy link
Contributor

@SomeoneWithOptions SomeoneWithOptions commented Feb 18, 2026

Summary

Add anthropic/claude-sonnet-4.6 to the OpenRouter provider with metadata and pricing sourced from OpenRouter’s published model data.

Changes

  • Added new model file: providers/openrouter/models/anthropic/claude-sonnet-4.6.toml
  • Included OpenRouter-backed model metadata:
    • name, family, release_date, last_updated
    • capability flags (attachment, reasoning, temperature, tool_call, structured_output)
    • open_weights = false
  • Added standard pricing:
    • input: 3.00
    • output: 15.00
    • cache read: 0.30
    • cache write: 3.75
  • Added long-context pricing ([cost.context_over_200k]) from OpenRouter line items:
    • input: 6.00
    • output: 22.50
    • cache read: 0.60
    • cache write: 7.50
  • Set limits/modalities from OpenRouter:
    • context = 1_000_000
    • output = 128_000
    • input modalities: text, image
    • output modalities: text

Notes

  • knowledge was intentionally not set because OpenRouter does not expose a knowledge-cutoff field for this model in the public model payload/page data.

Validation

  • Ran bun validate successfully.

@rekram1-node rekram1-node merged commit a6ffef7 into anomalyco:dev Feb 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments