Files
pentagi/examples/configs/opencode.provider.yml
Dmitry Ng a4dcfa8178 feat(provider): update OpenCode provider configuration and testing report
- Enhanced OpenCode provider configuration with detailed pricing for various models.
- Updated agent settings to reflect new model assignments and pricing structures.
- Revised testing report to include updated performance metrics and average latencies for agents.
- Adjusted overall success rates and latencies in the report for improved accuracy.
2026-08-04 23:57:58 +03:00

201 lines
3.5 KiB
YAML

# OpenCode Go prices ($/1M tokens) from https://opencode.ai/docs/go/
# Qwen3.7 Plus / GPT 5.6 Luna use the lower (≤256K / ≤272K) tier.
#
# Model | input | output | cache_read | cache_write
# -------------------|--------|--------|------------|------------
# Grok 4.5 | 2.00 | 6.00 | 0.30 | -
# Kimi K3 | 3.00 | 15.00 | 0.30 | -
# Qwen3.8 Max | 2.00 | 6.00 | 0.25 | 2.50
# GLM-5.2 | 1.40 | 4.40 | 0.26 | -
# MiniMax M3 | 0.30 | 1.20 | 0.06 | -
# DeepSeek V4 Pro | 0.435 | 0.87 | 0.003625 | -
# GPT 5.6 Luna | 0.20 | 1.20 | 0.02 | 0.25
# Qwen3.7 Plus | 0.40 | 1.60 | 0.04 | 0.50
# Hy3 | 0.14 | 0.58 | 0.035 | -
# MiMo-V2.5 | 0.14 | 0.28 | 0.0028 | -
# DeepSeek V4 Flash | 0.14 | 0.28 | 0.0028 | -
simple:
model: mimo-v2.5
temperature: 0.3
top_p: 0.9
n: 1
max_tokens: 8192
extra_body:
thinking:
type: disabled
price:
input: 0.14
output: 0.28
cache_read: 0.0028
simple_json:
model: mimo-v2.5
temperature: 0.3
top_p: 0.9
n: 1
max_tokens: 4096
json: true
extra_body:
thinking:
type: disabled
price:
input: 0.14
output: 0.28
cache_read: 0.0028
primary_agent:
model: deepseek-v4-pro
n: 1
max_tokens: 16384
reasoning:
effort: high
extra_body:
thinking:
type: enabled
price:
input: 0.435
output: 0.87
cache_read: 0.003625
assistant:
model: deepseek-v4-pro
n: 1
max_tokens: 16384
reasoning:
effort: high
extra_body:
thinking:
type: enabled
price:
input: 0.435
output: 0.87
cache_read: 0.003625
generator:
model: deepseek-v4-pro
n: 1
max_tokens: 32768
reasoning:
effort: high
extra_body:
thinking:
type: enabled
price:
input: 0.435
output: 0.87
cache_read: 0.003625
refiner:
model: deepseek-v4-pro
n: 1
max_tokens: 32768
reasoning:
effort: high
extra_body:
thinking:
type: enabled
price:
input: 0.435
output: 0.87
cache_read: 0.003625
adviser:
model: qwen3.7-plus
n: 1
max_tokens: 16384
reasoning:
effort: high
extra_body:
thinking:
type: enabled
price:
input: 0.40
output: 1.60
cache_read: 0.04
cache_write: 0.50
reflector:
model: deepseek-v4-flash
temperature: 0.5
top_p: 0.9
n: 1
max_tokens: 8192
extra_body:
thinking:
type: disabled
price:
input: 0.14
output: 0.28
cache_read: 0.0028
searcher:
model: deepseek-v4-flash
temperature: 0.5
top_p: 0.9
n: 1
max_tokens: 4096
extra_body:
thinking:
type: disabled
price:
input: 0.14
output: 0.28
cache_read: 0.0028
enricher:
model: deepseek-v4-flash
temperature: 0.5
top_p: 0.9
n: 1
max_tokens: 4096
extra_body:
thinking:
type: disabled
price:
input: 0.14
output: 0.28
cache_read: 0.0028
coder:
model: minimax-m3
n: 1
max_tokens: 20480
reasoning:
effort: high
extra_body:
thinking:
type: adaptive
price:
input: 0.30
output: 1.20
cache_read: 0.06
installer:
model: deepseek-v4-flash
n: 1
max_tokens: 12288
reasoning:
effort: high
extra_body:
thinking:
type: enabled
price:
input: 0.14
output: 0.28
cache_read: 0.0028
pentester:
model: deepseek-v4-flash
n: 1
max_tokens: 16384
reasoning:
effort: high
extra_body:
thinking:
type: enabled
price:
input: 0.14
output: 0.28
cache_read: 0.0028