
“OpenAI-compatible” describes a specific API surface. It does not guarantee full parity with every OpenAI endpoint, model name, request field, response field, or SDK feature. Before you migrate, confirm the exact interface the provider documents and test it with your own workload.
Hivenet offers two OpenAI-compatible paths with different operating models. Hivenet Inference API provides managed, dedicated model endpoints. Compute with Hivenet provides GPU or CPU infrastructure where you install and operate vLLM or another serving stack yourself.
Do not use the feature list for one path as proof of what the other path supports. A self-managed vLLM server exposes the features of the version and configuration you deploy. The managed Inference API exposes the interface described in the current Hivenet documentation and console-generated examples.
Ask for the exact supported endpoints instead of relying on the phrase “OpenAI-compatible.” Hivenet’s current managed Inference API documentation covers Chat Completions. Do not assume that legacy completions, embeddings, model listing, moderation, or another OpenAI route is available unless the current documentation or the endpoint’s generated example says so.
Confirm whether the supplied endpoint URL already contains /v1. Hivenet Inference API endpoint URLs do, so use the URL copied from the console without appending a second /v1. Create the API key in the active organization, store it outside source code, and use it only with endpoints owned by that organization.
Use the model value from the endpoint’s quick-start example. It can differ from the endpoint name or the model family shown in the catalog. Keep the endpoint URL, API key, and model value in configuration so you can change providers or deployments without rewriting application logic.
Start with a small non-streaming Chat Completions request. Verify the status code and the fields your application reads. Then test optional behavior such as streaming, tool calling, structured output, stop sequences, or token-usage fields only when the provider documents it for the endpoint you are evaluating.
Record the status code and response body that the service actually returns. Do not build against an example error schema or rate-limit header that the provider has not documented. Retry temporary failures with bounded exponential backoff, honor Retry-After when it is present, and avoid retrying authentication or validation failures without correcting the request.
Build a representative prompt set from your real workload. Compare answer quality, time to first token where available, total latency, throughput, and cost under the same request pattern. Test the model and replica configuration you intend to use, not a nearby model name or a marketing benchmark.
Choose from the locations currently available for the endpoint and confirm that the selected location and contractual terms meet your requirements. Do not infer logging, retention, residency, or compliance guarantees from the region name alone.
Create an endpoint in the Hivenet Compute console, wait until it is running, create an Inference API key, and copy the generated quick-start values. The endpoint URL already includes /v1.
import os
from openai import OpenAI
client = OpenAI(
base_url=os.environ["HIVENET_ENDPOINT_URL"],
api_key=os.environ["HIVENET_INFERENCE_API_KEY"],
)
response = client.chat.completions.create(
model=os.environ["HIVENET_MODEL"],
messages=[
{"role": "user", "content": "Write a one-sentence status update."}
],
)
print(response.choices[0].message.content)
import OpenAI from "openai";
const client = new OpenAI({
baseURL: process.env.HIVENET_ENDPOINT_URL,
apiKey: process.env.HIVENET_INFERENCE_API_KEY,
});
const response = await client.chat.completions.create({
model: process.env.HIVENET_MODEL,
messages: [
{ role: "user", content: "Give me one key risk for this project." },
],
});
console.log(response.choices[0].message.content);
Use the exact endpoint URL and model value shown by your endpoint. If the first request fails, follow the Inference API troubleshooting guide before changing client behavior.
Choose Compute when you want to deploy vLLM, TGI, SGLang, llama.cpp, or another runtime yourself. In this path, you are responsible for the runtime version, supported routes, model files, authentication, connectivity, updates, scaling, and monitoring.
Start with the Compute quickstart and the current Compute FAQ. After the server is running, test the interface documented by that runtime and configuration. A route supported by one vLLM release or template should not be assumed to exist on every self-managed deployment.
No. Compatibility is normally limited to the routes and fields a provider documents. Test the exact interface you need.
Use Hivenet Inference API for a managed, dedicated endpoint. Use Compute with Hivenet when you want to operate the serving stack and control the runtime yourself.
Do not assume so. Use the exact model value shown in the endpoint’s generated example and keep it in configuration.
/v1 to a Hivenet Inference API URL?No. The endpoint URL copied from the Hivenet console already includes /v1.
Use the live Hivenet console and the models and variants documentation. Availability can change by model, variant, capacity, and location.
When you are ready, open the Hivenet Compute console and choose the managed or self-managed path that fits your workload.
Pick one AI, compute, or storage workload and see the difference for yourself. Spin it up in minutes, or let our team map your fastest path to production.