GET

/v1/models/opencode/claude-sonnet-4-6

provider opencodestatus activefirst seen Feb 17, 2026last seen 11m ago
rawIdclaude-sonnet-4-6
displayNameClaude Sonnet 4.6
idopencode-claude-sonnet-4-6
activitychat
schemaEndpointIdinference/anthropic/v1/messages
releasedAt1771286400 — Feb 17, 2026
firstSeenAt1771286400 — Feb 17, 2026
lastSeenAt1795357190 — 11m ago
pricing
contextWindow1000000
maxOutput64000
modalities{"input":["text","image","pdf"],"output":["text"]}
capabilities{"tools":true,"reasoning":true,"vision":true}
knowledgeCutoff"2025-08-31"
openWeightsfalse
providerMetadata{"attachment":true,"canonical_model_id":"anthropic/claude-sonnet-4-6","cost":{"cache_read":0.3,"cache_write":3.75,"input":3,"output":15},"description":"Balanced Claude model for coding, analysis, agent workflows, and cost control","family":"claude-sonnet","id":"claude-sonnet-4-6","interleaved":true,"knowledge":"2025-08-31","last_updated":"2026-03-13","limit":{"context":1000000,"output":64000},"modalities":{"input":["text","image","pdf"],"output":["text"]},"name":"Claude Sonnet 4.6","open_weights":false,"provider":{"api":"https://opencode.ai/inference/anthropic/v1","npm":"@ai-sdk/anthropic"},"reasoning":true,"reasoning_options":[{"type":"effort","values":["low","medium","high","max"]},{"min":1024,"type":"budget_tokens"}],"release_date":"2026-02-17","temperature":true,"tool_call":true}
weightsUrl · requestMapnot published by this provider’s list endpoint

Endpoints & schemas

GET /v1/schemas/opencode →

endpoints matching this model — the provider has more, see /v1/schemas/opencode

Use it

shell
$ curl https://modelschemas.com/v1/schemas/opencode/chat/inference/anthropic/v1/messages # request schema
$ curl -X POST https://modelschemas.com/v1/validate -d '{"provider":"opencode","endpointId":"inference/anthropic/v1/messages","payload":{…}}'
$ curl -X POST https://modelschemas.com/v1/estimate -d '{"provider":"opencode","model":"claude-sonnet-4-6","usage":{"input_tokens":1200,"output_tokens":400}}'