Use case

Best AI models for function calling

Tool-use models can call external functions, retrieve data, and chain steps. Most also support structured outputs for reliable JSON.

Top 25 models for tool use

#ModelProviderContextInput price / 1MTier
1Tongyi DeepResearch 30B A3BAlibaba131K
Long context (128K+)
$0.09Budget
2Anthropic: Claude Haiku 5.5 (batch)Anthropic1M
Ultra context (1M+)
$0.05Budget
3Apodex: Apodex 1.1 Mini (free)Apodex262K
Long context (128K+)
$0.00Budget
4Arcee AI: Trinity MiniArcee Ai131K
Long context (128K+)
$0.04Budget
5Arcee AI: Trinity Mini (free)Arcee Ai131K
Long context (128K+)
$0.00Budget
6ByteDance Seed: Seed 1.6 FlashBytedance Seed262K
Long context (128K+)
$0.07Budget
7DeepSeek: DeepSeek V4 Flash 0423DeepSeek1.0M
Ultra context (1M+)
$0.09Budget
8DeepSeek: DeepSeek V4 Flash 0731DeepSeek1.0M
Ultra context (1M+)
$0.02Budget
9DeepSeek: DeepSeek V4 Flash 0731 (free)DeepSeek1.0M
Ultra context (1M+)
$0.00Budget
10DeepSeek: DeepSeek V4.1 FlashDeepSeek1.0M
Ultra context (1M+)
$0.04Budget
11Dots Studio: Dots3-Note Preview (free)Dots Studio512K
Long context (128K+)
$0.00Budget
12Google: Gemini 2.0 Flash LiteGoogle1.0M
Ultra context (1M+)
$0.07Budget
13Google: Gemini 2.5 Flash Lite (batch)Google1.0M
Ultra context (1M+)
$0.05Budget
14Google: Gemma 3 12BGoogle131K
Long context (128K+)
$0.05Budget
15Google: Gemma 3 27BGoogle131K
Long context (128K+)
$0.08Budget
16Google: Gemma 4 26B A4BGoogle262K
Long context (128K+)
$0.08Budget
17Google: Gemma 4 26B A4B (free)Google262K
Long context (128K+)
$0.00Budget
18Google: Gemma 4 31BGoogle262K
Long context (128K+)
$0.09Budget
19Google: Gemma 4 31B (free)Google262K
Long context (128K+)
$0.00Budget
20meta-llama/Llama-3.1-8B-InstructMeta131K
Long context (128K+)
$0.05Budget
21OpenAI: gpt-oss-20bOpenAI131K
Long context (128K+)
$0.02Budget
22Qwen: Qwen3 32BQwen131K
Long context (128K+)
$0.08Budget
23IBM: Granite 4.1 8BIbm Granite131K
Long context (128K+)
$0.05Budget
24IBM: Granite 4.2 8BIbm Granite131K
Long context (128K+)
$0.06Budget
25Inception: Mercury 2.5Inception260K
Long context (128K+)
$0.04Budget

Frequently asked questions

What is function calling?

The ability for the model to emit a structured tool-call (e.g. 'search_web("query")') that your app executes and feeds back. Foundation for agents and most RAG pipelines.

Are tool-use and function calling the same?

Yes — different vendors use different names for the same capability. OpenAI calls them 'tools', Anthropic calls them 'tools', Google calls them 'function calling'.

Related use cases

Advertisement