GET
/v1/models/opencode/claude-opus-4-6
Accept:
| rawId | claude-opus-4-6 |
| displayName | Claude Opus 4.6 |
| id | opencode-claude-opus-4-6 |
| activity | chat |
| schemaEndpointId | inference/anthropic/v1/messages |
| releasedAt | 1770249600 — Feb 5, 2026 |
| firstSeenAt | 1770249600 — Feb 5, 2026 |
| lastSeenAt | 1795352676 — 12m ago |
| pricing | $5 / 1M input · $25 / 1M output → open calculator input_tokens (usage) · output_tokens (usage) · cache_read_tokens (usage) · cache_write_tokens (usage) |
| contextWindow | 1000000 |
| maxOutput | 128000 |
| modalities | {"input":["text","image","pdf"],"output":["text"]} |
| capabilities | {"tools":true,"reasoning":true,"vision":true} |
| knowledgeCutoff | "2025-05-31" |
| openWeights | false |
| providerMetadata | {"attachment":true,"canonical_model_id":"anthropic/claude-opus-4-6","cost":{"cache_read":0.5,"cache_write":6.25,"input":5,"output":25},"description":"High-end Claude for difficult coding, planning, and slower expert reasoning","family":"claude-opus","id":"claude-opus-4-6","knowledge":"2025-05-31","last_updated":"2026-03-13","limit":{"context":1000000,"output":128000},"modalities":{"input":["text","image","pdf"],"output":["text"]},"name":"Claude Opus 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-05","temperature":true,"tool_call":true} |
| weightsUrl · requestMap | not published by this provider’s list endpoint |
Endpoints & schemas
GET /v1/schemas/opencode →| endpoint | activity |
|---|---|
| inference/anthropic/v1/messages | chat |
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-opus-4-6","usage":{"input_tokens":1200,"output_tokens":400}}'