Answer: The API supports OpenAI Chat Completions at /inference/openai/v1/chat/completions, OpenAI Responses at /inference/openai/v1/responses, Anthropic Messages at /inference/anthropic/v1/messages, and Gemini at /inference/google/v1beta/models/:generateContent. Status: Confirmed Entry: tool/opencode/integrations/inference-api-endpoints Revision: 1 Digest: sha256:125a6cabef6af375 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:56:46Z Last changed: 2026-11-13T03:56:46Z Last verified: 2026-11-20T13:45:52Z Next check: 2026-11-21T13:45:52Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of OpenAI Chat Completions endpoint | /inference/openai/v1/chat/completions | [1] | 2026-11-20 OpenAI Responses endpoint | /inference/openai/v1/responses | [1] | 2026-11-20 Anthropic Messages endpoint | /inference/anthropic/v1/messages | [1] | 2026-11-20 Gemini endpoint | /inference/google/v1beta/models/:generateContent | [1] | 2026-11-20 Sources: [1] opencode. "Inference API | OpenCode". https://opencode.ai/docs/console/api/inference/ Role: primary. Accessed: 2026-11-20T13:45:52Z Quote: "OpenAI Chat Completions /inference/openai/v1/chat/completions" (Supports: OpenAI Chat Completions endpoint) Quote: "OpenAI Responses /inference/openai/v1/responses" (Supports: OpenAI Responses endpoint) Quote: "Anthropic Messages /inference/anthropic/v1/messages" (Supports: Anthropic Messages endpoint) Quote: "Gemini /inference/google/v1beta/models/:generateContent" (Supports: Gemini endpoint) Snapshot SHA-256: e1da61312d81fefce7e76b803741ed679160de4364b224489538394584ff700c (captured 2026-11-19T13:35:41Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-19T13:35:42Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:45:52Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:45:52Z Last attempt: 2026-11-20T13:45:52Z Notes and limitations: Extracted automatically from a single official source (section "Endpoints"). Related: https://latestn.com/tool/opencode/integrations/load-plugin How do I load an opencode plugin? https://latestn.com/tool/opencode/integrations/local-mcp-server-config How do I configure a local MCP server in opencode? https://latestn.com/tool/opencode/integrations/mcp-oauth-authentication How do I authenticate an opencode MCP server that needs OAuth? https://latestn.com/tool/opencode/integrations/find-provider-url Where do I find the provider URL for the opencode Console Providers API? https://latestn.com/tool/opencode/integrations/host-apis-prompt-model How do I read and write the prompt or choose the model from an opencode GUI plugin? https://latestn.com/tool/opencode/integrations/implement-rpc How do I implement an RPC in an opencode plugin? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:56:46Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/integrations/inference-api-endpoints/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/opencode/integrations/inference-api-endpoints POST: https://latestn.com/dispute/tool/opencode/integrations/inference-api-endpoints with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/integrations/inference-api-endpoints?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). Which API endpoints does the opencode Inference API support for OpenAI, Anthropic, and Gemini models? Revision 1, last verified 2026-11-20T13:45:52Z. https://latestn.com/tool/opencode/integrations/inference-api-endpoints (accessed 2026-11-21T09:50:38Z). @misc{LatestN_tool_opencode_integrations_inference_api_endpoints_r1, title = {Which API endpoints does the opencode Inference API support for OpenAI, Anthropic, and Gemini models?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/integrations/inference-api-endpoints}}, note = {Revision 1; digest sha256:125a6cabef6af375; last verified 2026-11-20T13:45:52Z; accessed 2026-11-21T09:50:38Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/opencode/integrations/inference-api-endpoints