Overview
The AI configuration page lets you choose which AI model powers your test runs, manage your own API keys (Bring Your Own Key), and monitor token usage and costs. For VibeView-provided runs the cost shown is the usage credit actually deducted from your balance; for BYOK runs VibeView deducts nothing, so the cost is shown as an estimate (billed directly by your provider). See Usage Credits.
Features
Default model
Select the AI model used for all AI-powered features: test execution and the AI fallback in Smart runs. The model field is searchable — click it and type to filter by model name or id.
It offers only vision-capable chat models that you have access to (through your own API keys or VibeView-hosted keys); image-generation and batch-only variants are left out. Models are listed alphabetically, and VibeView-provided models show their price per million input and output tokens as billed to your usage credit. Changing the selection takes effect immediately for all future runs.
Until you pick a model, the field names the model AI test runs use by default, marked — default.
Stronger model
Stronger model (optional), under the default model, is a second model your organization can offer as a choice when starting an Explore or Map the app run: the form then has a Model choice of Default or Stronger, also more expensive. Nothing else uses it: test runs and every other AI feature keep the default model.
Pick it the same way as the default model, from the same list, which shows only the models from the same place as your default model: VibeView-provided models when your default is one, or the models of the same API key when your default runs on your own key. A model VibeView can’t price can’t be picked. Clear removes it. If you later move the default model to another provider, or delete the API key it runs on, the stronger model is cleared and you pick one again.
Agent turns per step
Sets how many turns the AI agent gets to complete a single test step before that step fails with “This step needed more than N AI turns” (N is this setting). The default is 20; you can set any whole number from 1 to 30. Raising it gives long or multi-screen steps room to finish but lets a stuck step use more tokens (and usage credit, on VibeView-provided models) before it gives up; lowering it makes a stuck step fail faster. The run’s AI spending limit (below) still applies whatever you set here.
Type a number and click Save. Once you have changed it, Reset to default returns it to 20. The setting applies to every AI test run in your organization, AI only runs and the AI fallback in Smart runs alike, starting with the next run.
AI spending limit per run
Sets the most AI a single test run may spend, in US dollars. It is a safety net against a step the AI keeps retrying: when a run reaches it, the step it is on stops with “This run reached its AI spending limit of $5.00 (Settings → AI configuration). Raise the limit or split the step.” (with your own limit in place of $5.00), and the run page offers Raise the spending limit. Re-running the same test hits the same limit, so raise it or split the step into smaller ones.
The default is $5.00 per run, well above what a typical run spends (most AI test runs cost a few cents). You can set any amount from $0.50 to $100.00, to the cent. The limit counts what the run is billed: the usage credit deducted for VibeView-provided models, or, for runs on your own API key, the model’s list price (the same estimate the Usage section shows; VibeView deducts nothing). The limit is per test run: each test in a group run or a CI run is its own run with its own limit. The check happens before each AI request, using what the run has spent so far plus the cost of its previous request as an estimate of the next one, so a run can go over the limit by at most one AI request. If a run’s AI use has no measurable cost (for example, a free model, or a model on your own key that has no list price), it stops instead at a safety limit of 3 million input tokens with “This run’s AI use has no measurable cost, so it stopped at the safety limit of 3M input tokens.”
Type an amount and click Save. Once you have changed it, Reset to default returns it to $5.00. The setting applies to every AI test run in your organization, AI only runs and the AI fallback in Smart runs alike, starting with the next run. Explore has its own spending safety limit, sized to its time budget, and is not affected by this setting.
API keys (BYOK)
Bring Your Own Key lets you connect your existing provider accounts so that AI requests are billed directly to your provider instead of through VibeView.
Supported providers:
- Anthropic (Claude)
- OpenAI (GPT)
- Google (Gemini)
- OpenRouter — Access models from all major providers through a single API key. One key instead of managing multiple provider accounts.
Once a key is added, the model picker lists the models that key can use, fetched from the provider, so new models show up without waiting for a VibeView update. The list is refreshed about once an hour. If the provider cannot be reached, the picker keeps showing the last list it fetched.
Each stored key shows the provider badge and a masked key hint (e.g., sk-...abc). Keys are encrypted at rest.
Usage tracking
The Usage section provides a breakdown of AI consumption:
- Summary cards — AI calls (each request to a model; one AI test run usually makes several), input tokens, output tokens, and total cost, shown in USD. Amounts under $0.10 show up to four decimals ($0.0136). The total cost combines VibeView-provided (actual, deducted) and BYOK (estimated) cost; the two are broken out in the split below.
- VibeView vs BYOK split — Two panels comparing AI calls, tokens, and cost. The VibeView cost is the credit actually deducted for provided runs; the BYOK cost is an estimate at public list pricing — VibeView deducts nothing for BYOK runs, and your provider bills you directly, so the exact amount may differ.
- Per-model breakdown — A table listing each model with its AI call count and cost (the credit deducted per model).
A time-range selector (7d / 30d / 90d / All) at the top of the Usage section controls the period all of these figures cover.
Token counts are displayed in human-readable format (e.g., 1.2M, 45.3K).
How to add an API key
- Navigate to Settings > AI configuration.
- In the API Keys card, click Add Key.
- Select a Provider from the dropdown (Anthropic, OpenAI, Google, or OpenRouter).
- Paste your API key into the API Key field.
- Click Save. A success toast confirms the key was stored.
The new key unlocks additional models from that provider in the Default Model dropdown.
Tip: If you want access to multiple providers, OpenRouter is the easiest option — one key gives you access to Claude, GPT, Gemini, and many more models.
How to remove an API key
- In the API Keys list, click the trash icon next to the key you want to delete.
- A confirmation dialog appears warning that BYOK models for that provider will become unavailable.
- Click Delete to confirm.
If your default model was running on the removed key, future runs automatically use VibeView-hosted models (billed to your usage credit) instead.
How to change the default model
- In the Default Model card, click the model field and type to search.
- Select the desired model from the results. The list includes VibeView-hosted models (billed to your usage credit) plus any models unlocked by your own API keys, labeled (own key).
- The change is saved automatically, and the field shows your selected model.
Models labeled (VibeView) always run on VibeView’s hosted keys and bill your usage credit, even when you have your own key stored for the same provider. Models labeled (own key) run on your key and are billed by your provider directly.
The selected model is used for:
- AI test execution (AI only, and the AI fallback in Smart runs)
Permissions
| Role | Access |
|---|---|
| Admin | Full access: change model and agent turns, add/remove keys |
| Developer | Full access: change model and agent turns, add/remove keys |
| Viewer | Read-only: can view configuration and usage |