LLM Reference

CodeLlama 34B

Released
2023-08-24
Last refreshed
2026-05-16
Status
Researched 55d ago
Open WeightsCommercial use with conditionsClassificationJSON / Tool use

CodeLlama 34B is worth evaluating for classification and json / tool use when its provider route and context window match the workload.

Use it for

  • Teams evaluating classification and json / tool use
  • Workloads that can use a 100k context window
  • Buyers comparing 4 tracked provider routes

Do not use it for

  • Vision or document-understanding workloads
Specifications
Released
2023-08-24
Context
100k
Parameters
34B
Architecture
Decoder Only
Knowledge cutoff
2024-03
Specialization
general
Openness
Open weights
License
Llama 2 CommunityCommercial use with conditions
Training
finetuned
Created by

Large-scale open-source AI for social technologies.

Menlo Park, California, United States
Founded 2013
Website
Pricing
Output / 1M
$0.450
Input / 1M
$0.200

Cheapest of 6 routes · DeepInfra

About

CodeLlama 34B is a powerful generative text model developed by Meta, specifically tailored for code synthesis and understanding. With 34 billion parameters, it excels in code completion, infilling, and instruction following, particularly for Python programming. The model utilizes an auto-regressive transformer architecture and has been trained on a diverse dataset of programming languages, making it versatile for various coding tasks. Designed for both commercial and research applications, CodeLlama 34B offers AI engineers a robust tool for integrating advanced code generation capabilities into their projects. More details can be found on the model's Hugging Face page .

CodeLlama 34B is an open-weight model in the Code Llama family. The structured metadata tracks a 100k-token context window and structured outputs. This page tracks provider routes through Together AI, DeepInfra, Fireworks AI, and 3 more, with the cheapest tracked route listed at $0.2 input and $0.45 output per 1M tokens. Headline tracked benchmarks include Massive Multitask Language Understanding 68.9.

Top use-case fit

Classification

Q/$ C

1 relevant benchmark in the decision map.

JSON / Tool use

Included by capability and metadata signals in the decision map.

Provider price ladder

Compare all 6

Compare API pricing across 4 providers for input and output tokens, batch, and cached reads when available.

ProviderInput / 1MOutput / 1MRoute
DeepInfra$0.200$0.450
Serverless
Together AI$0.800$0.800
Serverless
Fireworks AI$0.900$0.900
Provisioned
Replicate API$0.200$1.00
Serverless

Available via routers & gateways(6)

Capabilities

Structured Outputs

Benchmark peer barsfor Classification

Benchmark scores(1)

Scores are benchmark-specific and are direction-aware: the same numeric gap can mean very different outcomes across suites. Use the leaderboard context and this model's provider route to decide whether the winning margin is meaningful for your workload.
BenchmarkScoreVersionSource
Massive Multitask Language Understanding68.95-shothttps://huggingface.co/codellama/CodeLlama-34b-hf

Migration checks

No linked migration route is available for this model yet.