@yantra

YantraRouter

AI SDK v6 provider for Yantra AI Model Router. Proxies generateText / streamText calls to the Yantra API.

Current version
v1.0.8
code-pluginCommunitysource-linked

@yantra/openclaw-yantrarouter

OpenClaw plugin for the Yantra AI Model Router — routes AI requests to GPT-4.1, Claude Sonnet 4, DeepSeek R1 and more through the Yantra cdecli agent.

Install

openclaw plugins install clawhub:@yantra/openclaw-yantrarouter

Setup

Set your Yantra API key in OpenClaw config:

openclaw config set env.YANTRA_API_KEY "your-api-key"
openclaw gateway restart

Or export it before starting the gateway:

export YANTRA_API_KEY="your-api-key"

Usage

Smoke test (AI SDK)

YANTRA_API_KEY=your-key node examples/smoke.mjs

Available models

Model IDName
yantra/gpt-4.1GPT 4.1
yantra/claude-sonnet-4Claude Sonnet 4
yantra/deepseek-r1DeepSeek R1

Environment variables

VariableDescription
YANTRA_API_KEYBearer token from your Yantra / cdebase dashboard
YANTRA_BASE_URLOverride the agent endpoint (default: https://cdecli-agent.cdebase.dev)

Source

github.com/yantra-app/openclaw-yantra

Source and release

Source repository

yantra-app/openclaw-yantra

Open repo

Source commit

05cd31b35e4b2f70691521563407f38a65982ca4

View commit

Install command

openclaw plugins install clawhub:@yantra/openclaw-yantrarouter

Metadata

  • Package: @yantra/openclaw-yantrarouter
  • Created: 2026/05/28
  • Updated: 2026/05/28
  • Executes code: Yes
  • Source tag: 05cd31b35e4b2f70691521563407f38a65982ca4

Compatibility

  • Built with OpenClaw: 2026.3.24-beta.2
  • Plugin API range: >=2026.3.24-beta.2
  • Tags: latest
  • Files: 18