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/v1models.dev, read
- Authentication
- Authorization: Bearer, with the key in
CLARIFAI_PATmodels.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.
| Model | Input | Output | Context | As of |
|---|---|---|---|---|
Trinity Mini arcee_ai/AFM/models/trinity-mini | 0.045 USD | 0.150 USD | 131,072 | older than 30 days |
MM Poly 8B clarifai/main/models/mm-poly-8b | 0.658 USD | 1.11 USD | 32,768 | older than 30 days |
DeepSeek OCR deepseek-ai/deepseek-ocr/models/DeepSeek-OCR | 0.200 USD | 0.700 USD | 8,192 | older than 30 days |
MiniMax-M2.5 High Throughput minimaxai/chat-completion/models/MiniMax-M2_5-high-throughput | 0.300 USD | 1.20 USD | 204,800 | older than 30 days |
Ministral 3 14B Reasoning 2512 mistralai/completion/models/Ministral-3-14B-Reasoning-2512 | 2.50 USD | 1.70 USD | 262,144 | older than 30 days |
Ministral 3 3B Reasoning 2512 mistralai/completion/models/Ministral-3-3B-Reasoning-2512 | 1.04 USD | 0.548 USD | 262,144 | older than 30 days |
Kimi K2.6 moonshotai/chat-completion/models/Kimi-K2_6 | 0.950 USD | 4.00 USD | 262,144 | older than 30 days |
GPT OSS 120B High Throughput openai/chat-completion/models/gpt-oss-120b-high-throughput | 0.090 USD | 0.360 USD | 131,072 | older than 30 days |
GPT OSS 20B openai/chat-completion/models/gpt-oss-20b | 0.045 USD | 0.180 USD | 131,072 | older than 30 days |
Qwen3 Coder 30B A3B Instruct qwen/qwenCoder/models/Qwen3-Coder-30B-A3B-Instruct | 0.115 USD | 0.748 USD | 262,144 | older than 30 days |
Qwen3 30B A3B Instruct 2507 qwen/qwenLM/models/Qwen3-30B-A3B-Instruct-2507 | 0.300 USD | 0.500 USD | 262,144 | older than 30 days |
Qwen3 30B A3B Thinking 2507 qwen/qwenLM/models/Qwen3-30B-A3B-Thinking-2507 | 0.360 USD | 1.30 USD | 262,144 | older than 30 days |
Sources of this page
- models.dev/api.json, read
Paid links
No link in this directory is a paid link or an ad, and no listing is paid for. The order and the contents of every list come from the sources named on this page.