A 13B open model beat GPT-4 at zero-shot function calling on Nexusflow’s benchmark
Made by Nexusflow
The result
The story
One call, sometimes nested
Many agent jobs come down to one step: turn a request into the exact call to a software tool. Sometimes calls nest, so one function’s output becomes another’s argument.

Nexusflow released NexusRaven-V2, a 13B model for this job, in December 2023, with a benchmark of nine tasks on real APIs, many of them security tools. People wrote the requests, and none of the functions were in the training data, so every test is zero-shot.
Small model
NexusRaven-V2-13B
13B · Nexusflow
Instruction-tuned on data built from open code
- Base
- CodeLlama-13B-Instruct (Meta)
Data
Training data
not disclosed
Generated by Nexusflow from open code
No output from GPT-4 or other proprietary models, Nexusflow says.
Training
Instruction tuning
Details, steps and learning rate not published
Not reported: hardware, time and cost.
The test
Evaluation
542 public requests, plus an internal task of unstated size
- Test set
- Nexus Function Calling Benchmark: 9 tasks, 8 of them public
- Metric
- Accuracy: the generated call, when run, must match the reference call
- How it was compared
- Same tasks and checker for both. GPT-4 got instructions and the same function docs, no temperature set; NexusRaven-V2 decoded greedily.
Large model
GPT-4
Size not disclosed · OpenAI
Used as released through OpenAI’s API (‘gpt-4’, an alias of gpt-4-0613), asked for the call only
NexusRaven-V2 averaged 58.20% against GPT-4’s 54.18%, with the biggest gap on nested calls (46.00% vs 38.93%). GPT-4 still won two tasks, VirusTotal and NVD lookups, and the two tied on OTX.
The weights, the evaluation notebook and eight of the nine tasks are public. No cost, latency or hardware figures were published.
All the numbers
Show all numbersHide all numbersEvery model · Cost, latency and energy · 3 more results
Every model on the headline test
Cost, latency and energy, as reported
- Cost
- Not reported
- Latency
- Not reported
- Energy
- Not reported
More from the source
Nested call tasks
Small model 46Large model 38.93 %
Model card chart, ‘Nested Call Tasks’; this is the ‘up to 7%’ claim
Single and parallel call tasks
Small model 67.96Large model 66.39 %
Model card chart, ‘Single and Parallel Call Tasks’
Per task, NexusRaven-V2 vs GPT4-1106 (fractions as written in the leaderboard source)
Small model Climate 0.7021; Places_API 0.5000; OTX 0.9022; VirusTotal 0.8013; VT_Multi_Dependency 0.3878; VT_Multi_Disconnected 0.4286; CVECPE 0.6667; CVECPE_Multi_Dependency 0.2500; Heldout_Combined 0.5990Large model Climate 0.6809; Places_API 0.4375; OTX 0.9022; VirusTotal 0.8800; VT_Multi_Dependency 0.3673; VT_Multi_Disconnected 0.2857; CVECPE 0.7700; CVECPE_Multi_Dependency 0.0714; Heldout_Combined 0.4814 fraction correct
GPT-4 is ahead on VirusTotal and CVECPE; tie on OTX. ‘Heldout_Combined’ is not explained in the source.
Leaderboard Space source, app.py, RESULTS
Worth knowing
- Vendor-run, on the vendor’s own benchmark; no paper and no independent reproduction.
- The headline numbers are only in a chart image on the model card; per-task numbers are in the leaderboard’s source code.
- Not a clean sweep: GPT-4 scored higher on VirusTotal (0.8800 vs 0.8013) and CVECPE (0.7700 vs 0.6667), and tied on OTX.
- The GPT-4 snapshot is known only from the leaderboard label (GPT4-1106), which is from late 2023.
3 more caveats
- GPT-4’s per-task scores swing between runs (the README’s own warning); the average lead is 58.20% vs 54.18%.
- ‘7%’ is percentage points on nested-call tasks (46.00% vs 38.93%). The model card says ‘by 7%’; the blog and README say ‘up to 7%’.
- It is not stated whether the internal The Stack task is included in the chart’s averages.
Weights on Hugging Face
Base model: https://huggingface.co/codellama/CodeLlama-13b-Instruct-hf. Licence: Nexusflow community license (the card calls it commercially permissive). Benchmark leaderboard: https://huggingface.co/spaces/Nexusflow/Nexus_Function_Calling_Leaderboard
- Nexusflow/NexusRaven-V2-13BNexusRaven-V2-13B
Sources
- NexusRaven-V2-13B model card (Hugging Face)
- Nexusflow, ‘NexusRaven-V2: Surpassing GPT-4 for Zero-shot Function Calling’, 5 Dec 2023 (Internet Archive copy)
- NexusRaven-V2 GitHub README (benchmark, evaluation notebook)
- Nexus Function Calling Leaderboard (Hugging Face Space; numbers in app.py)
- Nexusflow blog post ‘NexusRaven-V2: Surpassing GPT-4 for Zero-shot Function Calling’, 5 Dec 2023 (read via the Internet Archive; nexusflow.ai did not respond on 03 Oct 2026). Model card and GitHub README carry the same claim.