Skip to content

Integrations ​

The portal provides Guide e integrazioni, with examples adapted to the available catalog. Use public names actually allowed to your key.

Shared parameters ​

ParameterValue
Gatewayhttps://api.llm.netter.io
OpenAI-compatible API basehttps://api.llm.netter.io/v1
CredentialPersonal Netter key
ModelExact authorized catalog name
ProtocolOne actually supported by the mapping

If a client appends /v1 automatically, provide the matching base URL rather than producing /v1/v1.

Python without an SDK ​

This example uses the standard library for Chat Completions:

python
import json
import os
import urllib.request

payload = {
    "model": "PUBLIC_MODEL_NAME",
    "messages": [{"role": "user", "content": "Hello!"}],
    "max_tokens": 1024,
}
request = urllib.request.Request(
    "https://api.llm.netter.io/v1/chat/completions",
    data=json.dumps(payload).encode("utf-8"),
    headers={
        "Authorization": "Bearer " + os.environ["NETTER_API_KEY"],
        "Content-Type": "application/json",
    },
)
with urllib.request.urlopen(request, timeout=120) as response:
    result = json.load(response)
print(result["choices"][0]["message"]["content"])

Tools and SDKs ​

Authenticated guides cover Claude Code, Codex CLI, OpenCode, Cline and compatible clients. Choose the tool's guide, verify its version and use the expected protocol. Upstream credentials stay in the proxy; clients receive only Netter keys.

Before company rollout, test a simple request, streaming, a tool call, output limits and authorization errors. If you need images or reasoning artifacts, verify those workflows against the actual model too.

Retry and state ​

Honor Retry-After on HTTP 429. A connection interrupted after dispatch may represent completed upstream work. Resubmission is not necessarily free or idempotent. Keep available operational identifiers and read Streaming.

Separate inference and portal APIs ​

Personal API keys authenticate the gateway. Portal APIs use session, workspace and Origin checks for mutations. Do not use an administrative cookie as a shared application credential.

Download contracts from Inference API and Portal API.