You can add models to your AgentMark project in two ways: pull pre-configured models from supported providers using the CLI, or define custom model schemas with full control over settings and pricing.Documentation Index
Fetch the complete documentation index at: https://docs.agentmark.co/llms.txt
Use this file to discover all available pages before exploring further.
Pulling built-in models
Use thepull-models command to interactively add models to your agentmark.json:
- Show you the available providers
- Let you select which models to add
- Update
builtInModelsin youragentmark.json
provider/model form — for example, selecting OpenAI’s gpt-4o writes "openai/gpt-4o" to builtInModels, and selecting Ollama’s llama3.1 writes "ollama/llama3.1". The model IDs in the tables below are shown without the provider prefix for readability.
The full set of models comes from AgentMark’s model registry (sourced from LiteLLM and OpenRouter). Run pull-models to see the authoritative list for each provider — the tables below highlight a handful of commonly used IDs.
Supported providers
AgentMark ships provider labels for: OpenAI, Anthropic, Google (including Vertex AI), xAI, Groq, Cohere, Mistral, DeepSeek, Together AI, Ollama, Fireworks, AWS Bedrock, Azure OpenAI, and Perplexity. The tabs below show a subset with example IDs.- OpenAI
- Anthropic
- Google
- Ollama
- xAI
- Groq
Language models:
gpt-4o, gpt-4o-mini, gpt-4-turbo, gpt-3.5-turbo, o1, o3, and moreImage models: dall-e-3, dall-e-2Speech models: tts-1, tts-1-hd, gpt-4o-mini-ttsFor AI SDK and Mastra adapters, you still need to register pulled models in your
agentmark.client.ts with your adapter’s model registry so they work at runtime. The Claude Agent SDK adapter handles registration natively — see Registering models.Custom model schemas
For models not covered by the built-in providers, or when you need custom settings and pricing, define model schemas in youragentmark.json under modelSchemas.
Basic structure
Each model schema includes:- label: Display name shown in the AgentMark Dashboard prompt editor
- cost: Pricing configuration for cost tracking
- settings: Configurable parameters with UI controls
Cost configuration
Thecost object defines pricing for cost tracking:
| Property | Description |
|---|---|
inputCost | Cost per unit for input tokens (USD) |
outputCost | Cost per unit for output tokens (USD) |
unitScale | Number of tokens per unit (e.g., 1000000 = cost per million tokens) |
Settings configuration
Settings define configurable parameters that appear in the Dashboard prompt editor. Each setting has:| Property | Description |
|---|---|
label | Display name shown in the Dashboard |
order | Sort order (ascending — lower values appear first) |
default | Default value |
type | Either "slider" (numeric) or "string" (for select, imageSize, and aspectRatio controls) |
ui | Which control to render: slider, select, imageSize, or aspectRatio |
ui matches one of the supported values above. Settings with any other ui value render as “unsupported”.
The available controls are:
- Slider
- Select
- Image size / aspect ratio
For numeric values with a range:
Complete example
Here’s a full example with a text model and an image model:agentmark.json
Best practices
- Use descriptive labels — make it clear what each setting does in the Dashboard
- Set appropriate ranges — define minimum and maximum values that make sense for your model
- Order settings logically — lower
ordervalues appear first in the prompt editor - Provide sensible defaults — choose default values that work well for most use cases
- Document costs accurately — make sure the cost configuration matches your provider’s pricing
Have Questions?
We’re here to help! Choose the best way to reach us:
- Email us at hello@agentmark.co for support
- Schedule an Enterprise Demo to learn about our business solutions