Haimaker.ai Logo
Meta Llama logo

CodeLlama 34b Instruct hf

meta-llama/codellama-34b-instruct
Chatllama2
Meta Llama|Released Mar 2024 · Updated Mar 2024
Parameters
33.7B
Input Price
$0.50
/1M tokens
Output Price
$0.50
/1M tokens

Overview

Codellama 34B Instruct is a chat model by Meta Llama. It has 33.7B parameters.

Features & Capabilities

Modechat
Function Calling-
Vision-
Reasoning-
Web Search-
Url Context-

Technical Details

ArchitectureLlamaForCausalLM
Model Typellama
Languagescode
Librarytransformers

API Usage

from openai import OpenAI

client = OpenAI(
    base_url="https://api.haimaker.ai/v1",
    api_key="YOUR_API_KEY",
)

response = client.chat.completions.create(
    model="meta-llama/codellama-34b-instruct",
    messages=[
        {"role": "user", "content": "Hello, how are you?"}
    ],
)

print(response.choices[0].message.content)

Use CodeLlama 34b Instruct hf with the haimaker API

OpenAI-compatible endpoint. Start building in minutes.

Get API Access

More from Meta Llama