Docs
Sign in

AI Model Keys

AI Model Keys is your personal page for the keys TAO uses to call AI providers on your behalf. You add a key for each provider, pick which model handles each kind of task, and set spending limits.

Screenshot to add: The AI Credentials & Model Defaults page with its tabs and the provider cards.

Open the page

The same page appears in several places, each with its own menu: AI Model Keys in Studio (/settings/credentials), in Cortex (/memory/settings/credentials), in Nexus (/nexus/settings/credentials) and in Pulse (/pulse/settings/credentials). The page is titled AI Credentials & Model Defaults.

Its subtitle explains the rule: "Bring your own API keys. APEX uses your personal key first, then any team key — there is no platform-wide fallback. If no key is configured for a provider, requests to it are blocked."

At the top you see counters: "N configured", "N verified" and "N / M required defaults set". A banner explains that your keys are encrypted and only the last 4 characters show. If no defaults are set, an amber banner warns that AI features such as Nexus Chat and Document Intelligence will not work until you set at least the Chat / General default.

The tabs are API Keys, Model Defaults, Private LLMs, Model Keys, Agent limits and Usage.

API Keys

A Platform AI Providers table shows each provider's status: "Built-in · no key needed", "Verified (date)" with •••• and the last 4 characters, or "Connected" for Copilot, with an Add key or Edit link. Below it is an expandable card per provider.

Providers include Anthropic, OpenAI, Google / Gemini, Groq, Mistral AI, Cohere, Ollama (local), Azure OpenAI, AWS Bedrock, GitHub, Slack, Custom / Private LLM, llama.cpp and GitHub Copilot. Your admin chooses which are allowed; a blocked one says "Provider '…' is not enabled by the platform admin. Ask them to allow it under Admin → AI Providers."

Add a key

  1. Open the provider card

    Badges show Verified (date), Not verified or, in red, Key rejected by provider.

  2. Fill in the form

    A Label (optional), the key (an eye icon shows or hides it), and, if the provider needs them, a Base URL and extra fields such as Azure's API version. When a key is stored the box says "(stored — enter new key to replace)".

  3. Save

    Click Save Key (Update Key if one exists). Message: "(provider) credential saved."

  4. Verify

    Click Verify to test the key live against the provider. The server's answer is shown.

The trash button removes the key ("Credential removed."). GitHub Copilot is different: there is no pasted key and no Verify. You click Connect and approve with a GitHub device code.

Spend limit

Each key has a Spend limit box showing "$X of $Y this month" and a bar (amber from 90 percent, red at 100 percent). Set an amount, choose Daily, Weekly or Monthly, and click Save ("Spend limit saved."). "Enforced at 100% (calls blocked); you'll get a check-in at 90%. Leave blank for unlimited." Show usage by session lists Session, Last used, Calls and Cost.

Model Defaults

"Choose which model APEX uses for each type of AI task. There is no platform default." Each row has a Provider dropdown, a model picker, Save and Clear. Messages: "Model default saved." and "Model default cleared."

GroupRows
Main usesChat / General (required), Code Generation, Reasoning, Embeddings, Reranking, Image Generation
Sub-agent task modelsExplore, Audit, Plan, Review (each "(sub-agent)")
Context summarizationContext Compaction
Cortex task modelsConversation Titles, Memory Classification, Causal Chain Assembly, Rationale Synthesis, Benchmark Judge

Private LLMs

Add your own model server. Fields: a display name (for example "My Local Ollama"), a base URL (for example http://localhost:11434), an API key, and a default model (for example llama3.2:latest). Messages: "Provider added.", "Provider updated.", "Provider removed.", "Provider verified." If it saves but the check fails: "Provider saved. Verification failed: …". Removing asks "Remove "(name)"?" and says the credential will be deleted.

Model Keys

APEX Model Keys are keys other applications use to call a model through TAO.

  1. Create one

    Open New APEX Model Key, choose "-- Select a model --", add a Label (for example "Dev Testing") and a description.

  2. Copy it now

    The full key is shown once, at creation.

  3. Revoke when done

    Revoke asks "Revoke key "(label)"?" and warns "Any application using this API key will immediately stop working. This cannot be undone." Message: "Key revoked."

Agent limits

"Agents have no step cap. A long run pauses and asks you to continue when it stops making progress, or when it passes a spend, token or time budget. A pause never loses work — Continue picks the run up where it stopped."

SettingMeaning
Pause long runs on spend/timeOn by default. Turn it off and your own chat and coding runs are no longer paused by the budgets.
Spend budget per run (USD)Maximum spend before a pause
Token budget per run (tokens)Maximum tokens
Time budget per run (minutes)Maximum time

Leave a box empty to use the platform default. The hint under each shows the default for Nexus chat and TAO Code and the maximum allowed. Values must be above zero ("Enter a number greater than zero, or leave empty for the platform default."). Click Save ("Agent limits saved."), or Reset. Even when the switch is off, repeat and error checks still pause a stuck run, and Nexus chats pause before the worker's 60-minute limit.

Usage

Pick 7, 30 or 90 days to see a daily chart per provider and a My Models table. Empty: "No LLM usage in this window."

Known gaps