{% extends "base.html" %} {% block title %}Get started - Invincible{% endblock %} {% block content %}
Two steps and your AI clients are running through {{ base_url }}.
{% if has_provider and has_key %}Your key routes only through providers you connect β your account, your billing. Pick one to start (you can add more later):
One personal key, pasted into your AI client's config. Shown once β revoke and re-mint anytime.
Claude Code β shell profile
(~/.bashrc, ~/.zshrc) or session:
No /v1 suffix here β Claude appends
/v1/messages itself. Newer Claude Code versions read
ANTHROPIC_AUTH_TOKEN; older ones read
ANTHROPIC_API_KEY instead β if one is ignored, set
the other to the same inv_ key (the gateway accepts
both). Windows PowerShell:
$env:ANTHROPIC_BASE_URL="{{ base_url }}" and
$env:ANTHROPIC_AUTH_TOKEN="β¦". Model slugs are exact:
deepseek-v4.1-flash-free and
deepseek-v4.1-flash:free are different models β copy
the id verbatim from
curl {{ base_url }}/v1/models -H "Authorization: Bearer β¦".
Codex CLI β paste into
~/.codex/config.toml:
The model line above is pre-filled with
your connected default β not a fixed example β switch anytime with
/model. Codex reads the key from that env var β set it
before launching (export INVINCIBLE_API_KEY=β¦ on
Mac/Linux, or on Windows
setx INVINCIBLE_API_KEY "β¦" then open a new terminal;
PowerShell-only session:
$env:INVINCIBLE_API_KEY="β¦"), and restart Codex after
editing the config.
OpenAI SDK (Python etc.) β config or environment:
Works with any OpenAI-compatible client or SDK β
point it at {{ base_url }}/v1 with your
inv_ key.
MCP tools connect separately from chat: add
{{ base_url }}/mcp in your client's MCP settings and
approve it in the browser when prompted. MCP uses OAuth there β
never paste your inv_ key into the MCP settings.
The exact copy-paste config appears here once your key exists.
{% endif %}