Browse guides 05 / 07
Provider reference05 / 07

Agents, accounts and API keys

Pick a supported agent, then connect the account on the machine where it will run.

Which agent runs where

AgentLocal Mac appLinux Host / Cloud
Claude CodeProvider setup installs it. Sign in with Claude Pro or Max, or with Anthropic Console (pay per use).Always available. Claude sign-in, or an Anthropic API key.
CodexApple silicon only. Provider setup installs the official pinned builds. Sign in with ChatGPT Plus or Pro.When enabled on that Host. ChatGPT sign-in, or an OpenAI API key.
Grok BuildProvider setup installs it. Sign in with SuperGrok.On Miko Cloud machines (x64). An xAI API key can also run through OpenCode.
OpenCodeProvider setup installs it. An OpenRouter key, or Other API key.When enabled on that Host. OpenRouter sign-in, or an API key from the catalog below.
AntigravityApple silicon only. Provider setup installs the Antigravity CLI.On Miko Cloud machines (x64), with Google sign-in.

A provider name in a registry does not mean its sign-in method is offered on every machine. Use the programs and methods shown by the selected machine. An unavailable or unready CLI must be resolved before an agent can start.

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 starting work, especially when the provider offers more than one login option. Miko does not sell model usage.

Sign-inAgentWhere
Claude Pro or Max subscriptionClaude CodeMac app, Linux Host, Cloud
Anthropic Console (pay per use)Claude CodeMac app, Linux Host, Cloud
ChatGPT Plus or Pro subscriptionCodexMac app (Apple silicon), Linux Host, Cloud
SuperGrok subscriptionGrok BuildMac app, Cloud
OpenRouter accountOpenCodeMac app, Linux Host, Cloud
Google accountAntigravityMac app (Apple silicon), Cloud

OpenCode runs OpenRouter keys and, in the Mac app, Other API key accounts from OpenCode’s provider list. Direct Anthropic API accounts use Claude Code; direct OpenAI API accounts use Codex.

API-key accounts

In the web app, choose Add an API key and select the machine that will keep the key. Then choose a provider, give the account a name and select Check and add account. The machine checks the key and returns its model choices. Pick the model when starting an agent. Availability depends on that Host’s API-key capability and provider programs.

Key providerAgent programBase URL
AnthropicClaude Codehttps://api.anthropic.com/v1
OpenAICodexhttps://api.openai.com/v1
Google GeminiOpenCodehttps://generativelanguage.googleapis.com/v1beta
DeepSeekOpenCodehttps://api.deepseek.com
MistralOpenCodehttps://api.mistral.ai/v1
xAIOpenCodehttps://api.x.ai/v1
GroqOpenCodehttps://api.groq.com/openai/v1
MoonshotOpenCodehttps://api.moonshot.ai/v1
Z.aiOpenCodehttps://api.z.ai/api/paas/v4
OpenRouterOpenCodehttps://openrouter.ai/api/v1

These are the common key providers. In the Mac app, Other API key adds the rest of OpenCode’s provider list. A listed provider does not imply support for every model or every authentication method it offers. The account’s checked model list is the source for the model picker.

In the Mac app, choose Add an account, then OpenRouter or Other API key. OpenCode keeps the key in that account’s own profile on the Mac, and Miko never reads it. On the Mac, Claude Code can also bill through Anthropic Console.

Custom OpenAI-compatible endpoints

Do not paste a provider key into a general service-secret field. Provider credentials and service connections have different handling. Add AI provider keys in Accounts.