Use an API key
Pay for June's turns with your own API key from OpenAI, Anthropic, OpenRouter, Requesty, Vercel AI Gateway or any 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 you are an admin of.
Add a key
Providers
Pick OpenAI, Anthropic, OpenRouter, Requesty or Vercel AI Gateway and paste that provider's key. For any other endpoint, pick Custom and enter its base URL (a public https address), whether it speaks the OpenAI-compatible chat completions API or the Anthropic Messages API, a label and the key.
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.
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 (see Pay for an organization).
Remove a key
Choose Remove on the key's row. If it was the source that paid, new chats run on your own plans or June Models again, and a chat the key paid for stops: start a new chat.
What June does not do
- It does not use the key outside the space you added it in.