Codellama 7b Instruct Solidity
A finetuned 7 billion parameters Code LLaMA - Instruct model to generate Solidity smart contract using 4-bit QLoRA finetuning provided by PEFT library.
Pricing
💱 匯率 USD/NTD = 32.34 · 不含稅 · 更新於 2026/07/22
Technical specifications
Quick Start
Use Codellama 7b Instruct Solidity via BazaarLink API — just change the base_url:
from openai import OpenAI
client = OpenAI(
base_url="https://bazaarlink.ai/api/v1",
api_key="sk-bl-YOUR_API_KEY",
)
response = client.chat.completions.create(
model="codellama-7b-instruct-solidity",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://bazaarlink.ai/api/v1",
apiKey: "sk-bl-YOUR_API_KEY",
});
const response = await client.chat.completions.create({
model: "codellama-7b-instruct-solidity",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);Why use Codellama 7b Instruct Solidity via BazaarLink?
- ✓USD billing (TWD-quoted) + unified invoices — no foreign credit card needed for Taiwan teams
- ✓OpenAI-compatible API — zero code changes required
- ✓Automatic failover — multi-provider redundancy for the same model
- ✓Chinese-language support — local team, instant help
Frequently Asked Questions
What is Codellama 7b Instruct Solidity?
A finetuned 7 billion parameters Code LLaMA - Instruct model to generate Solidity smart contract using 4-bit QLoRA finetuning provided by PEFT library.
How much does the Codellama 7b Instruct Solidity API cost?
Codellama 7b Instruct Solidity costs $0.8000 per 1K input tokens and $1.2000 per 1K output tokens when accessed through BazaarLink.
How do I use Codellama 7b Instruct Solidity with the OpenAI SDK?
Set base_url to "https://bazaarlink.ai/api/v1" and use model ID "codellama-7b-instruct-solidity". All OpenAI SDK methods (chat.completions, embeddings, streaming) work without code changes.
What is the context window for Codellama 7b Instruct Solidity?
Codellama 7b Instruct Solidity supports a context window of 4,096 tokens.
Is Codellama 7b Instruct Solidity available for free?
Codellama 7b Instruct Solidity is a paid model. BazaarLink offers free trial credits on registration so you can test it without a credit card.