Reference
Base URLs and protocols
Choose the HopBase OpenAI or Anthropic compatible URL for each model and client.
HopBase supports both OpenAI and Anthropic compatible protocols. The protocol depends on the client and model type, not the key format.
| Scenario | Protocol | Base URL |
|---|---|---|
| Claude Code, Anthropic SDK, Claude models | Anthropic | https://api.hop-base.com |
| Codex CLI | OpenAI Responses | https://api.hop-base.com/v1 |
| Standard GPT, GLM, and Gemini chat | OpenAI Chat Completions | https://api.hop-base.com/v1 |
| GPT Image, Gemini Banana, Seedream | OpenAI Images | https://api.hop-base.com/v1 |
Common endpoints
| Capability | Endpoint |
|---|---|
| Model discovery | GET /v1/models |
| OpenAI chat | POST /v1/chat/completions |
| OpenAI Responses | POST /v1/responses |
| Anthropic Messages | POST /v1/messages |
| Gemini Omni | POST /v1/interactions |
| Image generation | POST /v1/images/generations |
| Image editing | POST /v1/images/edits |
| Seedance video submission | POST /v1/video/generate |
Configuring a Claude key as OpenAI Compatible sends requests to the wrong protocol path and returns 404, "The current platform does not support this API path." Change the provider type to Anthropic and remove /v1 from the Base URL.