Skip to main content
Organisation admins choose which model provider powers all AI features (AI Assistant, AI Insights, incident analysis, CI/CD file generation, summaries). Configure it under AISettingsModels.

Provider Modes

Credentials and the active selection are stored separately - you can save and validate a configuration first, then switch the active provider when ready.

Default Models

On the Ankra provider, every organisation is served the same three tiers. The chat model picker selects between them, and Auto routes each question to the right one - short questions to Quick, everyday work to the default, and architecture, security, or image questions to Expert. Because GLM 5.2 does not accept images, Auto sends any question with an attachment to Expert. These are defaults, not limits. Under AISettingsModels you can edit any tier, point it at a different model, add your own, or reset the catalog back to the Ankra defaults. Switching the provider to Anthropic serves every tier with Claude instead.

Configure Anthropic

1

Save the key

In the Anthropic card, paste an API key (must start with sk-ant-). Ankra validates it with a one-token health check before saving.
2

Switch the provider

Select Anthropic in the provider picker. Switching is blocked until a valid key is saved.
Keys are stored in Vault; the UI only ever shows a masked preview (sk-ant-...XXXX). Deleting the key while Anthropic is active automatically reverts the organisation to the Ankra provider.

Configure OpenRouter

With your organisation’s own OpenRouter API key active, Ankra serves the same default models and automatic failover chain through your OpenRouter account - including background and autonomous AI sessions - and your usage never draws on the free monthly AI allowance. The key is validated live against OpenRouter at save time and stored only in Vault. Follow the step-by-step guide: Bring Your Own OpenRouter API Key.

Configure an OpenAI-Compatible Endpoint

1

Save the configuration

In the OpenAI-compatible card, provide:
  • Base URL - the endpoint’s OpenAI /v1 root, http(s):// (e.g. https://my-litellm.internal/v1)
  • Model - the model identifier your endpoint serves
  • API key - the endpoint’s key
Ankra probes GET {'{base_url}'}/models on save to verify the endpoint responds. An incorrect model id only surfaces at the first AI call.
2

Switch the provider

Select OpenAI-compatible in the provider picker.
In OpenAI-compatible mode, tool-using AI paths - the agentic AI Assistant, AI Insights, CI/CD file generation, and deploy analysis - fall back to the Ankra platform provider. Stack descriptions and summaries run natively against your endpoint. The What runs where matrix on the settings page shows the current mapping.

Permissions

Only organisation admins can view previews, save credentials, or switch providers. Other members see the settings read-only. The AI settings page has three more tabs:
  • Skills - organisation-specific AI skills; see AI Skills
  • Insights - the org-wide toggle for Proactive AI Insights
  • Advanced - the read-only system-prompt variant in use