Skip to main content
availability

Package: Invicti AppSec Enterprise (on-premise, on-demand)

OpenRouter

OpenRouter is a unified API gateway that provides access to hundreds of large language models from various providers (OpenAI, Anthropic, Google, Meta, Mistral, and more) through a single API endpoint. The Invicti AppSec integration with OpenRouter enables AI-powered features — such as vulnerability remediation guidance and security analysis — with the flexibility to switch between models from different providers using one integration.

Purpose in Invicti AppSec

OpenRouter is used in Invicti AppSec as an LLM Provider — supplying the language model that powers AI-assisted security features, while offering access to a wide range of models through a single API key.

Use CaseDescription
AI remediation guidanceGenerate fix recommendations for discovered vulnerabilities using any model available on OpenRouter
Security analysisUse OpenRouter-hosted language models to assist in triage and prioritization of security findings
Model flexibilitySwitch between models from different AI providers without managing multiple API keys

Where it is used

PageNavigation PathPurpose
Integrations — LLM ProvidersIntegrations › LLM ProvidersAdmin activation and model configuration

Prerequisites

Before activating the integration, obtain an API key from your OpenRouter account:

FieldDescriptionRequired
TokenOpenRouter API key used to authenticate requestsYes
ModelThe model to use (selected after a successful test connection)Yes

Obtain the API key (on the OpenRouter side)

  1. Log in to your OpenRouter account at openrouter.ai.
  2. Navigate to Settings › API Keys (or click your profile icon › Keys).
  3. Click Create Key and give it a descriptive name (e.g., invicti-AppSec).
  4. Copy the key immediately — it won't be shown again after closing the dialog.
note

OpenRouter charges per token based on the model used. Ensure your account has sufficient credits before activating the integration.

Activation steps

Step 1: Navigate to Integrations

From the left sidebar, click Integrations.

Integrations sidebar

Step 2: Open the LLM Providers tab

On the Integrations page, click the LLM Providers tab.

LLM Providers tab

Step 3: Find and activate OpenRouter

Locate the OpenRouter card.

  • If it isn't yet activated, click Activate to open the settings drawer.
  • If it's already activated, click the gear icon to open the settings drawer and reconfigure.

Step 4: Fill in the required fields

In the settings drawer, enter your OpenRouter API key:

FieldDescriptionRequired
TokenYour OpenRouter API keyYes

Step 5: Test the connection

Click Test Connection. A green "Connection successful" message confirms that Invicti AppSec can reach the OpenRouter API with the provided key. The Model dropdown appears automatically after a successful test.

Step 6: Select a model

From the Model dropdown, select the model you want to use for AI features in Invicti AppSec. OpenRouter provides access to models from multiple providers (e.g., openai/gpt-4o, anthropic/claude-3-5-sonnet, google/gemini-2.0-flash).

OpenRouter settings

Step 7: Save

Click Save to complete the activation.

Summary

StepAction
1Navigate to Integrations from the sidebar
2Select the LLM Providers tab
3Find OpenRouter and click Activate (or the gear icon)
4Enter your OpenRouter API key in the Token field
5Click Test Connection — verify the success message
6Select a Model from the dropdown
7Click Save

Troubleshooting

IssueResolution
Connection failedVerify the API key is correct and hasn't been revoked. Regenerate it from the OpenRouter settings if needed.
Invalid API keyEnsure the key was copied in full without extra spaces or characters.
No models availableConfirm your OpenRouter account is active and has sufficient credits. Some models may require specific subscription tiers.
401 UnauthorizedThe API key may have expired or been disabled. Generate a new key and update the configuration.
Insufficient creditsOpenRouter is a pay-per-use service. Add credits to your OpenRouter account to continue using the integration.
Model not availableSome models on OpenRouter have limited availability or require separate access requests. Choose an alternative model from the dropdown.

Need help?

Invicti Support team is ready to provide you with technical help. Go to Help Center

Was this page useful?