LLM Reference

CodeLlama 7B

Released
2023-08-24
Last refreshed
2026-07-09
Status
Researched 102d ago
Open weightsCommercial use: conditionalClassificationJSON / Tool use

CodeLlama 7B 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
7B
Architecture
Decoder Only
Knowledge cutoff
2022-09
Specialization
general
Openness
Open weights
License
Llama 2 CommunityCommercial use: conditional
Weights
Available
Code
Unknown
Training
Fine-tuned
Created by

Large-scale open-source AI for social technologies.

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

Cheapest of 5 routes · Fireworks AI

About

CodeLlama 7B is a specialized code generation model released by Meta on August 24, 2023. With 7 billion parameters, it excels in code completion, infilling, and instruction-following tasks. Built on an optimized transformer architecture, it's designed for both commercial and research applications, particularly in English and various programming languages. The model offers robust capabilities for AI engineers looking to enhance coding workflows or develop code generation applications. More details can be found on the official Hugging Face page .

Top use-case fit

Classification

Included by capability and metadata signals in the decision map.

JSON / Tool use

Included by capability and metadata signals in the decision map.

Provider price ladder

Compare all 5

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

ProviderInput / 1MOutput / 1MRoute
Fireworks AI$0.200$0.200
Provisioned
Together AI$0.200$0.200
Serverless
Replicate API$0.050$0.250
Serverless
Microsoft Foundry$0.520$0.670
Provisioned

Available via routers & gateways(6)

Capabilities

Structured Outputs

Benchmark peer barsfor Classification

No task-mapped benchmark peers are available for this model yet.

Migration checks

No linked migration route is available for this model yet.