Start here

Choose a model provider

Connect a hosted or local provider, pick a default model, and know who bills usage.

On this page

Connect a model so an agent can answer questions about your project or help with a task. Choose a provider you already use, or connect a local model service you have set up.

Hosted or local?

ProviderA good fit whenWhat to expect
Hosted providerYou already have an account with a model provider.Sign in or add an API key using the option shown. Requests and relevant project context go to that provider, which bills usage under its own terms.
Local providerYou already run a local model service, such as Ollama or LM Studio.Connect the local provider shown in endloop and choose one of its available models. The model service must be set up on your computer.

The provider and model choices shown in the app depend on what is currently available to your account and setup.

Connect and choose a default

  1. During setup, use AI Provider. Later, open Settings → Models & providers.
  2. Choose a provider and follow its sign-in, Add Key, or local connection option.
  3. Select a default model. You can connect more providers or change the default in the same settings area.

For example, if you already run Ollama for local models, connect the Ollama provider and choose a model listed there. If you do not have a local model service set up, connect a hosted provider you can use instead.

The provider receives your prompts and the context needed to answer, such as relevant code, documents, and tool output. Hosted model usage is billed by your provider; an endloop plan does not include provider API charges. See Security and privacy.

If a request fails, check that the provider is connected and the selected model is available to your account. Keep the provider's error message, but never share a full API key when asking for help.

Account sign-in and API keys

In Settings → Models & providers, available account sign-ins include:

  • Codex (ChatGPT): choose browser sign-in or a device code.
  • xAI OAuth: sign in with an xAI account. This is separate from the xAI

API-key provider and uses api.x.ai, not the Grok CLI proxy. API credits may be required even with a Grok subscription; see xAI API pricing.

  • xAI Grok OAuth (SuperGrok or X Premium+): sign in with your xAI account

to use the Grok CLI subscription proxy. This access is unofficial and can result in account restrictions. Subscription eligibility, limits and charges are determined by xAI; no paid-API fallback is performed. Endloop does not display API-equivalent dollar prices as subscription charges. The catalog includes Grok Build and Grok Composer 2.5 Fast; xAI determines whether they are available to your account.

  • Kilo Gateway: complete the provider's device-code sign-in.
  • OpenRouter: sign in in the browser to obtain an API key, or enter an

existing API key.

  • Snowflake Cortex: enter your Snowflake account identifier or account URL,

then approve the browser sign-in. For a China-region account, provide the full snowflakecomputing.cn account URL. The account administrator must allow the Snowflake local application, and Snowflake bills Cortex usage.

as a public, non-confidential application with the redirect URI http://127.0.0.1:54552/callback and the api scope. Enter its application ID in Endloop, then approve the browser sign-in. The api scope grants broad read/write access to your GitLab API resources, not just AI access. Your account needs the appropriate Duo entitlement; self-managed GitLab is not supported by this connection. GitLab determines credit use and charges, so Endloop does not display a per-token dollar price for these models.

For models without known dollar prices, Endloop retains token counts but marks costs as unknown. Organization usage uploads containing unknown costs require an updated cloud usage service.

Provider access, subscription eligibility, model availability, privacy terms, and charges remain subject to the provider. Google warns that third-party use of Gemini CLI OAuth credentials can result in account suspension, and has reported Antigravity bans for third-party access to Antigravity resources. Anthropic requires prior approval for third-party applications offering Claude subscription sign-in. Z.AI's Coding Plan is restricted to its listed supported tools; Endloop is not currently listed. Muse Code subscription credentials are restricted to the Muse Code CLI; other Meta Model API keys are billed separately.

Documentation image