AlfredPros: CodeLLaMa 7B Instruct Solidity✓ Catalog verified
A finetuned 7 billion parameters Code LLaMA - Instruct model to generate Solidity smart contract using 4-bit QLoRA finetuning provided by PEFT library.
Overview
A finetuned 7 billion parameters Code LLaMA - Instruct model to generate Solidity smart contract using 4-bit QLoRA finetuning provided by PEFT library.
Access: available through the official Alfredpros API. Context window: 4K.
Specifications
| API identifier | alfredpros/codellama-7b-instruct-solidity |
| Provider | Alfredpros |
| Model type | Text LLM |
| Context window | 4K catalog |
| Input modalities | text |
| Output modalities | text |
| Released | Apr 14, 2025 |
| Instruction format | alpaca |
| Moderated | No |
| Architecture modality | text->text |
Pricing
Live pricing components for alfredpros/codellama-7b-instruct-solidity as published in the catalog.
| Pricing component | Raw unit price | Normalized | Unit |
|---|---|---|---|
| Prompt tokens | $8e-7 | $0.80 / 1M | Per input token |
| Completion tokens | $0.0000012 | $1.20 / 1M | Per output token |
| Request fee | N/A | N/A | Per request |
| Image fee | N/A | N/A | Per image unit |
| Web search fee | N/A | N/A | Per search request |
Cost calculator
Estimate monthly spend from your own token volumes.
Estimated Total Cost
$0.64Calculated from current list pricing in the ModelsAtlas catalog.Capabilities
| Capability | Status | What it means |
|---|---|---|
| Visual Understanding | Not advertised | Image and document analysis support |
| Audio Processing | Not advertised | Speech and voice aligned flows |
| Tool Calling | Not advertised | Supports tools / function calling |
| Self-Hosting | Not advertised | Deploy outside managed APIs |
Capability signals
Directional signals derived from model metadata and capability tags — not official benchmark submissions.
Quick start
Call AlfredPros: CodeLLaMa 7B Instruct Solidity through an OpenAI-compatible client.
from openai import OpenAI
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key="YOUR_API_KEY"
)
response = client.chat.completions.create(
model="alfredpros/codellama-7b-instruct-solidity",
messages=[{"role": "user", "content": "Explain quantum physics."}]
)
print(response.choices[0].message.content)Alternatives
Closest models by context window from a different provider.
| Model | Provider | Context | Input /1M | Actions |
|---|---|---|---|---|
| EleutherAI: Llemma 7b | Eleutherai | 4K | $0.80 | View → |
| MythoMax 13B | Gryphe | 4K | $0.06 | View → |
Sources & attribution
Pricing and metadata are maintained in the ModelsAtlas catalog.
Frequently asked questions
How much does AlfredPros: CodeLLaMa 7B Instruct Solidity cost?
$0.80 per 1M input tokens and $1.20 per 1M output tokens on the official Alfredpros API.
What is the context window of AlfredPros: CodeLLaMa 7B Instruct Solidity?
AlfredPros: CodeLLaMa 7B Instruct Solidity supports up to 4K tokens of context.
Does AlfredPros: CodeLLaMa 7B Instruct Solidity support tool / function calling?
AlfredPros: CodeLLaMa 7B Instruct Solidity does not advertise first-class tool/function calling. Check vendor docs for the latest capabilities.
How do I access AlfredPros: CodeLLaMa 7B Instruct Solidity?
Use the official Alfredpros API with the model id `alfredpros/codellama-7b-instruct-solidity`. See the Quick start section above for code examples.