All models

AlfredPros: CodeLLaMa 7B Instruct Solidity

by AlfredPros

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

Avg Score

30.0%

1 answers

Avg Latency

6.3s

1 runs

Pricing

$0.80

input

/

$1.20

output

per 1M tokens

Context

4K

tokens

Alternatives

Models with similar or better quality but different tradeoffs

Same Quality, Cheaper

Models with similar or better performance at a lower cost per token.

Same Quality, Faster

Models with similar or better performance but lower latency.

Same Cost, Better

Models at a similar price point with higher benchmark scores.

Other Models from AlfredPros

Compare performance with other models from the same creator

No other models from AlfredPros

This is the only model from this creator in our database

Benchmark Performance

How this model performs across different benchmarks

BenchmarkScoreRank
Westat Test
30.0%
258 / 292

Price vs Performance

Compare cost efficiency across all models

Current model
Other models
X-axis uses log scale for better visualization of price range

Score Over Time

Performance trends across all benchmark runs

Benchmark Activity

Number of benchmark runs over time

Quickstart

Get started with this model using OpenRouter

View on OpenRouter
import { OpenRouter } from "@openrouter/sdk";

const openrouter = new OpenRouter({
  apiKey: "<OPENROUTER_API_KEY>"
});

const completion = await openrouter.chat.completions.create({
  model: "alfredpros/codellama-7b-instruct-solidity",
  messages: [
    {
      role: "user",
      content: "Hello!"
    }
  ]
});

console.log(completion.choices[0].message.content);

Get your API key at openrouter.ai/keys