Together AI API and Dome
Open models on Together AI, with every call governed.
One Together AI key reaches a long list of open models. Connect it to Dome and each agent gets the families you pick: a rule keeps a support agent on Llama, and DeepInfra answers Llama calls when Together can't.
How Dome helps
Dome provides model brokering and routing for Together AI
New models wait for you
Dome holds the Together key and sends it as a bearer token. A model Together adds reaches no agent until you add a connection for it.
Same model, second provider
DeepInfra serves the same Llama 3.3 70B. Pool the two and a failed call on Together goes to DeepInfra.
One family per agent
Tag each connection with its model family. A rule keeps an agent on Llama, whatever else Together serves.
Get started
Connect Together AI in three steps
Add one Together model, back it with DeepInfra, then point agents at the Gateway.
01
Add the connection
The provider id is together. Dome uses https://api.together.xyz/v1 and Together's own model ids.
$ dome models add llama-together \--provider together \--model meta-llama/Llama-3.3-70B-Instruct-Turbo \--api-key "$TOGETHER_API_KEY" \--attributes '{"family":"llama"}' \--gateway prod-gateway02
Pool it with DeepInfra
Add the same model on DeepInfra as a second connection. Members are tried in priority order, and agents send the pool's name.
$ dome models pool create llama-3.3-70b \--failover-max all --gateway prod-gateway$ dome models pool member add llama-3.3-70b llama-together --priority 0$ dome models pool member add llama-3.3-70b llama-deepinfra --priority 103
Point your agent at the Gateway
Any OpenAI-compatible client works. The agent's Dome key replaces the Together key.
from openai import OpenAIclient = OpenAI(base_url=f"{GATEWAY_URL}/v1", api_key=DOME_AGENT_KEY)client.chat.completions.create(model="llama-3.3-70b",messages=[{"role": "user", "content": "Draft a reply to this support ticket."}],)
Commands and rules tested against a Dome workspace on October 1, 2026. For anything about Together AI itself, see Together AI's documentation.
Rules
This agent uses Llama only
Applied to one agent with --agent, this refuses any connection not tagged family: llama. Kimi and DeepSeek stay one connection away, and out of reach.
forbid (principal, action == Dome::Action::"llm:invoke", resource is Dome::LLMModel)unless { resource has family && resource.family == "llama" };Agent workflow
Bringing it together
Connecting Together AI to registered agents, tools, and identity in Dome completes a governed agent application.
Acting for
Control point
Gateway
- Rules
- Guards
- Quotas
Every call decided and audited
Models
FAQ
Common questions
How does Dome connect to Together AI?
Through Together's OpenAI-compatible API at https://api.together.xyz/v1, with your key sent as a bearer token. The key stays in Dome's vault.
Can an agent call a Together model I haven't approved?
No. Agents reach only the connections on their Gateway. A model Together lists this week stays out of reach until you run dome models add for it.
What happens when Together AI is unavailable?
The llama-3.3-70b pool sends the call to DeepInfra, which serves the same Llama 3.3 70B. The agent's request doesn't change.
Explore
More of what Dome works with
Model
Claude Fable
Fable 5.1 from Anthropic and Amazon Bedrock in one failover pool, open to one group and capped by quota.
Read moreMCP server
GitHub
The GitHub MCP server behind the Tool Gateway, with rules that decide each call on its owner and repository.
Read moreIdentity
Okta
Okta tokens verified on every agent call, so rules and audit name the person each agent acted for.
Read moreRuntime
OpenAI Agents SDK
OpenAI Agents SDK agents with their models on the Model Broker and their MCP tools on the Tool Gateway.
Read moreClient
Claude Code
Claude Code on a Dome Gateway with per-developer sign-in, rules on every tool call, and audit by name.
Read moreAgent service
TinyFish
TinyFish's web agents behind the Tool Gateway, with rules that decide each run on the site it targets.
Read moreNext steps
Talk with our FDE team
Our forward deployed engineers work with your platform team to get your agents into production and under control: the first one governed on your own systems, and a pattern your teams can repeat for every agent after it.
No card required to start. Register your first agent in minutes.
LLM providers for AI agents: one governed path to every model
Connect a provider once. Its key stays in Dome, and every agent call to it is authorized, metered and audited.
See them all