---
title: "Use your own Anthropic or OpenAI key with Tex"
description: "Yes. Add your organization's Anthropic or OpenAI key in Settings and your provider bills you for tokens. Without one, Tex's key is billed to your credit at the provider's price plus 15%."
updated: 2026-11-29
questions:
  - "Can I use my own Anthropic or OpenAI key?"
  - "Can I bring my own API key to an AI agent platform?"
  - "Which models can Tex agents use?"
url: https://trytex.ai/answers/bring-your-own-anthropic-or-openai-key
---
# Use your own Anthropic or OpenAI key with Tex

*Updated 2026-11-29. Written by the team that builds Tex.*

**Short answer:** yes. An organization's admin adds its own Anthropic or OpenAI key on the console's Settings page, and it wins over Tex's key. Tokens are then billed by your provider under your agreement with them, and Tex charges only run minutes at $0.01. Without your own key, Tex's key covers the tokens, charged to your credit at the provider's list price plus 15%.

## How models and keys work in Tex

- **Each agent picks its model.** Claude models run in Claude Code; OpenAI models run in Codex. The curator can run on either.
- **Calls go through Tex's model proxy,** which holds each agent to its token budget. The key is kept in AWS Secrets Manager and added by the proxy; it never enters the agent's sandbox.
- **Data terms follow the key.** With your own key, your agreement with Anthropic or OpenAI governs how they handle the text. With Tex's key, Tex's agreement does. Tex stores no files at a model provider.

## Questions people ask

**Can I mix providers?**
Yes. One agent can run on Claude and another on an OpenAI model in the same organization.

**Do budgets still apply with my own key?**
Yes. The proxy enforces each agent's limits whichever key pays.

**Does web search work on both?**
Tex's proxy serves web search for Claude models. Agents on OpenAI models don't get it through Tex.

[Try Tex with $10 of free credit](https://trytex.ai/?utm_source=answers&utm_medium=aeo&utm_campaign=bring-your-own-anthropic-or-openai-key)
