mirror of
https://github.com/katanemo/plano.git
synced 2026-04-27 01:36:33 +02:00
add model_aliases to digitalocean_pricing, use model_id as key, warn on missing data at request time
This commit is contained in:
parent
bd335cd8bd
commit
a7903d9271
6 changed files with 59 additions and 20 deletions
|
|
@ -34,9 +34,18 @@ routing_preferences:
|
|||
prefer: fastest
|
||||
|
||||
model_metrics_sources:
|
||||
- type: cost_metrics
|
||||
url: http://localhost:8080/costs
|
||||
refresh_interval: 300
|
||||
- type: digitalocean_pricing
|
||||
refresh_interval: 3600
|
||||
model_aliases:
|
||||
openai-gpt-4o: openai/gpt-4o
|
||||
openai-gpt-4o-mini: openai/gpt-4o-mini
|
||||
anthropic-claude-sonnet-4: anthropic/claude-sonnet-4-20250514
|
||||
|
||||
# Use cost_metrics instead of digitalocean_pricing to supply your own pricing data.
|
||||
# The demo metrics_server.py exposes /costs with OpenAI and Anthropic pricing.
|
||||
# - type: cost_metrics
|
||||
# url: http://localhost:8080/costs
|
||||
# refresh_interval: 300
|
||||
|
||||
- type: prometheus_metrics
|
||||
url: http://localhost:9090
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue