Text model API

Llama3.3 70B API

LLaMA 3.3-70B is best for handling complex tasks like following instructions, coding. Its is a powerful open-source language model optimized for high-quality dialogue, coding, and reasoning tasks. With 70 billion parameters and an 8,000-token context window, it excels in generating coherent and contextually rich responses. Fine-tuned using supervised learning and reinforcement learning with human feedback (RLHF), it aligns well with human preferences for helpfulness and safety. Trained on over 15 trillion tokens of publicly available data, LLaMA 3 70B Instruct outperforms many open-source c

Model id
llama3-3-70b
Takes
Text (required)
Makes
Text
Endpoint
POST /api/v1/chat/completions
Made by
Meta
Mode
Synchronous

Call Llama3.3 70B

Base URL https://payload.rentprompts.com/api/v1. Replace the placeholder with your key.

Model llama3-3-70b

POST /api/v1/chat/completions

curl https://payload.rentprompts.com/api/v1/chat/completions \
  -H "Authorization: Bearer rp_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "llama3-3-70b",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about APIs."
    }
  ],
  "max_tokens": 256
}'

Replace rp_live_YOUR_KEY with your key, ideally via the RENTPROMPTS_API_KEY environment variable. Keys are shown only once, so they are never filled in here. Get your API key →

What a typical call costs

Worked out from Llama3.3 70B's published price (0.16 J in · 0.18 J out / 1K tokens). You pay only for successful results, from your Joule balance.
  • 1,000 input + 500 output tokens0.25 Joules
  • 10,000 input + 2,000 output tokens1.96 Joules

Send requests to POST /api/v1/chat/completions. Llama3.3 70B answers synchronously: the result comes back in the response to the same request. Token counts come from the model's own usage report, so a real call may use more or fewer tokens than this example.

Settings

Optional parameters this model accepts (pass them in settings on /v1/run, or as top-level fields where OpenAI defines them).
NameTypeDefaultRange / options
maxtokensinteger10240 – 8192
temperatureinteger10 – 2
Llama3.3 70B API — Pricing & Code Examples | RentPrompts