List All Models
tokencost_list_modelsRetrieve available AI models with pricing data to compare costs across providers and select models for token usage calculations.
Instructions
List all available LLM models with pricing data, optionally filtered by provider.
Args:
provider (string, optional): Filter by provider (e.g., "OpenAI", "Anthropic", "Google")
Returns: List of all models with IDs, names, and providers. Use model IDs with other tools.
Examples:
{} → All 60+ models
{ provider: "Anthropic" } → All Anthropic Claude models
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tokencost_list_models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | No | Filter by provider name |