AI Model APIs
AI Model APIsProviders
AI Model APIs

The complete platform for comparing AI models. Find pricing, capabilities, and the perfect model for your use case.

contact@aimodelapis.com

Resources

  • AI Models APIs
  • Providers

About

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 AI Model APIs. All rights reserved.

Back to Models
Friendli

Llama 3.1 8B Instruct API

Friendli
About

Process massive datasets with Llama 3.1 8B Instruct, featuring an expansive 131K context window for long-document analysis. This model delivers cost-effective pricing at $0.10/1M input and $0.10/1M output tokens, native tool calling support, open weights architecture. Access Llama 3.1 8B Instruct via the Friendli API with up to 8K output tokens.

Capabilities

Input Modalities

text

Output Modalities

text
Reasoning
No
Structured Output
Yes
Tool Use
Yes
WeightsOpen
Temperature
Adjustable
Attachment
Not Supported
Limits
Context Window
131K

Tokens

Input Limit
131K

Tokens

Max Output
8K

Tokens

Pricing

Standard (per 1M tokens)

Input
$0.10
Output
$0.10
Frequently Asked Questions

Llama 3.1 8B Instruct by Friendli costs $0.10 per 1M input tokens and $0.10 per 1M output tokens.

Model Details
ID
meta-llama/Llama-3.1-8B-Instruct
Provider
Friendli
Family
llama
Release Date
Aug 1, 2024
Knowledge Cutoff
N/A
API Integration
NPM Package
@ai-sdk/openai-compatible
Environment Variables
FRIENDLI_TOKEN
API Base URL
https://api.friendli.ai/serverless/v1
Documentation