Model garden Router · on request Dedicated · on request

CodeLlama 34b Instruct hf

This model runs as a dedicated deployment on large GPUs and isn't in the shared playground by default. Get in touch and we'll set it up for you.

CodeLlama 34b Instruct hf is an open-source language model from Meta with 34B parameters, hosted on EU GPUs via an OpenAI-compatible API.

meta-llama/CodeLlama-34b-Instruct-hf On request
text->text · meta-llama · EU-hosted
34B
Parameters
Context window
160GB
Minimum VRAM
POST /api/v1/chat/completions On request

Specifications

Parameters 34B
Minimum VRAM 160 GB
Architecture LlamaForCausalLM (vLLM)
License llama2
Modality text->text
Released March 2024
Publisher meta-llama ↗

Pricing

Shared router · per token
On request
Not available on the shared router. Pricing on request as a dedicated GPU deployment.
Dedicated GPU · per hour
On request
Dedicated deployment, from 160 GB of VRAM. Billed per GPU-hour.

Shared EU router, pay-per-token, scale-to-zero. Dedicated GPU deployments are billed hourly, see pricing.

Call it now

Drop-in replacement for OpenAI: change only the base URL and API key. The Anthropic format (/v1/messages) is supported too.

curl https://hostyourai.com/api/v1/chat/completions \
  -H "Authorization: Bearer hyai-..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "meta-llama/CodeLlama-34b-Instruct-hf",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Frequently asked questions

Can I run CodeLlama 34b Instruct hf in the EU?

Yes. HostYourAI runs CodeLlama 34b Instruct hf on GPUs in European datacenters via vLLM. Prompts and outputs never leave the EU and there is no US cloud provider in the chain.

Is hosting CodeLlama 34b Instruct hf GDPR-compliant?

Yes. All processing happens inside the EU, a Data Processing Agreement (DPA) is available and the subprocessor list is public. Open-source weights also mean: no training on your data.

How much does CodeLlama 34b Instruct hf cost?

CodeLlama 34b Instruct hf needs several GPUs at once, so it runs as a dedicated deployment billed per GPU-hour rather than per token. Tell us your volume and we will work it out with you.

Is the API OpenAI-compatible?

Yes. You use the standard OpenAI SDKs with a custom base URL (https://hostyourai.com/api/v1). The Anthropic Messages API is supported as a drop-in as well.

More models from Meta

Request access

CodeLlama 34b Instruct hf isn't available by default yet. Leave your details and we'll arrange a dedicated deployment.

Request access