CodeLLaMa 7B Instruct Solidity
Built by AlfredPros, CodeLLaMa 7B Instruct Solidity is an chat model with a 4K token context window. A finetuned 7 billion parameters Code LLaMA - Instruct model to generate Solidity smart contract using 4-bit QLoRA finetuning provided by PEFT library.
by AlfredPros · 4K token context window
Best for
- low-latency chat and routing
- request routing and triage
- text classification
Ways to use CodeLLaMa 7B Instruct Solidity in osFoundry
Connect with your own key (BYOK)
Open the key dialog and paste your AlfredPros API key. osFoundry discovers CodeLLaMa 7B Instruct Solidity automatically — assign it to a Maestro role (router, direct, orchestrator, or fallback) in the Pipeline tab and it is live in every chat. Your key, your provider account — no token markup.
Use it in a Room App
Room Apps declare AI features in their manifest, then call them with invokeAI:
import { invokeAI } from '@osfoundry/app-sdk'
// 'summarize' is an AI feature declared in your app manifest.
const result = await invokeAI('summarize', userText)
Call it from your own apps
Once a model is wired into your workspace you can host it as an API and reach it from your own services, scripts, or CI — outside osFoundry.
CodeLLaMa 7B Instruct Solidity vs similar models
| Model | Org | Params | Context | Input price | Self-host |
|---|
| CodeLLaMa 7B Instruct Solidity | AlfredPros | — | 4K | $ 0.800 /1M | API only |
| Qwen3 235B A22B | Qwen | — | 131K | $ 0.455 /1M | API only |
| Grok 3 Mini Beta | xAI | — | 131K | $ 0.300 /1M | API only |
| DeepSeek V3 0324 | DeepSeek | — | 164K | $ 0.200 /1M | API only |
Licence
Hosted — usage subject to provider terms — Hosted-only model — usage governed by the provider's API terms. Bring your own provider key.
No weights distributed; usage subject to provider terms.
Frequently asked about CodeLLaMa 7B Instruct Solidity
How much does CodeLLaMa 7B Instruct Solidity cost?
CodeLLaMa 7B Instruct Solidity is metered at $ 0.800 /1M for input, and $ 1.20 /1M for output. Bring your own AlfredPros API key — osFoundry passes through provider pricing without markup.
Can I use CodeLLaMa 7B Instruct Solidity commercially?
Commercial use is allowed with conditions. Hosted-only model — usage governed by the provider's API terms. Bring your own provider key. No weights distributed; usage subject to provider terms.
What is the context window of CodeLLaMa 7B Instruct Solidity?
CodeLLaMa 7B Instruct Solidity supports a 4K token context window.
Can I run CodeLLaMa 7B Instruct Solidity locally?
No — CodeLLaMa 7B Instruct Solidity is hosted only and accessed via the AlfredPros API.
What is CodeLLaMa 7B Instruct Solidity best at?
CodeLLaMa 7B Instruct Solidity is well-suited to low-latency chat and routing, request routing and triage, text classification.
How do I use CodeLLaMa 7B Instruct Solidity in osFoundry?
Paste your AlfredPros API key in the key dialog (or deploy the open weights for self-hostable models), assign CodeLLaMa 7B Instruct Solidity to a Maestro role in the Pipeline tab, then use it in chat, Room Apps via invokeAI, or your own apps.
Published by AlfredPros on April 14, 2025. Source: https://openrouter.ai/alfredpros/codellama-7b-instruct-solidity