[providers.poolside]
display_name = "Poolside"
adapter = "openai_compatible"
api_key_url = "https://platform.poolside.ai"
base_url = "https://inference.poolside.ai/v1"
priority = 65

[providers.poolside.auth]
credentials = ["env:POOLSIDE_API_KEY", "vault:POOLSIDE_API_KEY"]

[providers.poolside.models."laguna-s-2.1"]
api_id = "poolside/laguna-s-2.1"
display_name = "Laguna S 2.1"
family = "laguna-2"
default = true
aliases = ["laguna", "laguna-s"]

[providers.poolside.models."laguna-s-2.1".limits]
context_window = 1048576
max_output = 131072

[providers.poolside.models."laguna-s-2.1".features]
tools = true
vision = false
reasoning = true
prompt_cache = true
sampling_params = true

# Poolside Platform is free for a limited preview period. Keep the published
# paid hosted rate as Fabro's durable estimate for paid access and post-preview
# usage.
[providers.poolside.models."laguna-s-2.1".costs]
input_cost_per_mtok = 0.10
output_cost_per_mtok = 0.20
cache_input_cost_per_mtok = 0.01

[providers.poolside.models."laguna-xs-2.1"]
api_id = "poolside/laguna-xs-2.1"
display_name = "Laguna XS 2.1"
family = "laguna-2"
small_default = true
probe = true
aliases = ["laguna-xs"]

[providers.poolside.models."laguna-xs-2.1".limits]
context_window = 262144
max_output = 32768

[providers.poolside.models."laguna-xs-2.1".features]
tools = true
vision = false
reasoning = true
prompt_cache = true
sampling_params = true

# Poolside Platform is free for a limited preview period. These are Poolside's
# published paid endpoint rates.
[providers.poolside.models."laguna-xs-2.1".costs]
input_cost_per_mtok = 0.10
output_cost_per_mtok = 0.20
cache_input_cost_per_mtok = 0.05
