Meta Llama · LLM API pricing

llama-v2-7b-chat API pricing: cheapest provider

2 providers sell llama-v2-7b-chat. Replicate is cheapest; the most expensive charges 2.0× as much for the same model.

  • Cheapest$0.10per 1M · Replicate
  • Input · output$0.05 / $0.25per 1M tokens
  • Price gap2.0×across 2 providers
  • Context4Kmax tokens
$0.10 Replicate2.0× spread$0.20 Fireworks AI
Already paying for llama-v2-7b-chat? Check if you overpay →

Standard list prices in USD from each provider's pricing page · last price change Sep 28, 2026 · How we collect and rank prices

Ranked for your volume

llama-v2-7b-chat monthly cost by provider

Change the monthly tokens and the ranking updates instantly, using each provider's standard list price.

More requirements: caching, context, features, provider

Share this page URL to keep your scenario. 2 of 2 providers meet these assumptions.

ProviderEstimated / monthInput / 1MOutput / 1MContext
1
ReplicateInference provider - lowest for your volumePricing page
$1.00$0.05$0.254,096
2
Fireworks AIInference providerPricing page
$2.40$0.20$0.204,096

Order depends on listed price for your volume only. No provider pays for its position.

Input volume includes the cached share, not an additional token volume. This is a list-price estimate, not a quote: cache-write charges, cache eligibility/TTL, batch discounts, long-context surcharges, regional pricing and taxes are excluded. Check the provider's terms for your workload before switching.

Price history

The cheapest price has not changed since tracking started on Sep 28, 2026: $0.10 per 1M tokens at Replicate. All price changes

Switch to the cheapest OpenAI-compatible provider

Switch to Fireworks AI

Already using the OpenAI SDK? Change the base URL, key and model name:

from openai import OpenAI
import os

client = OpenAI(
    base_url="https://api.fireworks.ai/inference/v1",
    api_key=os.environ["FIREWORKS_API_KEY"],
)
response = client.chat.completions.create(
    model="accounts/fireworks/models/llama-v2-7b-chat",
    messages=[{"role": "user", "content": "Hello"}],
)
Base URL from Fireworks AI's API docs, model name from the open pricing datasets. Check the model page in Fireworks AI's docs before you switch production traffic.

Compare llama-v2-7b-chat with another model

Or pick any model