Set up your AI
Connect Anthropic, OpenAI, Google Gemini, OpenRouter, or Ollama so the agent can build with your own account.
Connect Anthropic, OpenAI, Google Gemini, OpenRouter, or Ollama so the agent can build with your own account.
The agent that builds your apps uses your own AI account: your Claude or ChatGPT plan, or your own API key. You pay your provider directly, with no credits and no markup. You connect a provider after signing up (or, where the install offers them, start on AI credits), and you can change it later in Settings → AI.
On installs with AI credits turned on, you don’t have to connect anything to start: the agent builds on AI credits, the platform’s own AI through OpenRouter. It starts on DeepSeek Flash, and you can pick any other OpenRouter model under AI credits in the model picker. Each organization gets 1 every month. The monthly 5 never expires.
Credits pay for the AI at the provider’s price, with no markup. On DeepSeek Flash a small change costs a few cents; stronger models such as Claude cost more, so the credits go faster. While a project builds on credits, what’s left shows beside the model picker under the chat box: it turns amber below 1 arrives.
When the credits run out, the chat says when the next $1 arrives. To keep building now, connect your own AI in Settings → AI. Once you have, AI credits stays in the model picker as one more choice.
While AI credits are on, each person can own one organization. You can still join as many as you’re invited to.
OneDrop asks Which AI do you use? and shows five icons: Claude, Codex, OpenRouter, Gemini and Ollama. Click the one you have an account with, and OneDrop shows only that provider’s setup, starting with your subscription (or sign-in). If you’d rather use an API key, click the small …instead link under it. Click Choose a different AI to go back to the icons. Once you’ve connected one, OneDrop takes you to the new-project prompt.
In Settings → AI you can:
Keys are encrypted in the database, never sent back to your browser, and only passed to the agent inside your project sandboxes.
Each project runs one of three agents in its sandbox. The agent picker sits under the chat box, left of the model picker, in both the new-project prompt and the project chat. Each task has its own agent and model, picked under its own chat box.
| Agent | Runs | Best for |
|---|---|---|
| OpenCode | Any connected provider except a Claude subscription | Choosing between providers and hundreds of models |
| Claude Code | Claude models only, with an Anthropic API key or your Claude subscription | Building on your Claude Pro or Max plan |
| Codex | OpenAI models only, with your ChatGPT sign-in or an OpenAI API key | OpenAI’s own agent, on your ChatGPT plan |
Each project runs on the model you pick. The picker sits under the chat box, in both the new-project prompt and the project chat.
In the project chat, Auto at the top of a provider’s list lets OneDrop pick the model and reasoning level for each message, from that provider. When you send a message, Jev, a small decision model on OpenRouter, sizes the request, and the run uses:
| Request | Claude | OpenAI | OpenRouter | Gemini | Ollama |
|---|---|---|---|---|---|
| A typo or tiny tweak | Sonnet 5, Low | GPT-6 Luna, Low | Gemini 3.8 Flash, Low | Gemini 3.8 Flash, Low | GLM-5.3, Low |
| A small change | Sonnet 5, Medium | GPT-6 Sol, Medium | Claude Sonnet 5, Medium | Gemini 3.8 Flash, Medium | GLM-5.3, High |
| A new feature | Opus 5.5, High | GPT-6 Sol, High | Claude Opus 5.5, High | Gemini 3.1 Pro, High | GLM-5.3, High |
| A big redesign or hard bug | Opus 5.5, Extra high | GPT-6 Astra, Extra high | Claude Opus 5.5, Extra high | Gemini 3.1 Pro, High | GLM-5.3, Max |
The chat shows what Auto picked for each run, for example “Auto picked Claude Sonnet 5 with low reasoning, for a small change”. Without OpenRouter set up (your connection or the platform’s key), or when Jev doesn’t answer in time, Auto uses the provider’s default model. A model your connection can’t run (for example one a ChatGPT plan doesn’t include) falls back to the default too. Whoever runs OneDrop can change the table (sandbox.auto_models).
Changing the model takes effect on your next message; the agent keeps the conversation. Each model shows its context size and price per million tokens (input/output).
New projects start on the model you picked last. Until you pick one, they start on your subscription’s (or else your default provider’s) default model, set by whoever runs OneDrop (SANDBOX_MODEL_* in Configuration).
OpenRouter reserves the maximum possible cost of each request before running it. If your OpenRouter balance is low, requests can be refused even though the final cost would be small. The chat tells you when this happens; add credits and try again.
To build on your Claude Pro or Max plan, click Use my Claude subscription. There’s nothing to paste: you sign in to Claude from your project, in Claude Code’s own sign-in.
A subscription only works with the Claude Code agent. Anthropic lets its own agent use a subscription, but not other agents like OpenCode.
Above the chat box, click Sign in to Claude. A small panel opens there, and Claude Code starts its own sign-in in your project’s sandbox.
Click Open Claude’s sign-in page. In the new tab, sign in to Claude and approve. Copy the code Claude shows you.
Paste the code into the panel and click Sign in. If Claude turns the code down, the panel gets a fresh sign-in page: open it again for a new code, since each code works once.
The line above the chat box says who Claude Code is signed in as. Send your message.
Prefer a terminal? Click Sign in in the Shell instead in the panel. A new Shell tab runs claude auth login (on a phone, the page switches to Workspace); paste the code there, and once it says Login successful the workspace goes back to Preview.
OneDrop never stores your Claude login: it stays inside Claude Code, in your sandboxes, as Anthropic requires. The code you paste only passes through on its way to Claude Code, works once, and is useless without the secret Claude Code holds for that sign-in. On OneDrop installs that use Docker sandboxes, one sign-in works in all of your projects. On other sandbox providers, sign in once in each project.
If Claude turns down your sign-in, the chat tries your message once more by itself. If Claude Code isn’t signed in, or your sign-in has really expired, the chat tells you to sign in again and Sign in to Claude comes back above the chat box. Once you’ve signed in, the chat picks your message back up by itself (even if you reloaded the page meanwhile), so you don’t need to send it again. Disconnecting Claude in Settings → AI signs Claude Code out of your sandboxes. Claude subscription tokens from claude setup-token can’t be pasted.
To pay per use instead, click Use an Anthropic API key instead and paste a key from console.anthropic.com. OneDrop checks the key with Anthropic before saving it.