You can start for free and choose a paid plan when you need more usage.
Create an API key
Sign in at app.overcontrolgroup.com, then create a key in the API dashboard. Copy the key when it is created and keep it somewhere secure. Your application will use it to authenticate requests. Keys start withoc_sk_.
Store it in an environment variable, so the value stays out of your source code.
chat:completions for the Chat Completions examples, or messages:create for the Messages examples. If your key has a model allowlist, include lume-3.5.
Send the key as Authorization: Bearer $OVERCONTROL_API_KEY or as x-api-key. Send one authentication header: supplying both with values returns HTTP 401.
For cURL, no SDK installation is needed. For the Python or Node.js examples, install the client you plan to use:
.py file. Save Node.js examples as .mjs files so their import statements and top-level await work. Set OVERCONTROL_API_KEY in the shell where you run them.
Call Chat Completions
Chat Completions is the OpenAI-compatible text API.POST /v1/chat/completions expects a key with the chat:completions scope.
lume-3.5 has a 400,000-token context window and can generate up to 32,768 tokens. The examples set max_tokens to 256 for a short reply and a smaller usage reservation. If you omit the output budget, the model’s maximum applies. A requested budget above the model maximum or remaining context space is reduced to fit.
For the OpenAI SDK, set the base URL to https://api.overcontrolgroup.com/v1.
choices[0].message.content. Token counts are in usage. When some of the input was cached, usage also includes prompt_tokens_details.cached_tokens. The counts below are only an illustration. A real response varies with the prompt.
X-Request-Id header. If the model ID is not one OverControl serves, such as not-a-model, the API responds with HTTP 400:
error.code: "forbidden". Enable that model on the key before retrying.
The same request shape works for summarization, extraction, coding help, and other text tasks. Your application decides what context to send.
Call Messages
Messages uses the Anthropic-compatible request format. CallPOST /v1/messages with a key that has the messages:create scope and access to lume-3.5.
Supply a positive integer max_tokens; this example uses 256. The maximum output on lume-3.5 is 32,768 tokens. Larger requested budgets are reduced to that limit, and the output budget is reduced further if needed to fit the remaining context. Input that leaves no room for output is rejected.
For the Anthropic SDKs, use https://api.overcontrolgroup.com as the base URL, without /v1. The SDK adds /v1/messages and supplies authentication and version headers. Depending on the SDK version, it can send your key as x-api-key or Authorization: Bearer; OverControl accepts either.
anthropic-version is optional. If you send it, use a single valid calendar date in YYYY-MM-DD form, such as 2023-06-01. It is a compatibility hint and does not select another feature set. An empty value, an invalid date, or a repeated version header returns HTTP 400.
A successful response has type: "message" and a content array. Read the text blocks in that array, as the SDK examples do. The response below is illustrative; text and token counts vary.
X-Request-Id and request-id, set to the same value. On an error, that value is also request_id in the JSON.
An unknown model, and a model outside the key’s allowlist, both come back as HTTP 404:
If the request fails
Lume 3.5 token rates are €0.30 per million input tokens, €0.06 per million cached input tokens, and €1.50 per million output tokens. Actual usage is reported in the response; unused reserved usage is released after completion. Automatic pay-as-you-go overages are not currently enabled.
If a response ends with Chat
finish_reason: "length" or Messages stop_reason: "max_tokens", it reached the output limit. Increase the explicit budget if the task needs a longer answer. Include the response’s request ID when contacting support.
Next
Models
Compare context windows, output caps, and euro prices.
Pricing
See model token rates, web-tool prices, and included usage.
Authentication
Scopes, allowlists, and the bodies a rejected key returns.
API dashboard
Create keys and review usage for the current month.

