GET

/v1/models/opencode/claude-opus-4-8

provider opencodestatus activefirst seen May 28, 2026last seen 12m ago
rawIdclaude-opus-4-8
displayNameClaude Opus 4.8
idopencode-claude-opus-4-8
activitychat
schemaEndpointIdinference/anthropic/v1/messages
releasedAt1779926400 — May 28, 2026
firstSeenAt1779926400 — May 28, 2026
lastSeenAt1795352676 — 12m ago
pricing
contextWindow1000000
maxOutput128000
modalities{"input":["text","image","pdf"],"output":["text"]}
capabilities{"tools":true,"reasoning":true,"vision":true}
knowledgeCutoff"2026-01"
openWeightsfalse
providerMetadata{"attachment":true,"canonical_model_id":"anthropic/claude-opus-4-8","cost":{"cache_read":0.5,"cache_write":6.25,"input":5,"output":25},"description":"Top Claude Opus tier for the hardest reasoning, coding, and long-horizon agents","family":"claude-opus","id":"claude-opus-4-8","knowledge":"2026-01","last_updated":"2026-05-28","limit":{"context":1000000,"output":128000},"modalities":{"input":["text","image","pdf"],"output":["text"]},"name":"Claude Opus 4.8","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","xhigh","max"]}],"release_date":"2026-05-28","temperature":false,"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-opus-4-8","usage":{"input_tokens":1200,"output_tokens":400}}'