Inference.

Private LLM inference on Freuron means your fine-tuned model gets its own single-tenant endpoint rather than a slot on a shared pool. You call POST /api/v1/inference/chat using the OpenAI messages shape and read the reply back from choices, and billing is per token, drawing on your monthly credit pool first and then on your prepaid balance.

Between calls the endpoint sits at zero, so there is no warm replica to pay for while it is idle, and it wakes in seconds when the next call arrives. Your model serves only your traffic, access is controlled by a key scoped to that model, and the endpoint returns either a plain JSON completion or an OpenAI-style streaming response.

Calling your endpoint

Point your client at POST /api/v1/inference/chat, send messages, and read the reply from choices[0].message.content. For code already written against the OpenAI shape, that is most of the migration.

There is one difference to get right: temperature, top_p, and max_tokens nest under generation_config instead of sitting at the top level. If you miss that, you can end up debugging defaults you never asked for.

The endpoint returns plain JSON if you want the full reply in one response, and it also supports OpenAI-style streaming if you would rather render tokens as they arrive than wait for the full reply.

response = requests.post(
    'https://api.freuron.com/api/v1/inference/chat',
    headers={'x-api-key': 'YOUR_API_KEY'},
    json={
        'model': 'support-bot',
        'messages': [
            {'role': 'system', 'content': 'You are a calm, precise support agent.'},
            {'role': 'user', 'content': 'My last invoice looks wrong — can you check?'},
        ],
        'generation_config': {'temperature': 0.4, 'top_p': 0.9, 'max_tokens': 512},
    },
)
print(response.json()['choices'][0]['message']['content'])
Call your private endpoint

Access and keys

Single-tenant here has a plain meaning: your model serves your traffic. It is not pooled with another account’s workload, and neither is your data. Access follows the same boundary, because inference keys are scoped per model rather than issued as one master key for everything, so a key for one endpoint is not a key for all of them.

One consequence is worth planning for. Turning developer mode off cascade-deletes those keys, and they are deleted rather than paused. If you turn developer mode off in production, expect to issue new keys, so plan for that before you click.

Scale to zero, capacity, and billing

Between calls, the endpoint scales to zero, so no warm replica is billing GPU hours while your users sleep. The trade is straightforward: the first call after idle waits seconds for a cold start, and after that the endpoint is back to serving.

When traffic does arrive, concurrency is backpressured per tenant. Another account’s spike does not get to spend your capacity, and yours does not spend theirs.

Billing matches that model. Inference is billed per token, per base model, rather than per GPU hour, and charges draw from your monthly credit pool first and then, once the pool is used, from your prepaid balance. While the endpoint is at zero, there is nothing running to bill for.