Reference
Agents, accounts and API keys
Which coding agents run on each machine, how each one signs in, and where API keys go.
Miko runs Claude Code, Codex, Cursor and every other coding agent, plus any API key, on your own accounts. This page lists what each kind of machine runs today.
Which agent runs where
Section titled “Which agent runs where”| Agent | Mac app | Linux Host and Cloud |
|---|---|---|
| Claude Code | Provider setup installs it. Sign in with Claude Pro or Max, or with Anthropic Console (pay per use). | Always on. Claude sign-in, or an Anthropic API key. |
| Codex | Apple silicon. Provider setup installs Miko’s pinned build. Sign in with ChatGPT Plus or Pro. | When it’s turned on for that Host. ChatGPT sign-in, or an OpenAI API key. |
| Grok Build | Provider setup installs it. Sign in with SuperGrok. | When it’s turned on for that Host. Its own sign-in on a Cloud machine. |
| OpenCode | Provider setup installs it. An OpenRouter key, or a key from Other API key. | When it’s turned on for that Host. OpenRouter, an API key from Miko’s list, or a custom endpoint. |
| Antigravity | Apple silicon. Provider setup installs it. A Google account or an ADC file. | When it’s turned on for that Host. Google account, Google Workspace, a Gemini API key or Application Default Credentials. |
A provider in Miko’s list doesn’t mean every sign-in method is offered on every machine. Use the programs and methods the selected machine shows. A missing or unready CLI has to be fixed before an agent can start.
Subscription sign-in and API billing
Section titled “Subscription sign-in and API billing”Sign in through the provider’s own flow. A ChatGPT or Claude subscription is different from API billing. Check the account’s billing label before you start work, especially when the provider offers more than one way to sign in. Miko doesn’t sell model usage.
| Sign-in | Agent | Where |
|---|---|---|
| Claude Pro or Max subscription | Claude Code | Mac app, Linux Host, Cloud |
| Anthropic Console (pay per use) | Claude Code | Mac app, Linux Host, Cloud |
| ChatGPT Plus or Pro subscription | Codex | Mac app (Apple silicon), Linux Host, Cloud |
| SuperGrok subscription | Grok Build | Mac app, Cloud |
| OpenRouter account | OpenCode | Mac app, Linux Host, Cloud |
| Google account or Google Workspace | Antigravity | Mac app (Apple silicon), Cloud |
Anthropic API keys run in Claude Code, and OpenAI API keys run in Codex. Other API keys run in OpenCode.
API-key accounts
Section titled “API-key accounts”In the web app, press Add an API key on Accounts and pick the machine that keeps the key. Then pick a provider, name the account and press Check and add account. The machine checks the key and returns its models. Pick the model when you start an agent.
| Key provider | Agent program | Base URL |
|---|---|---|
| Anthropic | Claude Code | https://api.anthropic.com/v1 |
| OpenAI | Codex | https://api.openai.com/v1 |
| Google Gemini | OpenCode | https://generativelanguage.googleapis.com/v1beta |
| DeepSeek | OpenCode | https://api.deepseek.com |
| Mistral | OpenCode | https://api.mistral.ai/v1 |
| xAI | OpenCode | https://api.x.ai/v1 |
| Groq | OpenCode | https://api.groq.com/openai/v1 |
| Moonshot | OpenCode | https://api.moonshot.ai/v1 |
| Z.ai | OpenCode | https://api.z.ai/api/paas/v4 |
| OpenRouter | OpenCode | https://openrouter.ai/api/v1 |
On a Miko Cloud machine, an OpenCode account takes a key from a much longer list of providers, more than 200, or your own endpoint. A provider in the list doesn’t mean every model works. The account’s checked model list is what the model picker shows.
On the Mac, Other API key adds a key from the same kind of list. OpenCode keeps it in the account’s own profile on that Mac, and Miko never reads it. Keep a key on another machine ↗ opens the web app instead, where you pick the machine that keeps the key.
Your own OpenAI-compatible endpoint
Section titled “Your own OpenAI-compatible endpoint”On a Miko Cloud machine, add an OpenCode account and pick Custom endpoint (OpenAI-compatible). Fill in Endpoint URL with an https:// address. For a server on your own network, an http:// address works when you tick It’s on my own network. Then pick the API: Chat Completions or Responses.
Don’t paste a provider key into a general service-secret field. Provider keys and service connections are handled differently. Use the provider’s own key entry.