Wiki / Providers & Models

Providers & Models

Apis AI talks to local and external LLMs through a unified provider model. Everything is managed in the Settings, then Providers & Models tab.

Provider Types

Every provider has a type that determines the request format:

TypeFits
OpenAI-compatibleOllama (local), OpenRouter, DeepSeek, Puter, Groq and other OpenAI-compatible APIs.
Anthropic (Claude)The Anthropic Messages API (Claude models).
Google GeminiGoogle's Gemini API.

Predefined providers set the matching type automatically – for a custom provider you choose it yourself.

Creating a Provider

  1. Choose a provider – in the Add provider area, select either a predefined provider or Custom provider.
  2. Enter the Base URL – the endpoint URL (e.g. http://localhost:11434/v1 for Ollama or https://api.deepseek.com).
  3. Add an API key – often not needed for local models, required for cloud providers.
  4. Add – the provider appears as a card and loads its model list.
Missing API Key If a valid key is missing, the model list cannot be loaded. The app then shows a corresponding notice in the provider card.

The Fields in Detail

FieldMeaning
NameFree-form label for the provider in the interface.
Provider / TypePredefined provider or custom provider; determines the request format.
Base URLBase address of the API. Enter without a trailing slash.
API KeyAccess key for the provider. Stored locally.
Context WindowMaximum token count of the model. Use Detect to determine it automatically.
ModelThe model currently selected for this provider.

Via Advanced settings you reach additional options such as the max tokens field and the thinking toggle.

Models, Favorites & Tool Support

Where the Model List Comes From

Apis AI does not ship a fixed model catalog. For OpenAI-compatible providers (DeepSeek, OpenRouter, Ollama, Groq, …) and for Gemini, the app fetches the list live from the provider's /models endpoint whenever the provider loads. Claude uses a built-in list. The selection therefore shows exactly what the provider's API reports.

Example: DeepSeek The DeepSeek API currently reports only two models, deepseek-flash and deepseek-v4-pro. That is why the DeepSeek provider lists exactly two entries – it is not a filter inside Apis AI.

Manual models (local providers only). For local providers (e.g. Ollama or your own local endpoint) you can enter models yourself under Manual models. That list then replaces the API list – it does not add to it; clear the field to show the provider's own list again. For cloud providers such as DeepSeek this field is not shown, so their selection stays exactly the API list.

Local Llama Server

If an OpenAI-compatible provider points at a local llama.cpp server (a base URL on localhost:8080, for example http://localhost:8080/v1), Apis AI starts that server for you as soon as the model list is loaded and nothing answers yet. It uses the llama / llama-server binary from your PATH together with the model you configured.

Apis AI stops the server again when you close the app – but only the one it started itself. That way a local model cannot keep your graphics card's memory occupied after Apis AI has been closed. A server that you started yourself, or one that was already running, is left untouched.

The selected model is really loaded, the server restarts when you switch models, and you can give each model its own server arguments (flags) and presets. Details are on the dedicated page Local Llama Server.

Tip A loaded model can occupy several gigabytes of GPU memory. If another program reports graphics errors while Apis AI is running (for example a game or the Godot editor), check whether a local Llama server is still active and stop it, or switch the provider away from the local endpoint.

Default Provider & Model

Under Default provider & model you define what new chats and workflow steps start with. The default is also shown in the sidebar. In individual chats and workflow nodes you can deviate at any time.

Thinking & Max Tokens Field

Thinking (Extended Thinking)

The thinking toggle makes the model "think" before answering. It is configurable per provider and can be overridden per conversation via the Thinking row in the chat's "+" menu. The provider value serves as the default; the conversation value takes precedence.

Note Whether thinking is available depends on the model. For models without support, the toggle has no effect.

Max Tokens Field

Determines how the maximum output length is transmitted to the model. The Automatic setting detects the appropriate field itself – that is the right choice for most providers.