Providers
Model providers and plans supported by Letta Code
Letta API
Section titled “Letta API”The Letta API supports a wide range of model providers, including OpenAI, Anthropic, Google Gemini, zAI, and more (view the full list of available models). Users on a Letta Pro Plan or Letta Max Plan can directly access any model on the Letta API through their subscription, and pay for additional usage via pay-as-you-go credits (view usage page to configure auto top-up).
BYOK authentication
Section titled “BYOK authentication”You can also add your own LLM API provider keys via the /connect command.
This allows you to use your own API keys for the following providers:
- OpenAI
- Anthropic
- Google Gemini
- Z.ai
- Minimax
- OpenRouter
- Claude on Amazon Bedrock
- Azure OpenAI
- Together AI
You can also use Letta Code with existing OpenAI ChatGPT Pro/Plus plans (includes Codex usage) and the zAI GLM + Minimax Coding Plans.
Codex (ChatGPT Pro / Plus)
Section titled “Codex (ChatGPT Pro / Plus)”Connect your ChatGPT Pro / Plus subscription to use OpenAI models with your existing plan.
Authentication
Section titled “Authentication”Use the /connect command to authenticate with OpenAI:
> /connect codexThis will open a browser window to authorize Letta Code with your OpenAI account.
Once connected, your ChatGPT Pro / Plus plan quota will be used for OpenAI models with the provider name chatgpt-pro-plus.
To disconnect from your OpenAI account, you can run:
> /disconnect codexzAI GLM Coding Plan
Section titled “zAI GLM Coding Plan”To connect your zAI GLM Coding Plan, simply run /connect, then select zAI to connect your zAI API key.
Minimax Coding Plan
Section titled “Minimax Coding Plan”To connect your Minimax Coding Plan, simply run /connect, then select Minimax to connect your Minimax API key.