Files
librefang-registry/providers/allenai.toml
T
Evan aa5822992a fix: route OpenRouter-only providers through OpenRouter API (#38)
Providers without their own public API now use OpenRouter as their
base_url with OPENROUTER_API_KEY, making them testable and usable
when the user has an OpenRouter key configured.

- 20 OpenRouter-only providers: set base_url to openrouter.ai/api/v1
- morph: set correct official API (api.morphllm.com/v1)
- sync-pricing.py: default to OpenRouter routing for new providers
2026-04-02 23:41:25 +08:00

49 lines
1.1 KiB
TOML

# allenai — auto-generated from OpenRouter API
[provider]
id = "allenai"
display_name = "Allenai"
api_key_env = "OPENROUTER_API_KEY"
base_url = "https://openrouter.ai/api/v1"
key_required = true
[[models]]
id = "olmo-2-0325-32b-instruct"
display_name = "AllenAI: Olmo 2 32B Instruct"
tier = "fast"
context_window = 128000
max_output_tokens = 16384
input_cost_per_m = 0.05
output_cost_per_m = 0.2
supports_streaming = true
[[models]]
id = "olmo-3-32b-think"
display_name = "AllenAI: Olmo 3 32B Think"
tier = "fast"
context_window = 65536
max_output_tokens = 65536
input_cost_per_m = 0.15
output_cost_per_m = 0.5
supports_streaming = true
[[models]]
id = "olmo-3.1-32b-instruct"
display_name = "AllenAI: Olmo 3.1 32B Instruct"
tier = "fast"
context_window = 65536
max_output_tokens = 16384
input_cost_per_m = 0.2
output_cost_per_m = 0.6
supports_streaming = true
[[models]]
id = "olmo-3.1-32b-think"
display_name = "AllenAI: Olmo 3.1 32B Think"
tier = "fast"
context_window = 65536
max_output_tokens = 65536
input_cost_per_m = 0.15
output_cost_per_m = 0.5
supports_streaming = true