Skip to content
← Models
Open weightsNEXA AI/10 trustMetrics-checked

Octopus v2

2B on-device function-calling model with GPT-4-class accuracy.

Visit official page →

About

Octopus v2 was released by Nexa AI in 2024 (arXiv 2404.01744) as a 2-billion-parameter language model specialized for function calling on edge devices. Its key innovation is the 'functional token' strategy: instead of stuffing tens of thousands of tokens of API descriptions into context via RAG, the model learns mappings from functional tokens to function descriptions, achieving 98-100% function-call accuracy comparable to GPT-4 while running in 1.1-1.7 seconds on a standard Android phone.

Benchmarks claimed 36x faster inference than a Llama-7B-plus-RAG pipeline on a single A100. Note the license caveat: the reference implementation loads it as a Gemma-family model, so check the Hugging Face model card for the exact license terms before commercial use.

Specs

Context window

Pricing

Free quota

API access

Weights

Open weights

Released

June 1, 2024

Benchmarks

Provider-reported unless a source says otherwise. Benchmarks are marketing-adjacent by nature — treat them as directional.

Use cases

on-device-agentsfunction-callingandroid-automation

Trust score — 7/10

/10 trustMetrics-checked

Scored 7/10 (metrics tier, metrics-v1). Evidence: Verified via vendor site/docs/GitHub and reputable coverage, wave 75; Trending score 68/100 from researcher assessment.

Sources