- the client you are connecting
- the API format supported by the inference backend behind Hivenet Router
Claude Code
Connect Claude Code through the Anthropic Messages API.
OpenCode
Configure Hivenet Router as an OpenAI-compatible provider in OpenCode.
Pi
Add Hivenet Router and its available models to the Pi coding agent.
Open WebUI
Use Hivenet Router as the inference endpoint for a browser-based chat interface.
Use from code
Call Hivenet Router from curl, Python, JavaScript, SDKs, and custom services.
Choose an integration
The client talks only to the Hivenet Router router. It does not need to know which agent, machine, or inference engine serves the request.
Before you start
Every integration needs:- A reachable Hivenet Router router URL.
- A client API key when authentication is enabled.
- An exact model ID visible to that key.
- A client and backend that support the same API format.
Router URL
For local testing:Client API key
Clients authenticate with:Model ID
List the models available to the client key:Match the API format
Hivenet Router supports several client-facing inference endpoints.
The individual integration guides explain which endpoint and base URL the client uses.
Backend features still matter
Hivenet Router routes and forwards requests. It does not add model or engine capabilities that the selected backend does not support. Compatibility may depend on:- streaming
- tool and function calling
- structured output
- system or developer roles
- multimodal input
- reasoning parameters
- model-specific request fields
Access and quotas
Integrations use the same Hivenet Router controls as direct API requests. The router can apply:- API-key authentication
- model restrictions
- request-rate quotas
- daily token quotas
- routing policies
- fallback behavior
- audit logging
- tenant metrics
owner share quota buckets.
Base URLs
Clients construct endpoint paths differently. An OpenAI-compatible client commonly expects:/v1 can produce incorrect paths such as:
404.
Recommended test order
1
List models
Query
/v1/models with the key the integration will use.2
Test the endpoint directly
Send a minimal curl request using the intended OpenAI or Anthropic format.
3
Configure the client
Add the router URL, API key, and exact model ID.
4
Test streaming
Confirm that output arrives incrementally when the client uses streaming.
5
Test advanced features
For coding agents, verify tool calling and file operations with a harmless task.
6
Review the request
Find the request in audit logs or metrics and confirm its tenant, model, status, and selected agent.
Troubleshooting
Use the direct curl test to determine whether a problem belongs to Hivenet Router or the client configuration.
Integration guides
Claude Code
Configure the Anthropic Messages endpoint, authentication, model, and tool-use checks.
OpenCode
Configure a custom OpenAI-compatible provider and model.
Pi
Register a custom provider and expose Hivenet Router models in Pi.
Open WebUI
Connect a browser interface and understand shared-key behavior.
Use from code
Call chat, embeddings, and reranking endpoints from your own software.
Chat completions and messages
Review Hivenet Router’s supported LLM paths and forwarding behavior.

