A finetuned 7 billion parameters Code LLaMA - Instruct model to generate Solidity smart contract using 4-bit QLoRA finetuning provided by PEFT library.
Model details →AlfredPros: CodeLLaMa 7B Instruct Solidity vs Sao10K: Llama 3.1 70B Hanami x1
AlfredPros: CodeLLaMa 7B Instruct Solidity wins on 2 of 6 axes — pricing and capability skew in its favour for most workloads.
This is [Sao10K](/sao10k)'s experiment over [Euryale v2.2](/sao10k/l3.1-euryale-70b).
Model details →Side-by-side comparison
| Capability | AlfredPros: CodeLLaMa 7B Instruct Solidity | Sao10K: Llama 3.1 70B Hanami x1 | Winner |
|---|---|---|---|
| Context window Maximum number of input tokens the model can attend to in a single request. | 4K | 16K | 🏆 Sao10K: Llama 3.1 70B Hanami x1 |
| Input price (per 1M) Cost per million input tokens billed by the provider. | $0.80 | $3.00 | 🏆 AlfredPros: CodeLLaMa 7B Instruct Solidity |
| Output price (per 1M) Cost per million output tokens billed by the provider. | $1.20 | $3.00 | 🏆 AlfredPros: CodeLLaMa 7B Instruct Solidity |
| Tool / function calling First-class support for emitting structured tool calls. | — | — | Tie |
| Vision input Accepts image inputs alongside text. | — | — | Tie |
| Reasoning mode Internal chain-of-thought / extended-thinking support. | — | — | Tie |
Frequently asked questions
Is AlfredPros: CodeLLaMa 7B Instruct Solidity better than Sao10K: Llama 3.1 70B Hanami x1?
AlfredPros: CodeLLaMa 7B Instruct Solidity wins on 2 of 6 axes — pricing and capability skew in its favour for most workloads.
What's the price difference between AlfredPros: CodeLLaMa 7B Instruct Solidity and Sao10K: Llama 3.1 70B Hanami x1?
Input: $0.80 vs $3.00 per 1M tokens. Output: $1.20 vs $3.00 per 1M tokens.
What context windows do AlfredPros: CodeLLaMa 7B Instruct Solidity and Sao10K: Llama 3.1 70B Hanami x1 support?
AlfredPros: CodeLLaMa 7B Instruct Solidity supports up to 4K tokens. Sao10K: Llama 3.1 70B Hanami x1 supports up to 16K tokens.
Do both AlfredPros: CodeLLaMa 7B Instruct Solidity and Sao10K: Llama 3.1 70B Hanami x1 support tool calling?
AlfredPros: CodeLLaMa 7B Instruct Solidity: not advertised. Sao10K: Llama 3.1 70B Hanami x1: not advertised.