Interact with opencode server over HTTP. The `opencode serve` command runs a headless HTTP server that exposes an OpenAPI endpoint that an opencode client can use.
This document details the features, best practices, and migration guidance for GPT-5, OpenAI's most intelligent model. It covers new API features like minimal reasoning effort, verbosity control, custom tools, and allowed tools, along with prompting guidance and migration strategies from older models and APIs.
GitHub Models now allows developers to retrieve structured JSON responses from models directly in the UI, improving integration with applications and workflows. Supported models include OpenAI (except for o1-mini and o1-preview) and Mistral models.