Multi-provider
Models from different providers through one endpoint. Check the catalog for names, capabilities and availability.
A REST API for model calls, a Node.js client for invoking agents and an MCP server for working from your development tools. Choose the interface for your use case.
An HTTP call with the task data included in the request. To access your systems, configure the agent’s tools and permissions.
calls referenceindex.ts
const response = await fetch(
"https://llm.zihin.ai/api/v3/llm/public/call",
{
method: "POST",
headers: {
"X-Api-Key": process.env.ZIHIN_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
query: "Summarize: order 4512 has 12 items and awaits approval.",
model: "auto", // platform routing
options: { temperature: 0.7, maxTokens: 4096 },
}),
}
);
if (!response.ok) throw new Error(`HTTP ${response.status}`);
const data = await response.json();
console.log(data.response);Check each feature’s contract before integrating.
Models from different providers through one endpoint. Check the catalog for names, capabilities and availability.
Use model: "auto" to delegate selection to platform routing, or specify an available model from the catalog.
Force JSON responses with schema validation — for integrations that can't tolerate loose text.
Send images alongside text — automatically converted to each provider's native format.
Real-time token-by-token responses via SSE.
Reuse eligible responses according to cache rules. The effect on cost and latency depends on usage patterns.
The official MCP server connects MCP clients to the platform: manage agents, secrets and telemetry without leaving your editor.
MCP Server documentationpublished on npm
npx @zihin/mcp-serverClaude Desktop · Cursor · Claude Code · Codex · Windsurf
Configure authentication and make your first call with the guide.
Endpoints, parameters, available models, streaming and request/response schemas.
Published Node.js client @zihin/agent-client and MCP server. Check versions, installation and capabilities for each package.
First agent, multi-tenant, secrets and BYOK — step by step.
Ask questions, share implementation experiences and follow updates directly with the team and other builders.
Create an account and check access requirements and trial terms.
Try for freeThis site uses cookies.
Essential cookies are always on so the site works. Analytics cookies only activate with your consent. Learn more