NextHub

Tool connection guide

One endpoint · three protocols · any client

NextHub exposes one API endpoint, https://api.nexthub.cc, speaking three protocols: OpenAI Chat Completions, Anthropic Messages and OpenAI Responses. Whether the base URL carries /v1 depends on the protocol and the client — the table lists the verified value per tool. Authentication uses a NextHub API key.

Tool / clientProtocolBase URLKey handlingStep-by-step
Claude CodeAnthropic Messageshttps://api.nexthub.ccANTHROPIC_BASE_URL (no /v1; the client appends /v1/messages)tutorial
CodexOpenAI Responseshttps://api.nexthub.cc/v1Authorization: Bearertutorial
OpenCodeAnthropic Messageshttps://api.nexthub.ccprovider.anthropic baseURL (no /v1)tutorial
KilocodeOpenAI-compatible (Responses)https://api.nexthub.cc/v1API provider: OpenAI Compatible (Responses)tutorial
ZedOpenAI-compatiblehttps://api.nexthub.cc/v1OpenAI request prefix (with /v1)tutorial
Anthropic SDK / cURLAnthropic Messageshttps://api.nexthub.ccx-api-key + anthropic-version: 2023-06-01tutorial

OpenAI-style direct calls (Chat Completions, Responses) use https://api.nexthub.cc/v1; Anthropic-style usage takes https://api.nexthub.cc without /v1. Group multipliers: /groups; billing and 429: /billing.