GET

/v1/models/opencode/gpt-5.6-luna

provider opencodestatus activefirst seen Jul 9, 2026last seen 7m ago
rawIdgpt-5.6-luna
displayNameGPT-5.6 Luna
idopencode-gpt-5-6-luna
activitychat
schemaEndpointIdinference/openai/v1/responses
releasedAt1783555200 — Jul 9, 2026
firstSeenAt1783555200 — Jul 9, 2026
lastSeenAt1795360024 — 7m ago
pricing
contextWindow1050000
maxOutput128000
modalities{"input":["text","image","pdf"],"output":["text"]}
capabilities{"tools":true,"reasoning":true,"structured_outputs":true,"vision":true}
knowledgeCutoff"2026-02-16"
openWeightsfalse
providerMetadata{"id":"gpt-5.6-luna","name":"GPT-5.6 Luna","description":"Cost-efficient GPT-5.6 model for fast, high-volume workloads","family":"gpt-luna","attachment":true,"reasoning":true,"reasoning_options":[{"type":"effort","values":["none","low","medium","high","xhigh","max"]}],"tool_call":true,"structured_output":true,"temperature":true,"knowledge":"2026-02-16","release_date":"2026-07-09","last_updated":"2026-07-09","modalities":{"input":["text","image","pdf"],"output":["text"]},"open_weights":false,"limit":{"context":1050000,"input":922000,"output":128000},"provider":{"npm":"@ai-sdk/openai","api":"https://opencode.ai/inference/openai/v1"},"cost":{"input":0.2,"output":1.2,"cache_read":0.02,"cache_write":0.25,"tiers":[{"input":0.4,"output":1.8,"cache_read":0.04,"cache_write":0.5,"tier":{"type":"context","size":272000}}],"context_over_200k":{"input":0.4,"output":1.8,"cache_read":0.04,"cache_write":0.5}},"canonical_model_id":"openai/gpt-5.6-luna"}
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/openai/v1/responses # request schema
$ curl -X POST https://modelschemas.com/v1/validate -d '{"provider":"opencode","endpointId":"inference/openai/v1/responses","payload":{…}}'
$ curl -X POST https://modelschemas.com/v1/estimate -d '{"provider":"opencode","model":"gpt-5.6-luna","usage":{"input_tokens":1200,"output_tokens":400}}'