Get started

Quickstart

Create an API key, select the correct protocol, and complete your first HopBase request.

Sign in to the console

Open api.hop-base.com/login and sign in with the account provided to you.

Create an API key

Open API Keys, select a plan group, and create a key beginning with sk-.

Configure the Base URL

Replace the API address in your tool or application with the matching HopBase Base URL, then provide the key.

Core settings

Use caseAddress
Anthropic protocol
Claude Code and Claude models
https://api.hop-base.com
OpenAI protocol
Codex, GPT, GLM, Gemini chat, and image models
https://api.hop-base.com/v1
API keysk-xxxxxx (created in the console)
Discover models available to the keyGET https://api.hop-base.com/v1/models

The Anthropic Base URL does not include /v1; Anthropic clients append the API path. The OpenAI Base URL must include /v1.

Verify the key and model

Do not guess a model name. First fetch the list for the current key and select an ID that is actually present.

curl https://api.hop-base.com/v1/models \
  -H "Authorization: Bearer sk-your-key"

Then send a minimal request using a chat model returned above:

curl https://api.hop-base.com/v1/chat/completions \
  -H "Authorization: Bearer sk-your-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "a-chat-model-returned-by-v1-models",
    "messages": [{"role": "user", "content": "Reply with only: ok"}]
  }'

To have a coding agent make the project changes, continue to Integrate with AI.

On this page