Skip to content

Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.

5.1 KB
Raw Blame
################################################################################
# BlackBoxAI Backend Configuration
################################################################################
#
# This file defines the model specifications for BlackBoxAI models.
# It contains model definitions for various language models from different providers
# accessible through the BlackBoxAI API.
#
# Configuration structure:
# - Each model is defined in its own section with the model name as the header
# - Headers with dots must be quoted (e.g., ["gpt-5.2"])
# - Model costs are in USD per million tokens (input/output)
#
# Documentation: https://docs.pipelex.com
# Support: https://go.pipelex.com/discord
#
################################################################################

################################################################################
# MODEL DEFAULTS
################################################################################

[defaults]
model_type = "llm"
sdk = "openai"
structure_method = "instructor/openai_tools"
thinking_mode = "none"

################################################################################
# LANGUAGE MODELS
################################################################################

# --- Anthropic Claude Models --------------------------------------------------
["claude-4.5-sonnet"]
model_id = "blackboxai/anthropic/claude-sonnet-4.5"
inputs = ["text", "images"]
outputs = ["text", "structured"]
costs = { input = 3.00, output = 15.00 }
thinking_mode = "manual"

["claude-4.5-haiku"]
model_id = "blackboxai/anthropic/claude-haiku-4.5"
inputs = ["text", "images"]
outputs = ["text", "structured"]
costs = { input = 1.00, output = 5.00 }
thinking_mode = "manual"

[claude-4-sonnet]
model_id = "blackboxai/anthropic/claude-sonnet-4"
inputs = ["text", "images"]
outputs = ["text", "structured"]
costs = { input = 3.00, output = 15.00 }
thinking_mode = "manual"

["claude-4.5-opus"]
model_id = "blackboxai/anthropic/claude-opus-4.5"
inputs = ["text", "images"]
outputs = ["text", "structured"]
costs = { input = 5.00, output = 25.00 }
thinking_mode = "manual"

["claude-4.6-opus"]
model_id = "blackboxai/anthropic/claude-opus-4.6"
inputs = ["text", "images"]
outputs = ["text", "structured"]
costs = { input = 5.00, output = 25.00 }
thinking_mode = "adaptive"

# --- OpenAI GPT-5 Models ------------------------------------------------------
[gpt-5-mini]
model_id = "blackboxai/openai/gpt-5-mini"
inputs = ["text", "images"]
outputs = ["text", "structured"]
costs = { input = 0.25, output = 2.00 }

[gpt-5]
model_id = "blackboxai/openai/gpt-5"
inputs = ["text", "images"]
outputs = ["text", "structured"]
costs = { input = 1.25, output = 10.00 }

[gpt-5-pro]
model_id = "blackboxai/openai/gpt-5-pro"
inputs = ["text", "images"]
outputs = ["text", "structured"]
costs = { input = 15.00, output = 120.00 }

[gpt-5-codex]
model_id = "blackboxai/openai/gpt-5-codex"
inputs = ["text"]
outputs = ["text", "structured"]
costs = { input = 1.25, output = 10.00 }

["gpt-5.1"]
model_id = "blackboxai/openai/gpt-5.1"
inputs = ["text", "images"]
outputs = ["text", "structured"]
costs = { input = 1.25, output = 10.00 }

["gpt-5.1-codex"]
model_id = "blackboxai/openai/gpt-5.1-codex"
inputs = ["text"]
outputs = ["text", "structured"]
costs = { input = 1.25, output = 10.00 }

["gpt-5.2"]
model_id = "blackboxai/openai/gpt-5.2"
inputs = ["text", "images"]
outputs = ["text", "structured"]
costs = { input = 1.75, output = 14.00 }

["gpt-5.2-pro"]
model_id = "blackboxai/openai/gpt-5.2-pro"
inputs = ["text", "images"]
outputs = ["text", "structured"]
costs = { input = 2.00, output = 16.00 }

# --- Google Gemini Models -----------------------------------------------------
["gemini-2.5-pro"]
model_id = "blackboxai/google/gemini-2.5-pro"
inputs = ["text", "images"]
outputs = ["text", "structured"]
costs = { input = 1.25, output = 10.00 }
thinking_mode = "none"

["gemini-2.5-flash"]
model_id = "blackboxai/google/gemini-2.5-flash"
inputs = ["text", "images"]
outputs = ["text", "structured"]
costs = { input = 0.30, output = 2.50 }
thinking_mode = "none"

# --- MiniMax Models -----------------------------------------------------------
[minimax-m2]
model_id = "blackboxai/minimax/minimax-m2"
inputs = ["text"]
outputs = ["text", "structured"]
costs = { input = 0.27, output = 1.15 }

# --- Qwen Models --------------------------------------------------------------
[qwen3-max]
model_id = "blackboxai/qwen/qwen3-max"
inputs = ["text"]
outputs = ["text", "structured"]
costs = { input = 2.00, output = 10.00 }

[qwen3-coder]
model_id = "blackboxai/qwen/qwen3-coder"
inputs = ["text"]
outputs = ["text", "structured"]
costs = { input = 1.50, output = 8.00 }

# --- Qwen VL Models -------------------------------------------------
[qwen3-vl-235b-a22b]
model_id = "blackboxai/qwen3-vl-235b-a22b"
inputs = ["text", "images"]
outputs = ["text", "structured"]
costs = { input = 3.00, output = 15.00 }

[qwen3-vl-32b]
model_id = "blackboxai/qwen3-vl-32b"
inputs = ["text", "images"]
outputs = ["text", "structured"]
costs = { input = 1.00, output = 5.00 }
structure_method = "instructor/openrouter_structured_outputs"