Activate AI with your key Pick a provider and model to copy the CLI command. Web credentials enter a write-only encrypted vault. CLI keys stay in the environment and call the provider directly.
AI Gateway BYOK Use your own Vercel AI Gateway key and its budgets, routing, and provider controls. OpenAI BYOK Send the selected text through your own OpenAI API account. Claude BYOK Send the selected text through your own Anthropic API account.
$ AI Gateway BYOK
model openai/gpt-5.4-mini openai/gpt-5.4 anthropic/claude-haiku-4.5 anthropic/claude-sonnet-4.6 anthropic/claude-opus-4.6 google/gemini-3-flash google/gemini-3-pro other model… catalog: vercel.com/ai-gateway/models · other model… for image, video, or a new slug # CLI · click to copy · key stays in the environment
export TXT_AI_GATEWAY_KEY=…
txt ai setup gateway --model openai/gpt-5.4-mini click to copy $ vault AI Gateway BYOK for the web editor