reconfigure models.json with real openrouter pricing
- replace example profiles with actual configs: minimax-m2.7, claude-sonnet-4.5, gemini-3-flash-preview, deepseek-v4-pro, deepseek-v4-flash - prices fetched from OpenRouter API and converted to per-million-token - add local qwen3-8b and qwen2.5-7b profiles (price 0) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>main
parent
ae1005aab7
commit
ff81d2af09
80
models.json
80
models.json
|
|
@ -1,42 +1,72 @@
|
|||
[
|
||||
{
|
||||
"Name": "ollama-qwen",
|
||||
"source": "ollama",
|
||||
"BaseApiUrl": "http://localhost:11434/v1",
|
||||
"ApiKey": "ollama",
|
||||
"model": "qwen2.5:7b-instruct",
|
||||
"input_price": 0,
|
||||
"output_price": 0,
|
||||
"price_unit": "USD"
|
||||
},
|
||||
{
|
||||
"Name": "openrouter-claude-sonnet",
|
||||
"Name": "minimax-m2.7",
|
||||
"source": "openrouter",
|
||||
"BaseApiUrl": "https://openrouter.ai/api/v1",
|
||||
"ApiKey": "",
|
||||
"model": "anthropic/claude-3.5-sonnet",
|
||||
"model": "minimax/minimax-m2.7",
|
||||
"input_price": 0.279,
|
||||
"output_price": 1.2,
|
||||
"price_unit": "USD"
|
||||
},
|
||||
{
|
||||
"Name": "claude-sonnet-4.5",
|
||||
"source": "openrouter",
|
||||
"BaseApiUrl": "https://openrouter.ai/api/v1",
|
||||
"ApiKey": "",
|
||||
"model": "anthropic/claude-sonnet-4.5",
|
||||
"input_price": 3.0,
|
||||
"output_price": 15.0,
|
||||
"price_unit": "USD"
|
||||
},
|
||||
{
|
||||
"Name": "openai-gpt-4o",
|
||||
"source": "openai",
|
||||
"BaseApiUrl": "https://api.openai.com/v1",
|
||||
"Name": "gemini-3-flash-preview",
|
||||
"source": "openrouter",
|
||||
"BaseApiUrl": "https://openrouter.ai/api/v1",
|
||||
"ApiKey": "",
|
||||
"model": "gpt-4o",
|
||||
"input_price": 2.5,
|
||||
"output_price": 10.0,
|
||||
"model": "google/gemini-3-flash-preview",
|
||||
"input_price": 0.5,
|
||||
"output_price": 3.0,
|
||||
"price_unit": "USD"
|
||||
},
|
||||
{
|
||||
"Name": "deepseek-chat",
|
||||
"source": "deepseek",
|
||||
"BaseApiUrl": "https://api.deepseek.com/v1",
|
||||
"Name": "deepseek-v4-pro",
|
||||
"source": "openrouter",
|
||||
"BaseApiUrl": "https://openrouter.ai/api/v1",
|
||||
"ApiKey": "",
|
||||
"model": "deepseek-chat",
|
||||
"input_price": 2.0,
|
||||
"output_price": 8.0,
|
||||
"price_unit": "CNY"
|
||||
"model": "deepseek/deepseek-v4-pro",
|
||||
"input_price": 0.435,
|
||||
"output_price": 0.87,
|
||||
"price_unit": "USD"
|
||||
},
|
||||
{
|
||||
"Name": "deepseek-v4-flash",
|
||||
"source": "openrouter",
|
||||
"BaseApiUrl": "https://openrouter.ai/api/v1",
|
||||
"ApiKey": "",
|
||||
"model": "deepseek/deepseek-v4-flash",
|
||||
"input_price": 0.1,
|
||||
"output_price": 0.2,
|
||||
"price_unit": "USD"
|
||||
},
|
||||
{
|
||||
"Name": "qwen3-8b",
|
||||
"source": "local",
|
||||
"BaseApiUrl": "https://openai.iconsz.com/ollama3090/v1",
|
||||
"ApiKey": "ollama",
|
||||
"model": "qwen3:8b",
|
||||
"input_price": 0,
|
||||
"output_price": 0,
|
||||
"price_unit": "USD"
|
||||
},
|
||||
{
|
||||
"Name": "qwen2.5-7b",
|
||||
"source": "local",
|
||||
"BaseApiUrl": "https://openai.iconsz.com/ollama3090/v1",
|
||||
"ApiKey": "ollama",
|
||||
"model": "qwen2.5:7b-instruct",
|
||||
"input_price": 0,
|
||||
"output_price": 0,
|
||||
"price_unit": "USD"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in New Issue