The Tetrate Agent Router Service provides a unified Gateway for accessing various AI models with fast inference capabilities.
This gateway acts as an intelligent router that can distribute requests across multiple model providers, offering enterprise-grade reliability and performance optimization.
Setup
Configure Continue
Choose a configuration method below.
If you use the Continue VS Code extension, install version >=1.2.3.
Quickstart with Continue Mission Control
Fastest way: use preconfigured models from Tetrate on Continue Mission Control
Use or remix
Click “Use Model”, or “Remix” to change the model ID if needed
If a model is missing, remix a similar one and set the model field to the target ID.
Configuration Methods
In Local Agent Configuration Use a Tetrate model block from the Hub or define it directly in your local agent configuration.
Continue Mission Control Use a Tetrate model block from the Hub or define your own on the Hub.
Using Local Model Blocks Create a local model block for reuse across agents without publishing it to the Hub.
Configuration Examples
Click a tab to see an example.
When to use : Simple local setups (like using the VS Code extension) when you don’t need shared or published blocks.Use a Tetrate model block from the Hub in your local agent configuration: name : Local Agent
version : 1.0.0
schema : v1
models :
- uses : tetrate/claude-sonnet-4
with :
TETRATE_API_KEY : ${{ secrets.TETRATE_API_KEY }}
context :
- provider : code
- provider : docs
- provider : diff
- provider : terminal
- provider : problems
- provider : folder
- provider : codebase
Or define the model directly: name : Local Agent
version : 1.0.0
schema : v1
models :
- name : Claude Sonnet 4
provider : tars
model : claude-4-sonnet-20250514
apiKey : ${{ secrets.TETRATE_API_KEY }}
roles :
- chat
- edit
- apply
capabilities :
- tool_use
context :
- provider : code
- provider : docs
- provider : diff
- provider : terminal
- provider : problems
- provider : folder
- provider : codebase
When to use : Share configurations across teams or contribute to the community.The Model Block: name : Claude Sonnet 4
version : 1.0.14
schema : v1
models :
- name : Claude Sonnet 4 - Tetrate
provider : tars
model : claude-4-sonnet-20250514
apiKey : ${{ inputs.TETRATE_API_KEY }}
roles :
- chat
- edit
- apply
capabilities :
- tool_use
View the model block tetrate/claude-sonnet-4 on the Continue Mission Control . Reference it in your Agent configuration: name : My Agent
version : 1.0.0
schema : v1
models :
- uses : tetrate/claude-sonnet-4
with :
TETRATE_API_KEY : ${{ secrets.TETRATE_API_KEY }}
context :
- uses : continuedev/diff-context
- uses : continuedev/terminal-context
- uses : continuedev/file-context
When to use : Reuse configurations across agents and keep them local or in GitHub (not on Continue Mission Control).The Local Model Block: Name the file my-claude-4-model.yaml so you can reference it in the Agent.
~/.continue/models/my-claude-4-model.yaml
name : Claude Sonnet 4
version : 1.0.1
schema : v1
models :
- name : Claude Sonnet 4
provider : tars
model : claude-4-sonnet-20250514
apiKey : ${{ inputs.TETRATE_API_KEY }}
roles :
- chat
- edit
- apply
capabilities :
- tool_use
Reference it as my-claude-4-model in your Agent configuration: ~/.continue/agents/simple-agent.yaml
name : Simple Agent
version : 1.0.0
schema : v1
models :
- uses : my-claude-4-model
with :
TETRATE_API_KEY : ${{ secrets.TETRATE_API_KEY }}
context :
- uses : continuedev/diff-context
- uses : continuedev/terminal-context
- uses : continuedev/file-context
Troubleshooting Common Issues
Invalid API key Verify your API key is active and has no extra spaces.
Model not found Confirm the model ID matches the Tetrate catalog.
Slow responses Check your network or try a less-loaded model. Contact Tetrate support if issues persist.
Configuration not loading Validate YAML syntax and review error messages in Continue. If using Hub, ensure the block is published.
Connect with Tetrate and other builders for help and discussion.