Deterministic Cmd+K parsing before you call an LLM.
Scope to your own app with custom_routes, custom_slash_commands, macros, and domains allowlists — plus optional built-in packs for tasks (.ics), expenses/splits, conversions, and macros. Reproducible typed JSON with zero hallucinated fields and zero payload logging; escalate to your LLM only when needs_llm: true.
Try it live — keyless, zero signup
{
"kind": "expense",
"confidence": 0.96,
"matched_by": "money:spent_split",
"needs_llm": false,
"summary": "Expense: €7.25 (Lunch · split 2 ways)",
"normalized_input": "spent €14.50 on lunch at bistro split with @alice yesterday",
"intent": {
"kind": "expense",
"title": "Lunch",
"amountCents": 725,
"totalAmountCents": 1450,
"splitCount": 2,
"splitWith": [
"Alice"
],
"merchant": "Bistro",
"currency": "EUR",
"category": "Food & Dining",
"date": "2026-11-22"
},
"spans": [
{
"field": "amount",
"start": 6,
"end": 12,
"text": "€14.50",
"value": 725
},
{
"field": "merchant",
"start": 22,
"end": 31,
"text": "at bistro",
"value": "Bistro"
},
{
"field": "split",
"start": 32,
"end": 49,
"text": "split with @alice",
"value": 2
},
{
"field": "date",
"start": 50,
"end": 59,
"text": "yesterday",
"value": "2026-11-22"
}
]
}
Bring Your Own Commands & Scope Out Everything Else
1. Domain Allowlist (domains)
Don’t want personal-life intents (water, habits, flashcards) firing in your B2B SaaS command bar? Pass domains: ["tasks", "money", "calc", "navigation"] and everything outside those domains escalates cleanly to needs_llm: true.
2. Custom Slash Commands & Routes
Register your app’s own custom_slash_commands (e.g. /jira, /deploy), custom_routes (with synonym keywords for instant navigation), and macros — all stateless per request, with matching ghost-text completions in POST /v1/omnibar/suggest.
Routing Accuracy, Known Failure Modes & Honest Latency
Adversarial Routing Benchmark (82 Cases: 30 In-Domain + 52 Negative Traps)
Full Benchmarks & Limitations →
Known failure boundary (honest disclosure): Declarative past-tense statements containing a date token (e.g. "API uptime was 99.98% across all regions today" or "our competitor raised $2M last Tuesday") can currently trigger tasks:structured (confidence: 0.88). If your command bar is not a task tracker, omit "tasks" from domains or gate task execution on explicit slash prefixes.
End-to-End Latency Comparison (Including Network RTT)
Why use a deterministic pre-router even against cheap small models? Reproducible output (zero hallucinated JSON fields or schema drift), zero prompt-injection surface, zero payload egress to third-party model providers, and sub-0.2 ms compute for keystroke ghost-text (/v1/omnibar/suggest) & multi-command batching (/v1/omnibar/batch).
Honest Pre-Router Cost & Latency Estimator
Tier: All-Access Pro ($29/mo · 100k pooled req/mo across all 34 APIs) + 30k LLM fallback calls.
Drop-in Hybrid Pre-Router (With BYO Domains & Commands)
import { TinplateClient } from "@tinplate/sdk";
const tp = new TinplateClient({ apiKey: process.env.TINPLATE_API_KEY });
export async function handleCommandBar(text: string) {
const res = await tp.parseOmnibar({
text,
include_spans: true,
// Scope to your app's domains + bring your own routes & slash commands
domains: ["tasks", "money", "calc", "navigation"],
custom_routes: [
{ id: "billing", title: "Billing & Invoices", keywords: ["billing", "invoices"] },
],
custom_slash_commands: [
{ command: "/jira", expansion: "task: [JIRA] ", domain: "tasks" },
],
});
// 0-LLM deterministic fast path (0.14 ms p50 V8 compute + edge RTT)
if (!res.data.needs_llm) {
return executeAction(res.data.kind, res.data.intent, res.data.spans);
}
// Ambiguous or open-ended queries escalate cleanly to your LLM
return fallbackToLlm(text);
}
import os
from tinplate import TinplateClient
tp = TinplateClient(api_key=os.environ["TINPLATE_API_KEY"])
def handle_command_bar(text: str):
res = tp.parse_omnibar(
text=text,
include_spans=True,
domains=["tasks", "money", "calc", "navigation"],
custom_routes=[{"id": "billing", "title": "Billing", "keywords": ["billing"]}],
custom_slash_commands=[{"command": "/jira", "expansion": "task: [JIRA] "}],
)
if not res["data"]["needs_llm"]:
return execute_action(res["data"]["kind"], res["data"]["intent"])
return fallback_to_llm(text)
# 1. Keyless instant test with BYO routes & domain scoping (8 KB, 30 req/min)
curl -sS -X POST "https://tinplate.dev/free/omnibar-nlp?receipt=true" \
-H "Content-Type: application/json" \
-d '{
"text": "/jira fix webhook retry timeout !high tomorrow",
"domains": ["tasks", "navigation", "calc"],
"custom_slash_commands": [{"command": "/jira", "expansion": "task: [JIRA] "}],
"include_spans": true
}'
# 2. Production API (Direct Polar Bearer key — unlocks all 34 Tinplate APIs + /mcp)
curl -sS -X POST "https://api.tinplate.dev/v1/omnibar/parse" \
-H "Authorization: Bearer $TINPLATE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"text":"spent €14.50 on lunch at bistro split with @alice yesterday","include_spans":true}'
{
"mcpServers": {
"tinplate": {
"url": "https://api.tinplate.dev/mcp",
"headers": {
"Authorization": "Bearer YOUR_TINPLATE_API_KEY"
}
}
}
}
// Unlocks omnibar_parse, omnibar_suggest, omnibar_batch + 42 security & EU validation tools.
// Keyless POST /mcp exposes 7 free security/validation tools without a key.
Included With Every Tinplate All-Access Key
Omnibar NLP is bundled alongside 33 other deterministic AI safety, MCP security, PII redaction, and EU validation APIs — you never pay for a command-bar parser in isolation.
Instant Evaluation
Test BYO routes, slash commands & domain scoping right now.
POST /free/omnibar-nlp(8 KB, 30 req/min)- Optional
?receipt=trueEd25519 JWKS proof - Public
GET /v1/omnibar/intentscatalog - Zero accounts · zero request logs
All-Access Pro
Omnibar + Prompt Guard + PII Redactor + MCP Linter + 30 more APIs.
- 100,000 pooled req/mo · 120 req/min · 128 KB
/v1/omnibar/parse,/suggest,/batch- All 45 endpoints +
/v1/pipeline+ 45 MCP tools - Direct
api.tinplate.devedge routing
All-Access Team
Production throughput across your entire AI guardrail & NLP stack.
- 500,000 pooled req/mo · 300 req/min · 256 KB
- Org-wide GitHub Action, SDK & MCP usage
- EU VAT invoices handled automatically by Polar
- Need agent pay-per-call? See x402 USDC routes
Optional Pre-Built Domain Packs (46 Intents Across 10 Domains)
JSON Catalog ↗
Use domains: [...] to opt in only to the domain packs relevant to your app (e.g. tasks, money, calc, navigation). Click any example pill to test it in the sandbox above.