Overview
One API for routing, security, and tracing.
Keep the OpenAI-compatible chat completions request format. LineMod applies routing and security policies and records a trace for each request.
{
"model": "auto:balanced",
"messages": [
{ "role": "user", "content": "Summarize this incident log." }
]
}How it works
Routing, security, and tracing in one gateway
Choose an auto:* preset, apply organization routing rules, and configure fallback models and the cost–quality setting. Inspect
X-LineMod-Model-Used and X-LineMod-Route-Reason on every response.
Scan prompts and model outputs, redact sensitive data, control agent tool access, and set a security template for each API key. Blocked requests never reach your provider.
Review request IDs, costs, and multi-step agent runs in Console. Agent Insights shows run diagnostics, and audit logs can be exported.
Find the next step
auto:balanced.Billing options
X-LineMod-Credential-Source.| Mode | Who pays upstream | What you pay LineMod |
|---|---|---|
platform | LineMod wallet (platform credits) | Per-token usage bundled with routing, security, and observability |
org_byok | Your provider contract | Monthly BYOK subscription for gateway features |
platform_fallback | LineMod when BYOK path is unavailable (if enabled) | Fallback token usage per org policy |
Connect provider keys for OpenAI and Anthropic, use platform credits for other providers. One LineMod API key supports both billing paths. See pricing for plan details.