GET
/v1/models/opencode/claude-opus-5
Accept:
| rawId | claude-opus-5 |
| displayName | Claude Opus 5 |
| id | opencode-claude-opus-5 |
| activity | chat |
| schemaEndpointId | inference/anthropic/v1/messages |
| releasedAt | 1784851200 — Jul 24, 2026 |
| firstSeenAt | 1784851200 — Jul 24, 2026 |
| lastSeenAt | 1794559749 — 3m 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 | "2026-05" |
| openWeights | false |
| providerMetadata | {"attachment":true,"canonical_model_id":"anthropic/claude-opus-5","cost":{"cache_read":0.5,"cache_write":6.25,"input":5,"output":25},"description":"Strongest Claude Opus model for coding, agents, and professional work","family":"claude-opus","id":"claude-opus-5","knowledge":"2026-05","last_updated":"2026-07-24","limit":{"context":1000000,"output":128000},"modalities":{"input":["text","image","pdf"],"output":["text"]},"name":"Claude Opus 5","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-07-24","temperature":false,"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
Sources
| field | recorded source |
|---|---|
| contextWindow | https://models.dev/api.json listing opencode.models.claude-opus-5.limit.context Source tracecc6d13d3f27b31b7ddfa28df1fcc4e98756f31f7429cd9a4e90a1158e0bbedff |
| maxOutput | https://models.dev/api.json listing opencode.models.claude-opus-5.limit.output Source tracecc6d13d3f27b31b7ddfa28df1fcc4e98756f31f7429cd9a4e90a1158e0bbedff |
| modalities | https://models.dev/api.json listing opencode.models.claude-opus-5.modalities Source tracecc6d13d3f27b31b7ddfa28df1fcc4e98756f31f7429cd9a4e90a1158e0bbedff |
| pricing | Source linked above. docs-derived Source trace7c679ba1d370b4f455e84534094cfa25c1a6ce2b3c48479fdfbda654aaddda89 |
| reasoning | https://models.dev/api.json listing opencode.models.claude-opus-5.reasoning_options Source tracecc6d13d3f27b31b7ddfa28df1fcc4e98756f31f7429cd9a4e90a1158e0bbedff |
| knowledgeCutoff | https://models.dev/api.json listing opencode.models.claude-opus-5.knowledge Source tracecc6d13d3f27b31b7ddfa28df1fcc4e98756f31f7429cd9a4e90a1158e0bbedff |
| openWeights | https://models.dev/api.json listing opencode.models.claude-opus-5.open_weights Source tracecc6d13d3f27b31b7ddfa28df1fcc4e98756f31f7429cd9a4e90a1158e0bbedff |
| schemaEndpointId | https://models.dev/api.json listing opencode.models.claude-opus-5.provider Source tracecc6d13d3f27b31b7ddfa28df1fcc4e98756f31f7429cd9a4e90a1158e0bbedff |
| capabilities.tools | https://models.dev/api.json listing opencode.models.claude-opus-5.tool_call Source tracecc6d13d3f27b31b7ddfa28df1fcc4e98756f31f7429cd9a4e90a1158e0bbedff |
| capabilities.reasoning | https://models.dev/api.json listing opencode.models.claude-opus-5.reasoning Source tracecc6d13d3f27b31b7ddfa28df1fcc4e98756f31f7429cd9a4e90a1158e0bbedff |
| capabilities.vision | https://models.dev/api.json listing opencode.models.claude-opus-5.modalities.input Source tracecc6d13d3f27b31b7ddfa28df1fcc4e98756f31f7429cd9a4e90a1158e0bbedff |
| requestMap | https://opencode.ai/docs/zen Value unknown (null); not published in the checked source · checked 2026-10-09. |
| requestMapFields.replayReasoningContent | https://opencode.ai/docs/zen Value unknown (null); not published in the checked source · checked 2026-10-09. |
| activity | Source unknown — no source URL recorded. |
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-5","usage":{"input_tokens":1200,"output_tokens":400}}'