Best AI Models for Tool Calling and Function Calling
Model rankings updated based on real usage data.
Models in this tool calling collection are ranked by total prompt and completion tokens processed through the OpenRouter API over the trailing 7 days. Showing the top 20 models. Rankings measure usage on OpenRouter and reflect adoption, not model quality or benchmark performance.
The most-used AI models for tool calling are ranked below by real usage on OpenRouter over the past week. The current top models are DeepSeek V4.1 Flash 1017, Hy4 flash, and DeepSeek V4.1 Flash. Tool calling, also known as function calling, lets a model request an external tool, which your system runs before returning the result for the model to answer with. Every model listed supports tool calls, and OpenRouter standardizes the interface across providers, so agents keep one integration.
Top Tool Calling Models on OpenRouter
Frequently asked questions
Models on this page are filtered to those that list tools in supported_parameters and ranked by weekly token usage on OpenRouter. Compare context length and per-token pricing on each listing, or browse the full filtered list on the Models page.
Pass your tool definitions in tools on POST /api/v1/chat/completions or POST /api/v1/responses. The model returns tool call requests with arguments; your application runs each tool and sends the results back so the model can finish the answer. OpenRouter normalizes the interface across providers — see the tool calling guide for full examples.
Call GET /api/v1/models?supported_parameters=tools to list every model that supports function calling along with its context length and pricing. You can combine supported_parameters=tools with sort=throughput-high-to-low or other filters in the Models API guide.
Yes. Several :free and budget models support tools. Compare per-token pricing on each listing above, filter by price on the Models page, or browse zero-cost options in the free models collection.
No. One OpenRouter API key works across every tool-calling model and provider, so your agent can switch models by changing the model string. Create a key on your API keys page.