Use Custom Models

Use your own or third-party models for evaluations — via supported providers or a custom API endpoint.

What it is

Custom models are external model integrations that let you use your own or third-party models as the judge in Future AGI evaluations. Two integration paths are supported:

  1. From model provider (recommended) — Direct integration with supported providers (OpenAI, AWS Bedrock, AWS SageMaker, Vertex AI, Azure). Optimized for reliability, automatic updates, and simpler credential management.
  2. Configure custom model (advanced) — Any model behind an API endpoint: self-hosted, fine-tuned, or proxy.

Custom models, once added, are available platform-wide for use in custom evaluations.

Tip

Learn how to define eval rules that use your model: Create custom evals.


Use cases

  • Control cost and compliance — Bring your own model and set token costs so evaluation spend is tracked; keep inference in your chosen region or provider for compliance.
  • Evaluate with a fine-tuned or internal model — Run evals with a model tuned on your domain or hosted in-house by connecting it via the custom model (advanced) option.
  • Unify evals across providers — Add multiple models (e.g. OpenAI and Bedrock) and use the same eval templates against each to compare quality or cost.
  • Proxy or third-party APIs — Connect any API-compatible endpoint (proxy, partner API, or custom deployment) when it isn’t one of the built-in providers.

How to

Choose how you want to connect your model:

Direct integration with OpenAI, AWS Bedrock, AWS SageMaker, Vertex AI, or Azure. Follow the steps below.

Open model configuration and choose provider

In your project, go to model configuration (e.g. Settings or Models) and choose to add a model from a provider. Select your provider; each has its own form (see tabs below).

Configure your OpenAI API key and model; set a custom name and token costs for cost tracking. OpenAI

Connect via AWS credentials; choose a Bedrock model, set name and token costs. AWS Bedrock

Use your SageMaker endpoint; add name and token costs for evaluations. AWS SageMaker

Integrate with Google Cloud Vertex AI; configure model, name, and token costs. Vertex AI

Connect your Azure OpenAI or other Azure model; set name and token costs. Azure

Enter provider credentials and settings

Fill in the provider-specific authentication and options (e.g. API key, region, endpoint) in the form for your provider.

Set custom name and token costs

Give the model a custom name so you can recognise it in the model dropdown. Enter input and output token cost per million tokens so Future AGI can compute cost when running evaluations.

Save

Save the model; it will appear in the model dropdown when you add or run custom evaluations.

Connect any model behind an API endpoint: self-hosted, fine-tuned, or third-party. Use this when integrating endpoints that are not one of the supported providers.

Open custom model configuration

In your project, go to model configuration (e.g. Settings or Models) and choose Configure custom model (or Add custom model) to open the form. Add custom model

Enter model name and API base URL

Model name — A friendly identifier (e.g. mistral-rag-prod) so you can recognise it in selectors and reports. API base URL — The endpoint Future AGI will call (e.g. https://api.my-model-server.com/v1). This is required for evaluations, RAG, and agent calls.

Set token costs

Enter input token cost per million tokens and output token cost per million tokens so Future AGI can compute cost and show usage analytics (e.g. 1.50 for input, 2.00 for output).

Add custom configuration (optional)

If your API needs extra headers or parameters (e.g. Authorization: Bearer ...), use Add custom configuration and add Custom key and Custom value pairs. Use this for auth, multi-tenant routing, or provider-specific options.

Save

Save the model; it will appear in the model dropdown when you add or run custom evaluations.


Field reference

Fields you may see when adding a model (from a provider or custom). Applies to indicates which flow uses the field.

FieldApplies toAboutExample
Model name / Custom nameBothFriendly name for the model in Future AGI; shown in selectors and reports.mistral-rag-prod, my-openai-gpt4
Input token cost per million tokensBothCost of input tokens per 1M tokens; used for cost tracking and analytics.1.50
Output token cost per million tokensBothCost of output tokens per 1M tokens; used with input cost for total cost.2.00
Provider-specific fields (auth, region, model ID, etc.)From providersVary by provider (e.g. API key, region). See provider tabs in Step 1.
API base URLCustom modelEndpoint Future AGI calls for your model (evaluations, RAG, agent calls).https://api.my-model-server.com/v1
Add custom configuration (Custom key & value)Custom modelCustom headers or params (e.g. auth). Key/value pairs.Key: Authorization Value: Bearer sk-...

What you can do next

Was this page helpful?

Questions & Discussion