AI GATEWAY / BUILD WITH CHOICE

Find your model. Build your next idea.

Explore AI APIs for text, search, images and audio. Compare real gateway limits, understand usage pricing and take an integration example straight into your project.

1,106Models in the catalogue
8Operation categories
01One API key
Your applicationSDK / HTTP
ServerNetServerNet Gateway/v1
Text chatImageAudioEmbeddings
Choose a model · Current availability is shown per model.

Ways to use ServerNet AI

ServerNet AI Gateway

Connect AI models to your website, app or workflow using the API.

Only available models are exposed by the API. Availability requires a configured provider, valid prices and a supported execution path.
01 / MODEL WORKSPACE

A model for the work in front of you

Start with the output you need. Every category has its own comparison criteria and request contract.

02 / FROM IDEA TO API

A clear path from choice to integration

Explore this walkthrough. It makes no API call and consumes no credit.

SERVERNET / GET STARTEDChoose a task

Start with your workload: chat, retrieval, image, audio or video. Compare limits that matter for that operation.

Integration guide ↗
03 / MODEL CATALOGUE

Explore the current catalogue

A selection of current chat entries. Availability is shown separately for each model.

04 / DEVELOPER FIRST

Start with this model

Use the public model ID on the model page. Your key stays in a server-side environment variable.

PYTHON / OPENAI SDK
import os
from openai import OpenAI
from uuid import uuid4

client = OpenAI(
    api_key=os.environ["SERVERNET_API_KEY"],
    base_url="https://servernet.cloud/v1",
    max_retries=0,
)

response = client.chat.completions.create(
    model="or-meta-llamallama-4-scout-125f5697d6",
    messages=[{"role": "user", "content": "Hello"}],
    max_tokens=128,
    extra_headers={"Idempotency-Key": str(uuid4())},
)
print(response.choices[0].message.content)

Use the same Idempotency-Key when retrying an identical request. Successful responses are replayed without a second charge for 24 hours. Do not automatically retry when x-should-retry:false is present. The key is shown once. Store it in a server environment variable. Keep it out of browser code, GitHub and logs.

curl example
SERVERNET_REQUEST_ID="$(python3 -c 'import uuid; print(uuid.uuid4())')"

curl --fail-with-body https://servernet.cloud/v1/chat/completions \
  -H "Authorization: Bearer $SERVERNET_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $SERVERNET_REQUEST_ID" \
  -d '{"model":"or-meta-llamallama-4-scout-125f5697d6","messages":[{"role":"user","content":"Hello"}],"max_tokens":128}'

This example incurs real usage. Keep the key in an environment variable. Create the request identifier once per logical request and keep it when retrying that same request.

AI API, hourly GPU or n8n: which fits your project?

Start with the result you need: a response from a hosted model, your own code and model on a GPU, or a workflow connecting several services. Each choice has different running costs and maintenance responsibilities.

A hosted model API for your application

For chat, summarization or semantic search, choose a ready model for that operation. Check its pricing unit, input limits and usage calculator. An available model does not necessarily support every operation.

Compare models and estimate usage

A GPU for your own code and model

For PyTorch, custom model weights or GPU data processing, review the compatible GPU application. Choose suitable VRAM, keep files outside temporary storage and plan how to run and resume your workload.

Compare hourly GPU rental

n8n to connect a business workflow

n8n can connect forms, CRM and an AI service into a workflow. Hosting and external API usage are separate costs. Store service keys in credentials rather than sharing them in a workflow export.

Explore n8n hosting
  • Before funding, check the operation and available model; the key needs permission for that operation.
  • Keep the first request short with a small output cap. Review its request identifier and actual charge in usage history.
  • Create one new Idempotency-Key per logical request. A retry of the same request must keep the same key and body.

Frequently asked questions

How is usage billed?

Billing uses reported model consumption and the prices frozen for your request. When a response becomes uncertain after sending, consumption is reconciled according to the request state.

Can I use every listed model?

Each model shows its availability. Only available models can be purchased through the API. Preparing and discontinued models remain visible for catalogue reference.

How can I limit team spending?

Set a monthly project budget and a daily API key limit. Holds for concurrent requests count towards these limits.

Choose with evidence. Build with a clear contract.

Compare the operation, read its example and start with a bounded test.