Baltor Get started

Endpoints

Clarifai

A hosted service with its own key and prices. This page lists the addresses it answers, the facts its documentation states, and the setup of each harness.

Addresses and facts

  • OpenAI Chat Completions: https://api.clarifai.com/v2/ext/openai/v1 models.dev, read
Authentication
Authorization: Bearer, with the key in CLARIFAI_PAT models.dev, read
Structured output
Unknown
Tool calling
10 of 12 listed models The share of this provider's models that models.dev records with tool calling. models.dev, read
Rate limits
Unknown
Prices
Unknown
Data retention
Unknown
Documentation
Read the page models.dev, read
Output limits Baltor recorded
Unknown

Harness setup

Replace arcee_ai/AFM/models/trinity-mini with the model you want.

OpenCode

Put this in opencode.json in your project folder:

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "clarifai": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Clarifai",
      "options": {
        "baseURL": "https://api.clarifai.com/v2/ext/openai/v1",
        "apiKey": "{env:CLARIFAI_PAT}"
      },
      "models": {
        "arcee_ai/AFM/models/trinity-mini": {
          "name": "arcee_ai/AFM/models/trinity-mini"
        }
      }
    }
  }
}
  • OpenCode reads any OpenAI-compatible address through the @ai-sdk/openai-compatible package, and an address that speaks the Responses API through @ai-sdk/openai.

From OpenCode documentation, read .

Pi

Put this in ~/.pi/agent/models.json:

{
  "providers": {
    "clarifai": {
      "baseUrl": "https://api.clarifai.com/v2/ext/openai/v1",
      "api": "openai-completions",
      "apiKey": "$CLARIFAI_PAT",
      "models": [
        {
          "id": "arcee_ai/AFM/models/trinity-mini"
        }
      ]
    }
  }
}
  • The apiKey field can name an environment variable as $NAME.

From Pi documentation, read .

Codex

Codex speaks only the Responses API, and Clarifai documents no Responses address. A gateway that offers one can sit in between.

  • Codex speaks the Responses API only: responses is the one supported wire API of a custom provider. Ollama and LM Studio are built in and start with --oss.

From Codex documentation, read .

Claude Code

Claude Code sends Anthropic Messages requests, and Clarifai documents no such address. A gateway that translates to that API can sit in between.

  • Claude Code sends Anthropic Messages requests to ANTHROPIC_BASE_URL. Anthropic says it does not support routing Claude Code to models other than Claude through any gateway, so some features may not work with another model.

From Claude Code documentation, read .

Models it lists

Prices in US dollars per million tokens, input and output, as models.dev, read records them.

ModelInputOutputContextAs of
Trinity Mini arcee_ai/AFM/models/trinity-mini0.045 USD0.150 USD131,072 older than 30 days
MM Poly 8B clarifai/main/models/mm-poly-8b0.658 USD1.11 USD32,768 older than 30 days
DeepSeek OCR deepseek-ai/deepseek-ocr/models/DeepSeek-OCR0.200 USD0.700 USD8,192 older than 30 days
MiniMax-M2.5 High Throughput minimaxai/chat-completion/models/MiniMax-M2_5-high-throughput0.300 USD1.20 USD204,800 older than 30 days
Ministral 3 14B Reasoning 2512 mistralai/completion/models/Ministral-3-14B-Reasoning-25122.50 USD1.70 USD262,144 older than 30 days
Ministral 3 3B Reasoning 2512 mistralai/completion/models/Ministral-3-3B-Reasoning-25121.04 USD0.548 USD262,144 older than 30 days
Kimi K2.6 moonshotai/chat-completion/models/Kimi-K2_60.950 USD4.00 USD262,144 older than 30 days
GPT OSS 120B High Throughput openai/chat-completion/models/gpt-oss-120b-high-throughput0.090 USD0.360 USD131,072 older than 30 days
GPT OSS 20B openai/chat-completion/models/gpt-oss-20b0.045 USD0.180 USD131,072 older than 30 days
Qwen3 Coder 30B A3B Instruct qwen/qwenCoder/models/Qwen3-Coder-30B-A3B-Instruct0.115 USD0.748 USD262,144 older than 30 days
Qwen3 30B A3B Instruct 2507 qwen/qwenLM/models/Qwen3-30B-A3B-Instruct-25070.300 USD0.500 USD262,144 older than 30 days
Qwen3 30B A3B Thinking 2507 qwen/qwenLM/models/Qwen3-30B-A3B-Thinking-25070.360 USD1.30 USD262,144 older than 30 days

Sources of this page