Use an API key
Pay for June's turns with your own API key from OpenAI, OpenRouter, Requesty or another OpenAI-compatible endpoint.
Add an API key as a funding source, pick it, and it pays for every turn in that space: your personal space, or an organization MODUS offers API keys to, where you are an admin or its billing manager (Pay for an organization).
Add a key
Providers
New keys must use the OpenAI-compatible chat completions API. Pick OpenAI, OpenRouter or Requesty and paste that provider's key. For another OpenAI-compatible endpoint, pick Custom and enter its base URL (a public https address), a label and the key. For Claude models, use a router such as OpenRouter. Previously saved Anthropic keys remain usable and say so on their row; June does not accept new keys in the Anthropic Messages format.
You do not type model names: June reads them from the endpoint when it checks the key. A compatible chat API alone is not enough: the endpoint must also let June list at least one model with that key. When the endpoint describes capabilities, June keeps models that support text chat and tools and uses their names and reasoning options in the picker.
Use it
While the key pays, the model picker shows one group, named after the key's label, with the models the endpoint listed. Nothing else is offered in that space until you pick No funding source.
If the check fails, read the reason on the key's row. Check the key's access and, for a custom endpoint, its base URL and protocol, then choose Verify again. A key that failed cannot pay. For a newly added key, a successful check does not select it: pick it in the list. If a working key later stops paying, turns in that space stop rather than move to another source: fix the key, pick another source or pick No funding source (see When a source cannot pay).
Remove a key
Choose Remove on the key's row, then Remove source. If it was the source that paid, the space needs another funding option before June can run again. In your personal space a connected plan can also pay; organizations need a selected source. A chat the key paid for stops: start a new chat after setting up funding.
What June does not do
- It does not use the key outside the space you added it in.
Use your ChatGPT or Claude plan
Connect the ChatGPT or Claude Pro/Max plan you already pay for, and June runs your chats on it. No API key needed.
Use June models or June auto
Let June pay through its own inference endpoint: June models lists the models by name, June auto offers June Smart and June Cheap.