GET
/v1/models/opencode-go/kimi-k2.7-code
Accept:
| rawId | kimi-k2.7-code |
| displayName | Kimi K2.7 Code |
| id | opencode-go-kimi-k2-7-code |
| activity | chat |
| schemaEndpointId | inference/go/openai/v1/chat/completions |
| releasedAt | 1781222400 — Jun 12, 2026 |
| firstSeenAt | 1781222400 — Jun 12, 2026 |
| lastSeenAt | 1795352681 — 24s ago |
| pricing | not published by this provider’s list endpoint |
| contextWindow | 262144 |
| maxOutput | 262144 |
| modalities | {"input":["text","image","video"],"output":["text"]} |
| capabilities | {"tools":true,"reasoning":true,"structured_outputs":true,"vision":true} |
| knowledgeCutoff | "2025-01" |
| openWeights | true |
| requestMap | {"thinking":null,"maxTokensField":null,"developerRole":null,"replayReasoningContent":true,"store":null,"strictTools":null,"sessionAffinity":null,"cacheControl":null,"toolStream":null,"reasoningEffort":null} |
| providerMetadata | {"attachment":true,"canonical_model_id":"moonshotai/kimi-k2.7-code","cost":{"cache_read":0.19,"input":0.95,"output":4},"description":"Coding-focused Kimi model, stronger on long-horizon repo work with less overthinking","family":"kimi-code","id":"kimi-k2.7-code","interleaved":{"field":"reasoning_content"},"knowledge":"2025-01","last_updated":"2026-06-12","limit":{"context":262144,"output":262144},"modalities":{"input":["text","image","video"],"output":["text"]},"name":"Kimi K2.7 Code","open_weights":true,"provider":{"api":"https://opencode.ai/inference/go/openai/v1"},"reasoning":true,"reasoning_options":[],"release_date":"2026-06-12","structured_output":true,"temperature":false,"tool_call":true} |
| weightsUrl | not published by this provider’s list endpoint |
Endpoints & schemas
GET /v1/schemas/opencode-go →| endpoint | activity |
|---|---|
| inference/go/openai/v1/chat/completions | chat |
endpoints matching this model — the provider has more, see /v1/schemas/opencode-go
Use it
shell
$ curl https://modelschemas.com/v1/schemas/opencode-go/chat/inference/go/openai/v1/chat/completions # request schema
$ curl -X POST https://modelschemas.com/v1/validate -d '{"provider":"opencode-go","endpointId":"inference/go/openai/v1/chat/completions","payload":{…}}'
$ curl -X POST https://modelschemas.com/v1/estimate -d '{"provider":"opencode-go","model":"kimi-k2.7-code","usage":{"input_tokens":1200,"output_tokens":400}}'