Phind CodeLlama 34B v2
Phind CodeLlama 34B v2. Highly tuned CodeLlama variant focused on retrieval-augmented developer assistant workflows.
Phind CodeLlama 34B v2 is code AI model from Replicate, priced at €0.000 per 1M input tokens with a 16.4K tokens context window.
Pricing
API Integration
Use our OpenAI-compatible API to integrate Phind CodeLlama 34B v2 into your application.
npm install railwailimport railwail from "railwail";
const rw = railwail("YOUR_API_KEY");
// Simple — just pass a string
const reply = await rw.run("phind-codellama-34b", "Hello! What can you do?");
console.log(reply);
// With message history
const reply2 = await rw.run("phind-codellama-34b", [
{ role: "system", content: "You are a helpful assistant." },
{ role: "user", content: "Explain quantum computing simply." },
]);
console.log(reply2);
// Full response with usage info
const res = await rw.chat("phind-codellama-34b", [
{ role: "user", content: "Hello!" },
], { temperature: 0.7, max_tokens: 500 });
console.log(res.choices[0].message.content);
console.log(res.usage);Frequently asked questions
Related Models
View all CodeCodestral
Mistral's code-specialized model. Optimized for code generation, completion, and understanding across 80+ languages.
DeepSeek Coder V2
DeepSeek's specialized coding model. Excellent at code generation, debugging, and explanation.
Granite Code 20B
IBM Granite 20B Code Instruct. Larger Granite code model balancing quality and inference cost for enterprise CI/CD code-review automation.
Granite Code 34B
IBM Granite 34B Code Instruct. Largest Granite code-instruction model. Top-tier among Apache-2.0 code LLMs on HumanEval, MBPP and MultiPL-E.
Start using Phind CodeLlama 34B v2 today
Get started with free credits. No credit card required. Access Phind CodeLlama 34B v2 and 100+ other models through a single API.