GET
/v1/models/opencode/hy4-flash-free
Accept:
| rawId | hy4-flash-free |
| displayName | Hy4 flash Free |
| id | opencode-hy4-flash-free |
| activity | chat |
| schemaEndpointId | inference/openai/v1/chat/completions |
| releasedAt | 1794787200 — Nov 16, 2026 |
| firstSeenAt | 1794787200 — Nov 16, 2026 |
| lastSeenAt | 1795380549 — 11m ago |
| pricing | $0 / 1M input · $0 / 1M output → open calculator input_tokens (usage) · output_tokens (usage) · cache_read_tokens (usage) |
| contextWindow | 1048576 |
| maxOutput | 65536 |
| modalities | {"input":["text","image"],"output":["text"]} |
| capabilities | {"tools":true,"reasoning":true,"vision":true} |
| openWeights | false |
| providerMetadata | {"id":"hy4-flash-free","name":"Hy4 flash Free","description":"Tencent's lower-cost Hy4 tier for everyday agent and productivity tasks, with image understanding and a 1M-token context window.","family":"hy-flash-free","attachment":true,"reasoning":true,"reasoning_options":[{"type":"effort","values":["none","high"]}],"tool_call":true,"temperature":true,"release_date":"2026-11-16","last_updated":"2026-11-16","modalities":{"input":["text","image"],"output":["text"]},"open_weights":false,"limit":{"context":1048576,"input":983040,"output":65536},"provider":{"api":"https://opencode.ai/inference/openai/v1"},"cost":{"input":0,"output":0,"cache_read":0},"canonical_model_id":"tencent/hy4-flash"} |
| knowledgeCutoff · weightsUrl · requestMap | not published by this provider’s list endpoint |
Endpoints & schemas
GET /v1/schemas/opencode →| endpoint | activity |
|---|---|
| inference/openai/v1/chat/completions | 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.hy4-flash-free.limit.context Source trace36f38151e8fce738e5c6cd31970f8f5ea7892f6154cf01cff5148099d2652bf8 |
| maxOutput | https://models.dev/api.json listing opencode.models.hy4-flash-free.limit.output Source trace36f38151e8fce738e5c6cd31970f8f5ea7892f6154cf01cff5148099d2652bf8 |
| modalities | https://models.dev/api.json listing opencode.models.hy4-flash-free.modalities Source trace36f38151e8fce738e5c6cd31970f8f5ea7892f6154cf01cff5148099d2652bf8 |
| pricing | Source linked above. docs-derived Source traceaaa8a98e4cfef2641dd51bbae95931cdb368e7b79a8df4d78b183d6243965e00 |
| reasoning | https://models.dev/api.json listing opencode.models.hy4-flash-free.reasoning_options Source trace36f38151e8fce738e5c6cd31970f8f5ea7892f6154cf01cff5148099d2652bf8 |
| openWeights | https://models.dev/api.json listing opencode.models.hy4-flash-free.open_weights Source trace36f38151e8fce738e5c6cd31970f8f5ea7892f6154cf01cff5148099d2652bf8 |
| schemaEndpointId | https://models.dev/api.json listing opencode.models.hy4-flash-free.provider Source trace36f38151e8fce738e5c6cd31970f8f5ea7892f6154cf01cff5148099d2652bf8 |
| capabilities.tools | https://models.dev/api.json listing opencode.models.hy4-flash-free.tool_call Source trace36f38151e8fce738e5c6cd31970f8f5ea7892f6154cf01cff5148099d2652bf8 |
| capabilities.reasoning | https://models.dev/api.json listing opencode.models.hy4-flash-free.reasoning Source trace36f38151e8fce738e5c6cd31970f8f5ea7892f6154cf01cff5148099d2652bf8 |
| capabilities.vision | https://models.dev/api.json listing opencode.models.hy4-flash-free.modalities.input Source trace36f38151e8fce738e5c6cd31970f8f5ea7892f6154cf01cff5148099d2652bf8 |
| activity | Source unknown — no source URL recorded. |
| requestMap | Source unknown — no source URL recorded. |
Use it
shell
$ curl https://modelschemas.com/v1/schemas/opencode/chat/inference/openai/v1/chat/completions # request schema
$ curl -X POST https://modelschemas.com/v1/validate -d '{"provider":"opencode","endpointId":"inference/openai/v1/chat/completions","payload":{…}}'
$ curl -X POST https://modelschemas.com/v1/estimate -d '{"provider":"opencode","model":"hy4-flash-free","usage":{"input_tokens":1200,"output_tokens":400}}'