Getting Started
Add a provider, choose a model, and send your first request with hosted AnchorShell Relay.
Relay sits between your application and its model providers. Start with one provider and model, then create a Group when you want a stable request name with ordered alternatives.
Dashboard
- Sign in to AnchorShell.
- Open Model Relay → Setup.
- Enter your provider's name, base URL, API key, and model ID.
- Click Save and Continue.
- Add the model to a group if you want one name for several models.
- Review limits and pricing. Send the test request.
- Open Playground to edit the request and inspect the response.
The order is provider → model → optional group → request. Your provider supplies the model and charges for its use.
API
Create an inference key in Account → API keys. Replace <API_KEY> below; see API authentication for optional management scopes.
Direct model
Use the call name from Providers. This example assumes you configured and enabled this model.
curl -X POST 'https://api.anchorshell.com/v1/chat/completions' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "openai/gpt-5-mini",
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}'Response — 200 OK
Example non-streaming response (selected fields). Content, model, and usage depend on the selected provider.
{
"id": "<COMPLETION_ID>",
"object": "chat.completion",
"model": "gpt-5-mini",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Relay waits for the preferred model before considering fallback."
},
"finish_reason": "stop"
}
]
}Group
After creating agentic, select it in the same model field:
curl -X POST 'https://api.anchorshell.com/v1/chat/completions' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "agentic",
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}'Response — 200 OK
Example non-streaming response (selected fields). Content, model, and usage depend on the selected provider.
{
"id": "<COMPLETION_ID>",
"object": "chat.completion",
"model": "gpt-5-mini",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Relay waits for the preferred model before considering fallback."
},
"finish_reason": "stop"
}
]
}No routing header or query parameter is needed. Configure setup through Providers and Groups.