Bring Llm
to Mastra AI
Create your Vinkius account to connect Together AI to Mastra AI and start using all 7 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the Together AI MCP Server?
Connect your Together AI account to any AI agent and integrate bleeding-edge open-source models seamlessly into your workflow. Harness world-class inference speeds to query Llama, Mixtral, and more, or orchestrate specialized model fine-tuning jobs straight from your chat environment.
What you can do
- Model Discovery — Explore and list all currently supported models on the Together network, identifying the best engine for any NLP or vision task
- Conversational AI — Run chat completion cycles on advanced models simply by supplying a model ID directly from the chat prompt
- Vector Storage Preparation — Generate instant rich embeddings for input texts, ready to populate your analytical databases
- Creative Media — Instruct external diffusion models to generate images using detailed physical descriptions
- Custom Fine-Tuning — Provision custom training runs by indicating a base framework and dataset file, alongside tracking existing job statuses
How it works
- Sign up for this integration
- Open your api.together.xyz control panel and fetch a developer API Key
- Plug the key above, specify models to your agent, and enjoy sub-second serverless inference directly inside your command interface
Who is this for?
- AI Developers — Orchestrate fine-tuning parameters and launch jobs to the compute cluster without CLI switching
- Software Engineers — Use the provider to test completions using alternative open-source solutions (e.g., Llama 3) natively in code editors
- Machine Learning Engineers — Bulk-generate vectors from raw logs using embedding models attached straight to their main conversational agent
Built-in capabilities (7)
Provide a model ID and a JSON array of messages. Executes a chat completion using Together AI models
Provide a base model ID and a training file ID. Creates a new fine-tuning job
Provide a model ID and a JSON array of strings. Generates vector embeddings for input texts
Provide a model ID and descriptive prompt. Generates an image from a text prompt
Lists all AI models available on Together AI
Lists all fine-tuning jobs
Provide a model ID and a prompt. Executes a base text completion
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and Together AI tool infrastructure. Connect 7 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Together AI without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every Together AI tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
Together AI in Mastra AI
Why run Together AI with Vinkius?
The Together AI connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 7 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect Together AI using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
Together AI and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect Together AI to Mastra AI through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
Together AI for Mastra AI
Every request between Mastra AI and Together AI is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
Where do I obtain my Together AI API Key?
Log in to the developer portal via api.together.xyz/settings/api-keys. If you do not have an existing key, click Create API Key. This token enables the execution of remote inferences spanning their hosted clusters securely.
Do I have to pay to use Together models through the agent?
Yes. This connector simply routes your instructions to Together AI. Any tokens consumed during chat completion, embeddings, images generation, or fine-tuning workloads are billed directly to your registered Together AI account balance according to their official compute pricing models.
Can I access free models on Together AI?
Yes! Together AI frequently offers free tiers for certain open-source models intended for experimentation and research. You can query these directly from your agent without depleting your account balance, though specific free-tier rate limits will apply.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Deliveroo
5 toolsManage Deliveroo restaurant orders — accept deliveries, track preparation stages, and sync POS status directly from your AI agent.

Black Duck (Synopsys)
10 toolsSecure your open source supply chain via Black Duck — list projects, versions, and vulnerabilities directly from any AI agent.

WorldNewsAPI
4 toolsSearch world news — audit articles, top stories, and sources via AI.

Wistia
9 toolsManage videos, projects, and performance analytics on Wistia with AI agents.
