Back to Models

AlfredPros: CodeLLaMa 7B Instruct Solidity

alfredpros/codellama-7b-instruct-solidity
Apr 14, 20254.1K context4.1K max output$0.80/M in · $1.20/M out

Description

A finetuned 7 billion parameters Code LLaMA - Instruct model to generate Solidity smart contract using 4-bit QLoRA finetuning provided by PEFT library.

Specifications

Provider
alfredpros
Context Length
4.1K
Max Output
4.1K
Modality
Intext
Outtext

Pricing

TypePrice / 1M tokens
Input$0.80
Output$1.20

Quick Start

curl https://api.ominigate.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-omg-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "alfredpros/codellama-7b-instruct-solidity",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'