Meta: Llama-xLAM-2 70B fc-r

llama-xlam-2-70b-fc-r

Llama-xLAM-2 70B fc-r costs $3.25 per million input tokens and $3.25 per million output tokens, supports 128K context, and is available through the OpenAI-compatible API.

’s 70-B frontier model focused on function-calling & retrieval-augmented generation.

Modalities

Text → Text

Input / output price

$3.25 / $3.25 per 1M

Context

128K · max output 16K

Capabilities

Open weights

Pricing

Billed per token actually used and deducted from your credits.

ItemUSD per 1M tokens
Input$3.25
Output$3.25
Cached input$1.63

Calculator

Drag the sliders to estimate what this model will cost.

Per request
$0.0123
Per day
$6.17
Per month (30 days)
$185.25

Llama-xLAM-2 70B fc-r: input $3.25/M · output $3.25/M · cached input $1.625/M

Request with these settings
curl https://api.geniusrelaygpt.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "llama-xlam-2-70b-fc-r", "max_tokens": 800,
       "messages": [{"role": "user", "content": "…"}]}'

Code samples

OpenAI-compatible. Set the base URL to https://api.geniusrelaygpt.com/v1 and the model to llama-xlam-2-70b-fc-r.

curl https://api.geniusrelaygpt.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "llama-xlam-2-70b-fc-r",
    "stream": true,
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Use it in a client: Cursor · Cline · SillyTavern · Codex

Parameters

Common OpenAI parameters can be passed as-is.

temperaturetop_pmax_tokensstreamstoppresence_penaltyfrequency_penaltyseed

FAQ

How is Llama-xLAM-2 70B fc-r billed?
Input is $3.25 and output is $3.25 per million tokens; cached input is $1.63. The charge for every request is listed in Usage Logs in the console.
How long is the context window?
128K tokens. In a long conversation every turn is billed for the full input, so keep the history under control.
Does it support streaming?
Yes. Add "stream": true to the request to receive server-sent events in the OpenAI format.
Llama-xLAM-2 70B fc-r API pricing · GeniusRelay