When paired with the RailCall Desktop app or local_only: true (railcall-local), sensitive files, local terminal tasks, and deterministic transforms run 100% on your own machine with zero cloud spend.
One OpenAI-compatible model family. Predictive cost & latency from $0.00 up.
Instead of forcing every prompt onto a single overpriced endpoint, Linden 2.0 (model: "linden-1.0" or "auto") inspects task structure, schema constraints, and your max_cost_usd ceiling before dispatch — keeping simple and private work at $0.00 locally, serving everyday turns in sub-second streams at ~$0.0002, and reserving deep multi-step reasoning for the prompts that earn it.
Three execution stages, governed by your spend cap.
Every request reserves at most your configured spend cap, executes on the leanest stage that satisfies your quality bar, and immediately releases unused budget on settlement.
linden-1.0-fast, linden-1.0-json, and railcall-fast handle chat replies, strict JSON extraction, webhook classification, and live UI streaming in hundreds of milliseconds.
When linden-1.0, railcall-thinking, or railcall-code detects multi-document synthesis, complex mathematics, or full-stack app builds, it escalates automatically within your max_cost_usd cap.
Drop-in model IDs for any OpenAI SDK.
Point baseURL: "https://railcall.ai/v1" at RailCall and select the exact latency, schema, or locality profile your workload needs. Passing model: "auto" normalizes directly to linden-1.0.
linden-1.0$0.00 local · ~$0.0002–$0.004 cloudPrimary general-purpose endpoint. Evaluates prompt complexity in real time to match routine tasks to sub-second inference and escalate multi-step synthesis only when needed.
linden-1.0-fast~$0.0002 / turnTuned for ultra-low time-to-first-token, live product copilots, real-time coaching feedback, triage classification, and high-throughput customer UX.
linden-1.0-json~$0.0002–$0.0015 / turnSchema-clean JSON generation with response_format: { type: "json_object" }, ideal for trackers, webhook pipelines, CRM enrichment, and deterministic data extraction.
railcall-thinkingPrice / Auto / Quality bar controlledDefault endpoint for /v1/chat/completions when model is omitted. Respects per-key route_weight, local_only ($0.00), and monotonic max_cost_usd spend caps.
railcall-code~$0.002–$0.015 / synthesisDeep multi-file HTML/CSS/TypeScript generation, repository refactoring, SQL schema design, and Build Studio live app synthesis with static verification.
railcall-fast$0.00 on device · ~$0.0002 cloudLightweight conversational turns, UI action routing, and instant summaries — or lock local_only: true (railcall-local) so prompts never leave your hardware.
Production limits, streaming & replay guarantees.
Engineered for deterministic backend services, autonomous agent loops, and human-governed MCP tool workflows.
Enforced symmetrically at the /v1 edge gateway before token reservation.
Configurable per request via max_tokens for long-form Folios, codebases, and JSON.
Per workspace / API key default burst window; custom concurrency available on Enterprise.
Pass Idempotency-Key (or X-Idempotency-Key) to deduplicate retries with X-RailCall-Idempotent-Replay.
Standard text/event-stream chunks with 15s keepalive heartbeats and final railcall_receipt.
Every completion seals token counts, settled USD, and a signed receipt verifiable at /verify/.
curl -sS "https://railcall.ai/v1/chat/completions" \
-H "Authorization: Bearer rc_ak_live_YOUR_KEY" \
-H "Idempotency-Key: order-audit-2026-0091" \
-H "Content-Type: application/json" \
-d '{
"model": "linden-1.0",
"max_tokens": 4096,
"max_cost_usd": 0.10,
"messages": [
{ "role": "system", "content": "Return concise, verifiable analysis." },
{ "role": "user", "content": "Compare unit economics across Q3 cohorts." }
]
}'