Skip to main content
Choose a Lume model for the work you want to do, the context you need, and your token budget. All four models support text generation, streaming, structured JSON output, and function calling through Chat Completions and Messages. For most applications, start with Lume 3.5. Use Lume 3.5 Max for demanding coding and reasoning workflows, Lume 2 for lightweight work at the lowest token rate, and Lume Omni for images, audio, and PDFs.

Choose a model

Lume 3.5

Build text, coding, and analysis features with 400,000 tokens of context, up to 32,768 output tokens, and server-side web tools.

Lume 3.5 Max

Work on demanding reasoning, coding, and multi-step tasks with the same 400,000-token context and 32,768-token output limit.

Lume 2

Run lightweight and high-volume text workflows with 200,000 tokens of context and up to 16,384 output tokens.

Lume Omni

Combine text with images and PDFs on either API, or audio on Chat Completions. Add web search and page retrieval when needed.

Compare limits and capabilities

Context and output values are in tokens. Limits are the same on Chat Completions and Messages. Server-side tools run within your API request. Function tools run in your application. Web search and fetch are available through both APIs on the three supported models; enabling them adds operation charges to token usage.
Lume 3 (lume-3) and Lume 3 Max (lume-3-max) are retired. Use lume-3.5 or lume-3.5-max for new requests, and add the replacement to your key’s model allowlist if it has one.

Set an output budget

The context window covers the request’s instructions, conversation, tool definitions, media, and generated output. Longer input leaves less room for the reply. A maximum output value is a ceiling, not a promise that the model will generate that many tokens. On both APIs, a value above the model’s maximum is reduced to that maximum. The output budget is also reduced to the estimated remaining context space. If the input leaves no room for output, the request is rejected with HTTP 400. For example, max_tokens: 65536 on Lume 3.5 is capped at 32,768, and may be lower if the input nearly fills the context window. Use an explicit, smaller budget when a short answer is enough. It reduces the amount of usage reserved before the request runs. If a reply reaches its output limit, Chat Completions returns finish_reason: "length"; Messages returns stop_reason: "max_tokens". A truncated JSON response may be incomplete, so check the stop reason before parsing it.

Images, audio, and PDFs

Only Lume Omni accepts media input. Responses are text. You can send PDFs inline or reference PDFs uploaded through the Files API. File IDs require files:read in addition to the inference scope. Uploads need files:write, and deletion needs files:delete. These are API input limits; Chat app attachments have their own limits. Use Image understanding, Audio understanding, or Chat with files for request examples.

List the models your key can call

Create a key in the API dashboard with the models:read scope, then set it in your shell and call the models endpoint. Listing models does not spend inference usage.
Send only one authentication header. A successful response contains object: "list" and a data array. This illustrative excerpt shows two entries:
A key without a model allowlist can see all four current models. A key with an allowlist sees only its permitted current models. Use the returned id as the model in an inference request. A missing or invalid key returns HTTP 401. A key without models:read returns HTTP 403. An unsupported model on Chat Completions returns HTTP 400 with error.code: "model_not_found". Messages returns HTTP 404 for both unknown models and models outside the key’s allowlist.

Next

Quickstart

Send your first request with Lume 3.5 using cURL or an SDK.

Pricing

Calculate token and web-tool costs, and understand your included usage.