Documentation
Everything you need to use TemuClaude â role-specialized models, step-aware routing, budget telemetry, and one clean answer.
Quickstart
Get started with TemuClaude in under 5 minutes.
Option 1 â Use the playground (no installation):
Open the playground â â sign in, ask anything, and get a superior answer. 20 free queries/day.
Option 2 â OpenAI-compatible API access:
curl -X POST https://temuclaude.com/v1/chat/completions \
-H "Authorization: Bearer tmc_your_api_key" \
-H "Content-Type: application/json" \
-d '{"model":"temuclaude","messages":[{"role":"user","content":"What is 9.9 vs 9.11?"}]}'
# Response: OpenAI-compatible chat completion JSONTip: The playground runs the same adaptive orchestration as the API â up to 10 layers for hard Pro queries, a fast path for trivial ones. Free tier: 20 queries/day after sign-in.
Data Privacy & Sovereignty
TemuClaude is built on a foundation of absolute data safety and developer trust:
- Zero Log Retention â We process all requests in-memory. Your raw query content and code outputs are never persisted to any databases or disk logs.
- API Key Encrypted Storage â All custom API keys and session credentials are encrypted in-transit and at-rest using AES-256 standard encryption.
- No Data Reselling â Your training vectors and query histories belong 100% to you and are never used to train internal models or sold to third-party resellers.
Architecture
TemuClaude is one endpoint that assigns each model an evidence-based capability role. When you ask a question, it:
- Classifies your query (math, coding, reasoning, knowledge, creative, legal, health, agentic)
- Estimates difficulty (trivial, medium, hard)
- Routes to the best strategy:
- Pro trivial â GLM-5.2 quality floor
- Pro nontrivial â all available role specialists in parallel, followed by synthesis and verification
- Lite nontrivial â parallel DeepSeek/Qwen drafts, Qwen synthesis, and Nemotron verification
- Adapts step models for search, verification, consistency, QA gates, debate, and post-processing using telemetry when enough evidence exists
- Returns one clean answer â orchestration is invisible but visible in the playground
Note: All routing happens server-side. In the Playground, users can choose the TemuClaude Pro or TemuClaude Lite product profile; individual model and parameter selection remains controlled by the router.
TemuClaude Lite
Lite keeps the same authenticated Playground, task classification, answer trace, and safety policy as Pro, with a bounded quality ensemble designed for lower cost.
- DeepSeek V4 Flash is the default worker.
- Qwen 3.7 Plus handles hard structured reasoning and agentic work.
- Qwen 3.7 Plus handles vision, UI, long-context, and agentic work.
- DeepSeek and Qwen produce complementary drafts in parallel for every nontrivial request.
- Qwen 3.7 Plus synthesizes the strongest complete result.
- Nemotron 3 Ultra independently verifies every nontrivial result and risky or sampled trivial work.
Note: Lite remains cost-bounded because every draft, synthesis, verification, and correction route is restricted to its explicit four-model allowlist.
Model Pool
TemuClaude has ten active routing roles. Every available Pro specialist participates in nontrivial work with a distinct role prompt.
| Model | Role | IQ | Context |
|---|---|---|---|
| DeepSeek V4 Flash | Lite / explicit-savings worker | 40 | 1M |
| DeepSeek V4 Pro | Hard reasoning + math | 44 | 1M |
| GLM-5.2 | Planning + aggregation | 51 | 1M |
| Kimi K2.6 | Coding-driven UI/UX implementation | â | 262K |
| MiniMax M3 | Multimodal + creative + long context | â | 1M |
| Gemini 3.5 Flash | Visual UI + accessibility + tools | â | 1M |
| GPT-5.6 Luna | Fast independent GPT proposer | â | 1.05M |
| GPT-5.6 Sol | Frontier adjudicator | â | 1.05M |
| Grok 4.5 | Coding-agent critic + repair | â | Provider dependent |
| Nemotron 3 Ultra | Independent verifier | 48 | 1M |
| Z3 Solver | Logical Verifier (SMT equations) | â | Local |
Tip: Every available frontier and specialist role participates in nontrivial Pro work. GPT-5.6 Terra remains a disabled emergency fallback. The Vercel gateways use model-based verification; local execution and Z3 belong to the separate Python research runtime.
Adaptive Pipeline (up to 10 layers for hard Pro)
Trivial and medium Pro queries take a fast, efficient path â a single specialist or light shepherding. For genuinely hard Pro queries, TemuClaude runs a bounded quality pipeline with up to 10 layers designed to improve completeness and catch errors. Stages marked research runtime belong to the Python engine / playground and do not run on every request:
- Web Search â research runtime. Dynamic knowledge retrieval for real-time information query enhancement.
- MoA 3-Layer Fusion â Layered peer reviews where multiple specialist models refine each other's outputs before aggregation.
- Self-Consistency â Weighted voting frameworks selecting the most logically consistent path.
- Code Review â Independent coding-agent and verifier models critique outputs to identify implementation defects and missing requirements.
- Reflexion â Verbal correction logic to automatically re-evaluate reasoning steps when validation indicators flag errors.
- Self-QA Gate â An independent verifier model (Nemotron 3 Ultra) scores answers on logical coherence, completeness, and goal alignment.
- Consistency Verification â Independent checks look for contradictions in structured arguments.
- Budget Forcing â research runtime. Adaptive token management extending system computation time on complex derivations.
- Step-Level Verification â research runtime. Independent validation of intermediate logical statements.
- Frontier Adjudication â Frontier models contribute proposals and return for corrective synthesis when QA is low.
3-Tier Routing
TemuClaude classifies queries dynamically using semantic analysis. Queries are mapped to the most efficient tier that can guarantee optimal response quality:
- Standard Tiers â High-speed, focused specialist engines for trivial and factual inquiries.
- Advanced Tiers â Domain-specific reasoning engines best suited for structural or complex contexts.
- Elite Tiers â Full multi-layer consensus loops with logical validation and parallel generation.
Note: Public token prices are not a blended TemuClaude cost. The router records quality, latency, failures, and token use; a new route is promoted only when the benchmark gate shows a Pareto improvement.
Step-Aware Model Router
Instead of static routing, TemuClaude continuously evaluates routing paths. The model selection varies dynamically across different steps within a single query response path, ensuring each logical task is handled by the most optimized resource.
Tip: This is the bridge toward state-aware orchestration: model choice can vary dynamically inside the same answer, not just at the first route.
Active Budget Controller
Our controller analyzes safety margins and reasoning path indicators to steer queries dynamically. It cuts off dead-end reasoning loops early and allocates computation resources precisely where they provide the greatest quality return.
Note: The controller runs in telemetry-gathering shadow mode. Runtime adjustments remain conservative to preserve deterministic quality bounds.
MoA 3-Layer Fusion
For high-complexity tasks, TemuClaude runs a multi-stage consensus process. Specialist models independently generate draft solutions, exchange peer reviews to highlight blind spots and contradictions, and synthesize a single, optimized consensus response.
Note: Research: 3-layer MoA achieves 65.1% on AlpacaEval 2.0 in the published paper. Each layer adds measurable quality.
Self-Consistency
For quantitative and reasoning tasks, the system generates multiple candidate pathways. A weighted voting classifier selects the final path based on logic consistency, mitigating hallucination spikes.
Code Review
For hard Pro coding and math queries, an independent judge model reviews the generated code and reasoning for defects, missing requirements, and incorrect logic. Sandbox execution and Z3 constraint solving belong to the Python research runtime for hard queries, not the live gateway. When review flags an error, the reflexion loop rewrites and corrects the draft.
Self-QA Gate
For nontrivial queries, generated answers pass through an automated quality gate â scored by an independent verifier model (Nemotron 3 Ultra) â evaluating logical consistency, factual correctness, and goal alignment. If the thresholds are not met, the response is rejected and sent back to the pipeline for refinement.
Reflexion
When the quality check flags a discrepancy, the system generates detailed critique logs. The generator models use these critique logs to reformulate their response, correcting logical missteps.
Tip: Reflexion achieves 91% on HumanEval in published results. The difference is a model that learns from mistakes instead of giving up.
Budget Forcing
To handle deep reasoning queries, TemuClaude can dynamically extend the thought process. This forces models to generate comprehensive step-by-step proofs instead of jumping directly to short, unverified conclusions.
Z3 Logical Verification
For hard Pro structural-logic questions, the Python engine translates key relationships into symbolic constraints and runs them through a Z3 logic solver to verify satisfiability. If any logical contradictions are detected, a multi-agent debate is triggered to resolve them. This runs in the research runtime for hard queries and falls back gracefully when Z3 is unavailable.
Note: Requires z3-solver. Available in the Python research runtime for hard Pro queries; the live gateway falls back to the verifier-model QA gate when unavailable.
Frontier Participation
Available frontier models participate in the first panel for every nontrivial Pro request. When verification remains below the quality threshold, they receive the accumulated draft and feedback for a corrective adjudication pass.
Methodology
TemuClaude's benchmark scores are projected from:
- Individual model scores from ArtificialAnalysis Intelligence Index
- Proven improvement numbers from published research papers
- Stack effects: each technique's proven gain applied to the baseline
- Conservative estimates (lower bounds of published ranges)
Warning: These are projected scores, not live-verified. We will publish live results after ArtificialAnalysis testing. We are committed to transparency.
Evaluation & Trust
We believe in rigorous scientific evaluations and absolute transparency. While the core orchestration weights and routing heuristics are proprietary to prevent direct duplication of our infrastructure, we provide extensive validation data:
- Independent Audits â Enterprise clients can request access to sandbox evaluation environments to run custom test suites.
- Benchmark Logs â Full transaction traces, model outputs, and logical consensus trees are logged during evaluations to verify reproducibility.
- Custom Verification â We support zero-knowledge auditing tools to verify that our routing runs exactly as documented without exposing proprietary models.
Note: For detailed auditing logs or to request access to the validation framework, contact our engineering team at hello@temuclaude.com.
Projected Scores
TemuClaude against a leading frontier baseline across 8 benchmarks:
| Benchmark | TemuClaude* | Frontier Baseline |
|---|---|---|
| GPQA Diamond | 95-98% | 94% |
| LiveCodeBench | 96-99% | 91% |
| SWE-Bench Pro | 75-85% | 68% |
| Terminal-Bench | 91-96% | 82% |
| GDPval-AA v2 | 1824+ | 1700 |
| MultiChallenge | 87-94% | 85% |
| MRCR v2 | 0.8-1.0 | 0.68 |
| HLE | 45-55% | 53% |
* Projected from research analysis. Live results pending ArtificialAnalysis verification.
REST API
Use the OpenAI-compatible endpoint for assistants and developer tools:
POST https://temuclaude.com/v1/chat/completions
Request:
{
"model": "temuclaude",
"messages": [
{"role": "user", "content": "What is 9.9 vs 9.11?"}
]
}
Response: OpenAI-compatible chat completion JSONUse model temuclaude. The server keeps model selection and orchestration internal.
Streaming
TemuClaude uses Server-Sent Events (SSE) for streaming responses:
- POST request with messages array
- SSE response â chunks stream as
data: {chunk} - Orchestration data â sent after all chunks, before [DONE]
- [DONE] â signals stream end
Orchestration Data
The final SSE event contains orchestration metadata showing exactly how the answer was built:
{
"orchestration": {
"taskType": "math",
"tier": "hard",
"models": [
{"name": "glm-5.2", "response": "...", "latency": 3.2, "correct": true},
{"name": "deepseek-v4-pro", "response": "...", "latency": 8.3, "correct": true},
{"name": "gemini-3-flash", "response": "...", "latency": 13.9, "correct": true}
],
"aggregator": "glm-5.2",
"consensus": 3,
"qaScore": 8,
"codeVerified": true,
"totalLatency": "48.2",
"cost": "$0.015",
"techniques": ["moa-3-layer", "cross-review", "structured-aggregation",
"self-consistency", "prm-weighted-voting", "code-verification",
"reflexion", "usva-4-rubric-qa", "s1-budget-forcing"]
}
}Tip: For a hard Pro query, the techniques array shows exactly which layers were activated. Trivial queries take a fast path and activate fewer. Full transparency â no black boxes.
Authentication
API requests require a TemuClaude API key generated in the developer dashboard. Keys begin with tmc_; keep them server-side and revoke unused keys immediately.
curl -X POST https://temuclaude.com/v1/chat/completions \
-H "Authorization: Bearer tmc_your_api_key" \
-H "Content-Type: application/json" \
-d '{"model":"temuclaude","messages":[{"role":"user","content":"Hello"}]}'Use with Hermes Agent
Recommended for agent workflows: Hermes can use TemuClaude as its reasoning backend while Hermes provides its own tools, workspace access, skills, and approvals.
hermes model
# Choose: Custom endpoint (self-hosted / VLLM / etc.)
# Base URL: https://temuclaude.com/v1
# API key: tmc_your_api_key
# Model: temuclaude# ~/.hermes/config.yaml
model:
provider: custom
base_url: https://temuclaude.com/v1
api_key: tmc_your_api_key
default: temuclaudeTip: Use this setup when you want Hermes tools and workflows with TemuClaude routing. Start with ordinary chat tasks. Streaming, tool-call, and structured-output compatibility should be validated for your Hermes version before production automation.
Warning: Do not paste an API key into a shared shell history, repository, or client-side application. Use a local secret manager or environment variable instead.
Rate Limits
| Plan | Requests/min | Monthly credits |
|---|---|---|
| Free | 10 | 50K credits (20 queries/day) |
| Developer | 60 | 5M credits |
| Pro | 300 | 25M credits |
| Max | 1,000 | 100M credits |
| Enterprise | 10,000 | 300M credits + contract overages |
Note: Credits are weighted by route: trivial 1x, standard 1.5x, hard multi-model 4x, frontier fallback 15x, and deep research up to 20x.
Error Codes
| Code | Meaning |
|---|---|
| 400 | Bad request â missing messages field |
| 401 | Unauthorized â invalid or missing API key |
| 429 | Rate limit exceeded â upgrade your plan |
| 500 | Internal error â all models unavailable |
Media Orchestration
TemuClaude also orchestrates media generation â images, video, text-to-speech, and music. A similar multi-stage pipeline (cache, intent, tier, parallel generation, judge, quality gate, reflexion, memory, return) â up to 10 stages for complex media requests. Each media type has its own model pool, routing logic, and quality gates.
Note: Media orchestration requires an AIML API key (set AIML_API_KEY env var). The LLM orchestration works with just OpenRouter.
Image Generation
3-tier routing with best-of-N generation and LLM judge:
| Tier | Models | Cost/image |
|---|---|---|
| Draft | Z-Image-Turbo (ELO 1105) | $0.005 |
| Standard | Reve Image (ELO 1281), FLUX-2 Pro (ELO 1186), MAI Image 2.5 (ELO 1272) | $0.031-0.048 |
| Premium | Reve, MAI 2.5, Nano Banana 2, FLUX-2 Max, GPT Image 2 (ELO 1340) | $0.031-0.211 |
Unique routing for special cases:
- Vector/SVG output â Recraft V3
- Text in images â FLUX-2 Flex, GPT Image 2
- Extreme aspect ratios â Nano Banana 2
- Character consistency â Nano Banana 2, GPT Image 2
- Multilingual text â Seedream 4.5
# Generate an image
curl -X POST https://temuclaude.com/api/media/generate \
-H "Content-Type: application/json" \
-d '{"type": "image", "prompt": "a cat on a windowsill", "tier": "standard"}'Video Generation
3-tier routing with async submit/poll pattern:
| Tier | Models | Cost/min |
|---|---|---|
| Draft | LTXV-2 Fast (ELO 976) | $2.40 |
| Standard | Seedance 2.0 (ELO 1225), HappyHorse 1.0 (ELO 1131) | $9.07-13.20 |
| Premium | Seedance 2.0, HappyHorse, Kling V3 Pro (4K/60fps) | $9.07-20.16 |
Unique routing for special cases:
- 4K video â Kling V3 Pro
- Dialogue/lip-sync â Google Veo 3.1
- Multi-input (images + clips + audio) â Seedance 2.0
- Long-form video â LTXV-2
Text-to-Speech
3-tier routing with voice selection and quality gating:
| Tier | Models | Cost/1K chars |
|---|---|---|
| Draft | Qwen3-TTS Flash (119 languages, 80ms latency) | $0.013 |
| Standard | ElevenLabs Turbo V2.5, MiniMax Speech 2.6, VibeVoice 7B | $0.052-0.117 |
| Premium | ElevenLabs V3 Alpha, Hume Octave 2, MiniMax Speech 2.6 HD | $0.078-0.234 |
Music Generation
3-tier routing with lyrics support and quality gating:
| Tier | Models | Cost/song |
|---|---|---|
| Draft | MiniMax Music 2.0 (vocals, 240s max) | $0.032 |
| Standard | MiniMax Music 2.0 + Music 1.5 (ethnic instruments) | $0.032-0.15 |
| Premium | Music 2.0 + Music 1.5 + Music 2.6 (frontier, 300s max) | $0.032-0.20 |
Tip: All music models support lyrics input. TemuClaude's judge scores musicality, prompt adherence, vocal quality, audio quality, and structure â same 5-rubric quality gate as the LLM pipeline.
Self-Hosting & Private VPC
For organization-wide rollouts, high-throughput applications, or strict compliance frameworks, TemuClaude can be hosted in your own cloud infrastructure:
- Isolated Compute â Deploy the MoA pipeline inside your private AWS VPC, GCP project, or Azure subscription.
- Data Sovereignty â Ensure no transaction payloads ever leave your security perimeter by integrating with private frontier model instances (e.g., Azure OpenAI, AWS Bedrock).
- High Availability â Scalable Kubernetes templates and Serverless configurations optimized for zero-cold-start spikes.
Supported Environments
We provide officially supported deployment assets for the following platforms to commercial licensees:
Note: VPC deployment configurations, proprietary docker files, and Kubernetes Helm charts are available under our Enterprise Agreement. To initiate an architecture review, email hello@temuclaude.com.
© 2026 TemuClaude. All rights reserved.