Skip to main content

evroc logoevroc

Access 16 evroc models through Mastra's model router. Authentication is handled automatically using the EVROC_API_KEY environment variable.

Learn more in the evroc documentation.

.env
EVROC_API_KEY=your-api-key
src/mastra/agents/my-agent.ts
import { Agent } from "@mastra/core/agent";

const agent = new Agent({
id: "my-agent",
name: "My Agent",
instructions: "You are a helpful assistant",
model: "evroc/KBLab/kb-whisper-large"
});

// Generate a response
const response = await agent.generate("Hello!");

// Stream a response
const stream = await agent.stream("Tell me a story");
for await (const chunk of stream) {
console.log(chunk);
}
note

Mastra uses the OpenAI-compatible /chat/completions endpoint. Some provider-specific features may not be available. Check the evroc documentation for details.

Models
Direct link to Models

ModelContextToolsReasoningImageAudioVideoInput $/1MOutput $/1M
evroc/evroc/roc262K$3$12
evroc/google/gemma-4-26B-A4B-it262K$0.14$0.57
evroc/intfloat/multilingual-e5-large-instruct512$0.11$0.11
evroc/KBLab/kb-whisper-large448$0.00$0.00
evroc/mistralai/Mistral-Medium-3.5-128B262K$2$7
evroc/mistralai/Voxtral-Small-24B-250732K$0.00$0.00
evroc/moonshotai/Kimi-K2.6262K$1$6
evroc/nvidia/Llama-3.3-70B-Instruct-FP8128K$1$1
evroc/openai/gpt-oss-120b66K$0.23$0.92
evroc/openai/whisper-large-v3448$0.00$0.00
evroc/openai/whisper-large-v3-turbo448$0.00$0.00
evroc/Qwen/Qwen3-Embedding-8B41K$0.12$0.12
evroc/Qwen/Qwen3-Reranker-4B32K$0.06
evroc/Qwen/Qwen3.6-35B-A3B262K$0.34$1
evroc/Qwen/Qwen3.8-27B262K$0.87$4
evroc/zai-org/GLM-5.2524K$1$6
16 available models

Model availability, capabilities, context windows, and pricing are sourced from models.dev and may change.

Advanced configuration
Direct link to Advanced configuration

Custom headers
Direct link to Custom headers

src/mastra/agents/my-agent.ts
const agent = new Agent({
id: "custom-agent",
name: "custom-agent",
model: {
url: "https://models.think.evroc.com/v1",
id: "evroc/KBLab/kb-whisper-large",
apiKey: process.env.EVROC_API_KEY,
headers: {
"X-Custom-Header": "value"
}
}
});

Dynamic model selection
Direct link to Dynamic model selection

src/mastra/agents/my-agent.ts
const agent = new Agent({
id: "dynamic-agent",
name: "Dynamic Agent",
model: ({ requestContext }) => {
const useAdvanced = requestContext.task === "complex";
return useAdvanced
? "evroc/zai-org/GLM-5.2"
: "evroc/KBLab/kb-whisper-large";
}
});
On this page