Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Providers

The platform manages credentials and allowed models. Agent owners can declare a default and named model categories in a version 2 agent definition.

Organization Providers

Organization > Model Providers lists the providers in the platform catalog, such as Anthropic, OpenAI, Google, Google Vertex AI, DeepSeek, Groq, Mistral, and xAI. For each provider you can:

  • Enable or disable it.
  • Choose a credential source, such as your own key or Amodal-managed keys when the plan includes them.
  • Add API keys or base URLs where the provider requires them.
  • Select the models available to the organization.
  • Verify the credentials.

A listed model is not proof of working upstream access. The provider can still reject it as unavailable or unauthorized.

Agent Model

An explicit selection on the hosted agent’s Models page overrides the corresponding definition. If neither supplies a main model, hosted runs use google/gemini-3.8-flash. Local selection is described in Choose a model.

Self-hosted Models

An agent can run on a model you host. Connect it on the agent's Models page by choosing Self-hosted as the model source and then Connect endpoint. Each agent has at most one endpoint, of one of two types:

  • Google Vertex AI endpoint: a Vertex AI dedicated endpoint, such as an open model from Model Garden deployed on your GPUs. Enter the project ID, the region, the endpoint ID, the dedicated endpoint DNS name (dedicatedEndpointDns, shown on the endpoint's Vertex AI page or by gcloud ai endpoints describe), a model ID of your choice (not an Amodal catalog model ID), and a service account key in JSON format. The service account needs the Vertex AI User role (roles/aiplatform.user).
  • Custom OpenAI-compatible endpoint: any server that answers POST <base URL>/chat/completions. Enter a public HTTPS base URL, a bearer API key, and up to five model IDs. Each model ID must match a name the server serves (GET /v1/models). A model ID cannot be an Amodal catalog model ID, so a server that serves a catalog name such as openai/gpt-oss-120b must serve it under another name. For vLLM, set --served-model-name.

Saving tests the endpoint through the Amodal model gateway with one chat completion and one tool call per model. Nothing is saved until both pass, so a failed edit leaves the agent on its last working setting. Test connection runs the same checks on demand. Once the endpoint is saved, choose Self-hosted as the model source to run the agent on one of its models, then save. A tier can also use one of its models. The endpoint cannot be removed while the agent's model or a tier uses it.

All requests go through the Amodal model gateway, which holds the credential. Amodal stores the credential encrypted, never returns it from an API, and never sends it to the agent runtime.

The model server must return OpenAI-style tool calls. For vLLM, start it with --enable-auto-tool-choice and --tool-call-parser <parser> (for example --tool-call-parser=qwen3_coder for Qwen3 models), and with --reasoning-parser for a reasoning model so its reasoning stays out of the reply text.

Keep at least one replica running. An endpoint that scales to zero takes minutes to start, which exceeds the runtime's 45-second wait for the first output, so the first request after a scale-down fails.

Calls to these models are billed like bring-your-own-key calls: the Amodal platform fee per token, with no model cost, since you pay for the hardware directly. Tokens are counted from the usage the endpoint reports. On a Vertex AI endpoint, streamed responses report an estimated input token count that is lower than the real one, and agent chats always stream, so usage rows and fees for that type undercount input tokens.

Effort settings have no effect on these models: the gateway drops the reasoning-effort parameter.

The gateway scopes the endpoint's models to the organization, so any agent in the same organization could call them with its own deploy key.

Tool Schema Compatibility

OpenAI, Anthropic, and Google have separate SDK adapters. Other OpenAI-compatible providers use the OpenAI adapter with a configured base URL. Not every provider accepts every JSON Schema feature.

Native OpenAPI connections send each visible operation's schema as a tool definition. On the Google provider path, the model-facing copy simplifies closed-tuple schemas, because the Google SDK drops their positional item definitions. The runtime validates the actual arguments against the original schema before execution.